Linux 软件免费装
Banner图

Reusable Text Blocks

开发者 halgatewood
ghuger
richardgabriel
更新时间 2021年3月31日 02:31
捐献地址: 去捐款
PHP版本: 3.5 及以上
WordPress版本: 5.1
版权: GPLv2 or later
版权网址: 版权信息

标签

widget shortcode content block reusable content text blocks content blocks dry reusable text

下载

1.0 1.1 1.2 1.4 1.4.1 1.4.10 1.4.2 1.4.3 1.4.4 1.4.6 1.4.7 1.4.8 1.4.9 1.5.1 1.5.2 1.5.3 1.3 1.5

详情介绍:

This plugin creates a new 'text-blocks' custom post type with it's own section in the WordPress admin sidebar. It uses the standard WordPress user interface so you and your clients will know how to use it instantly.
New in Version 1.5: Variables! You can add {{player}} to your text block content and then pass in 'player' to the shortcode: [text-blocks id="1" player="Hal Gatewood"]
You can add it to your site in three ways: 1. Widget The included widget allows you to specify which block you want to insert. You can also include a title if needed. 2. Widget [text-blocks id="1"] or [text-blocks id="text_block_slug"] 3. PHP Function A PHP function has been setup so you do not have to use the do_shortcode function. <?php if(function_exists('show_text_block')) { echo show_text_block(421); } ?> <?php if(function_exists('show_text_block')) { echo show_text_block('slug'); } ?>

安装:

  1. Add plugin to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Create text blocks and include them in your site using one of the 3 methods below
You can add it to your site in three ways: 1. Widget The included widget allows you to specify which block you want to insert. You can also include a title if needed. 2. Widget [text-blocks id="1"] or [text-blocks id="text_block_slug"] 3. PHP Function A PHP function has been setup so you do not have to use the do_shortcode function. <?php if(function_exists('show_text_block')) { echo show_text_block(421); } ?> <?php if(function_exists('show_text_block')) { echo show_text_block('slug'); } ?>

屏幕截图:

  • Text Blocks list view, with quick view of content and shortcode.
  • Uses standard WordPress functionality. No surprises, you already know how to use it.
  • Widget included
  • New in 1.4.6: Media Button
  • Create custom templates

更新日志:

1.5.2 1.5.1 1.5 1.4.10 1.4.9 1.4.8 1.4.7 1.4.6 1.4.5 1.4.4 1.4.3 1.4.2 1.4.1 1.4 1.3 1.2 1.1 1.0