這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

WP show more

描述

This plugin hides the text that is defined between the simple Shortcode. By clicking on the user-defined link, the hidden text becomes visible. It works via a Shortcode and can be placed everywhere!

Usage: [show_more more=”TEXT” less=”TEXT”] Content [/show_more]

You can use some parameters like:
– more=”show more”
– less=”show more”
– color=”#0066CC”
– list=”»”
– align=”left” | “center” | “right”
– size=”120″

螢幕截圖

  • show more deactivated
  • show more activated (after click)

安裝

All you have to do is upload the plugin within your WordPress Plugins menu and activate it.
Then, you can add the shortcode everywhere you want (pages, posts, widgets etc):

[show_more more=”show more” less=”show less”] Your hidden Content [/show_more]

Of course, you can customize the text “show more”.
In case that you have any support inquiries, feel free to contact me.

常見問題

Does the plugin works with any version of WordPress?

Yes it does.

How can I change the Link color?

You can define the color with the attribute [color=“#ffcc00”] in the shortcode.

How to make it center?

Please use the parameter [align=“center”] in the shortcode.

Can I put a specific character in front of the link?

Yes you can. Define the character with the attribute [list=“-”] in the shortcode.

How can I change the link text?

Define the «read more» and «read less» text with the attribute [more=“your text”] and [less=“your text”] in the shortcode.

Which attributes are possible?

  • more=”show more”
  • less=”show less”
  • color=”#0066CC”
  • list=”»”
  • align=”left” | “center” | “right”
  • size=”120″

Is it possible to include other shortcodes as part of the content?

Yes, since the version 1.0.7 it’s possible (A special thanks to Ben Kirkland)

How can I change the Font Size?

Set the parameter [size=“120”] (for example 120 = 120%)

評價

2022年6月4日
Thank you! I tried 5 other plugins (before trying this one) and without exception, they varied from frustrating to totally useless. This one does exactly as it promises, nothing more and more importantly, nothing less. One nugget of advice. At first, I couldn't get the font colour to change but finally sorted it by changing the word "color" in the default shortcode to the Brit version "colour", with a "u". Not sure if this is down to my settings (I'm a Brit) but now it works a treat. Thanks again and highly recommended.
2021年2月3日
Simple free plugin - works perfectly. Vielen Dank!
2018年10月29日
It's simple and just what I was looking for, without adding any bloated code to my site.
2018年8月11日
This plugin does exactly what it says it will, simply and easily. Thanks so much!
閱讀全部21個評價

貢獻者及開發者

“WP show more” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 WP show more 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0.7

Allows shortcodes to be used within the hidden content.

1.0.6

New parameter «size» to change the Font Size in (%)

1.0.5

Add new parameter «align» to set the link as «left», «center» or «right»

1.0.4

  • Fix the message «headers already sent»
  • Add the JavaScript code to the footer

1.0.3

New functions, which allows you to use the shortcodes “more” and “less”

1.0.2

The Shortcode with a new attribute [list=“-“] extended

1.0.1

The Shortcode with a new attribute [color=“#0066cc“] extended

1.0

Initial release.