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″

Feel free to try it HERE

スクリーンショット

  • 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.

FAQ

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%)

評価

Very helpful!

It’s simple and just what I was looking for, without adding any bloated code to my site.

Works great!

This plugin does exactly what it says it will, simply and easily. Thanks so much!

Perfect!

Great plugin. Simple and efficient. Even works on very old versions of WordPress as well as the most recent version.

Best of plugins for expanding text

I tried some other plugins before. This makes this plugin special:

After expanding text the show-more is hidden and the show-less is below the expanded text. Doing little CSS this plugin is easy to style.

Thanks for that. 🙂

17件のレビューをすべて表示

貢献者と開発者

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

最初のリリース。