WordPress企业主题定制/开发/优化

Multiple content blocks后台多编辑器插件

首页 » wordpress插件 » Multiple content blocks后台多编辑器插件

这个插件,你可以使用超过一个内容“块”,在一个模板。你只需要在模板内插入一个标签,所以它使用方便。

我做了这个插件,因为我认为这是必要的,任何CMS能够使用更多的内容块在一个模板。我真的错过了这次的功能,在评论,我没有找到一个像样的插件,那么我做了一个有钱人。

什么是“多重内容块"?

当你用一个WordPress模板,你可以显示当前页面的内容用代码the_content(),但是当你有几列内容时,你不能分开这些不同的“块”。

你想让你的客户编辑不同块的内容,就用这个插件。

使用与安装:

  1. Extract the contents to the /wp-content/plugins/multiple-content/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Place <?php the_block('blockname'); ?> in your template where you want a content block
  4. Edit this content on the page editing page

给变量:

<?php $content_to_edit = get_the_block('blockname'); ?>

相关项目

  • WordPress外贸企业主题

  • 最近更新

  • 热门标签