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

WP-Blocks

描述

WP-Blocks a simple plugin designed to help you edit discrete bits of template content via the WordPress admin interface. A good example would be your sidebar bio, footer copyright notice or a simple events listing. It’s not intended to be tied in with posts and pages like some other plugins.

Here’s what you need to know:

  • WP-Blocks can be accessed via the Settings menu in the WordPress admin (I may move this in time)
  • The plugin requires PHP5 (apologies to those on PHP4)
  • I have developed and tested this plugin on WordPress Version 3.0 and above
  • It “should” work on earlier versions, as far as I know I haven’t used any brand spanking new API calls
  • Every “block”, whether visible or not will incur a database query so use of a caching plugin is encouraged

安装

This section describes how to install the plugin and get it working.

e.g.

  1. Upload plugin-name.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Create content blocks using the built in editor
  4. Copy the template code from the blocks list page
  5. Paste into the appropriate place in your WP template

评价

此插件暂无评价。

贡献者及开发者

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

贡献者

帮助将「WP-Blocks」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

= 1.4 –
* Corrected two opening PHP tags that weren’t included
* Included ability to put shortcodes into block

1.3

  • Added donate link

1.2

  • JS and CSS only now apply to admin area

1.1

  • Removed a piece of unwanted testing code

1.0

  • First post beta release