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