Title: Post Blocks
Author: Jeremy Tompkins
Published: <strong>2011 年 9 月 17 日</strong>
Last modified: 2017 年 12 月 29 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/post-blocks/assets/icon-256x256.png?rev=1794175)

# Post Blocks

 作者：[Jeremy Tompkins](https://profiles.wordpress.org/avitar/)

[下载](https://downloads.wordpress.org/plugin/post-blocks.0.0.6.zip)

 * [详情](https://cn.wordpress.org/plugins/post-blocks/#description)
 * [评价](https://cn.wordpress.org/plugins/post-blocks/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/post-blocks/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/post-blocks/#developers)

 [支持](https://wordpress.org/support/plugin/post-blocks/)

## 描述

Post Blocks extends the basic WordPress functionality to enable posts to be listed
anywhere you can put a widget. Limit the number of posts displayed by count or category.
Turn display of future posts on/off from the settings menu.

[Demonstration](http://www.exec-tools.com/post-blocks/examples/)

#### v0.0.6 – 2017-11-17

 * FIX : Fixed future post 404 error when not logged in (removed link to future 
   post article)
 * NEW : Support for PHP 7
 * NEW : Added ability to place posts in page content with [post_blocks] keyword

#### Features

 * Sidebar Widget : Show posts in a block, control the number of posts and how much
   text is displayed
 * Posts In Page Content : Show posts in pages as content blocks

### Credits

Copyright 2017 by Jeremy Tompkins

This program is free software; you can redistribute it and/or modify
 it under the
terms of the GNU General Public License as published by the Free Software Foundation;
either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
 but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License
 along with this
program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth
Floor, Boston, MA 02110-1301 USA

gpl-2.0.txt file included with the plugin.

## 屏幕截图

 * [[
 * Screenshot Widget Display
 * [[
 * Screenshot Widget Options
 * [[
 * Screenshot Settings

## 安装

 1. Install & Activate the plugin

= Sidebar Instructions
 1. Add a sidebar to your template where you want the post
blocks to be 2. Add the widget to that sidebar in the admin menu

= Page Instructions
 1. Add the [post_blocks] string to your page content where 
you want the post blocks to show up

## 常见问题

  Can I turn off future posts?

Yes, from the admin config menu.

  Can I update the CSS?

Yes, from the admin config menu.

  How do I add Post Blocks to my page?

Add a sidebar to your template where you want the post blocks to be.
 Add the Post
Blocks widget to that sidebar.

  Can I disable the CSS?

Yes, from the admin config menu.

  Can I choose a category of posts to display?

Yes, from the widget config menu.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Post Blocks」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Jeremy Tompkins ](https://profiles.wordpress.org/avitar/)

[帮助将「Post Blocks」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/post-blocks)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/post-blocks/)，查看[SVN仓库](https://plugins.svn.wordpress.org/post-blocks/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/post-blocks/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/post-blocks/)。

## 更新日志

#### v0.0.6 – 2017-11-17

 * FIX : Fixed future post 404 error when not logged in (removed link to future 
   post article)
 * NEW : Support for PHP 7
 * NEW : Added ability to place posts in page content with [post_blocks] keyword

#### v0.0.5 – 2011-10-18

 * NEW : Added option to choose a post category in the widget config menu
 * NEW : Added ability to customize the date format to the settings menu
 * NEW : Added ability to turn off date lines in the settings menu

#### v0.0.4 – 2011-09-26

 * NEW : Added option to disable the plugins CSS to the admin menu

#### v0.0.3 – 2011-09-25

 * FIX : Saving the CSS on the config page

#### v0.0.2 – 2011-09-25

 * NEW : Added Admin config menu
 * NEW : Added CSS to admin config menu
 * NEW : Added future posts toggle to admin config menu

#### V0.0.1 – 2011-09-11

 * NEW : Created Post Blocks Plugin

## 额外信息

 *  版本 **0.0.6**
 *  最后更新：**8 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 4.0 或更高版本 **
 *  已测试的最高版本为 **4.9.29**
 *  语言
 * [English (US)](https://wordpress.org/plugins/post-blocks/)
 * 标签
 * [post](https://cn.wordpress.org/plugins/tags/post/)[post blocks](https://cn.wordpress.org/plugins/tags/post-blocks/)
   [widgets](https://cn.wordpress.org/plugins/tags/widgets/)
 *  [高级视图](https://cn.wordpress.org/plugins/post-blocks/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/post-blocks/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/post-blocks/reviews/)

## 贡献者

 *   [ Jeremy Tompkins ](https://profiles.wordpress.org/avitar/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/post-blocks/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=FSUVY53M35HTY)