這個外掛並未在最新的 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%)

使用者評論

2024 年 2 月 16 日
Finally a simple plugin that works well with the Astra theme. Nothing complicated. Just install and apply the shortcode to the page. Thanks a lot!
2023 年 6 月 4 日
I have tried almost every read more plugin and this one is not only free but also works great. Like others have said the sample codes provided by the author used non-English U+201C/D quotation mark, not English U+0022 quotation, but this is a small problem you just need to replace them.
2023 年 5 月 30 日
Simple and easy, although as others have said, you do have to replace the “” in Wordpress even if you do a copy without formatting. But it’s so easy and good looking right out of the box that it deserves 5 stars. So happy to have found it.
2022 年 9 月 14 日
Tried a few of these plugins and could get these to work? Maybe JS conflicts or caching plugins? Anyway, this one works out of the box! The shortcode took a bit of figuring out – if you copy it from the page and paste it beware the “” don’t work and you end up with only read and not read more. Simply removing and re-typing the “” fixed this and it works like a charm!
閱讀全部 28 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈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.