oik-read-more

描述

Implements the [bw_more] shortcode to progressively reveal content by clicking on “read more” buttons.

  • Type the [bw_more] shortcode into your content at the point from where you want to hide the remaining content.
  • When the content is displayed the shortcode is replaced by a ‘read more’ button.
  • The user reveals the remaining content by clicking on the ‘read more’ button.

Choose the text to be displayed in the button using

[bw_more “my read more text”]

屏幕截图

  • oik-read-more in action
  • result after 'read more' clicked

常见问题

Installation

  1. Upload the contents of the oik-read-more plugin to the `/wp-content/plugins/oik-read-more’ directory
  2. Activate the oik-read-more plugin through the ‘Plugins’ menu in WordPress

Note: You will also need the oik base plugin, version 3.1 or higher.

Is it dependent upon oik?

Yes. It depends on the oik base plugin.

What is the syntax of the [bw_more] shortcode?

[bw_more
read_more=”read more|text – Text for read more button”
class=”|CSS class – CSS class name(s)”]

Note: You do not need to use the read_more= parameter name

How do I style the ‘read more’ button?

Use custom CSS to style the ‘read more’ text.

Further reading

If you want to read more about the oik plugins then please visit the
oik plugin
“the oik plugin – for often included key-information”

评价

此插件暂无评价。

贡献者及开发者

“oik-read-more” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“oik-read-more”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

0.2.6

  • Changed: Support PHP 8.3 #5
  • Fixed: Only respond to oik_add_shortcodes after oik_loaded #6
  • Tested: With WordPress 6.5-RC3 and WordPress Multisite
  • Tested: With PHP 8.3
  • Tested: With PHPUnit 9.6