How to Show and Hide Text in WordPress Posts with the Toggle Effect

Sometimes you want to partially hide content on your site that would normally clutter the look of your site. The usual way to assist with this would be to use the toggle effect to hide the content behind a link. In this video, we will show you how to show and hide text in WordPress posts with the toggle effect.

If you liked this video, then please Like and consider subscribing to our channel for more WordPress videos.

Text version of this tutorial:
http://www.wpbeginner.com/plugins/how-to-show-and-hide-text-in-wordpress-posts-with-the-toggle-effect/

Follow us on Twitter:

Checkout our website for more WordPress Tutorials
http://www.wpbeginner.com/

Summary of this Tutorial:

Start by installing and activating the WP ShowHide plugin.

The plugin mainly uses shortcode to show and hide the text.

To hide the text in a post simply use the following shortcode:

[showhide type="post"]Text you want to hide[/showhide]

Changing the more and less links would require modifying the opening shortcode to the following:

[showhide type="post" more_text="Show more…" less_text="Show less…"]

You can even modify the look for individual posts. The following is the default parameters for the shortcode.

[showhide type="pressrelease" more_text="Show Press Release (%s More Words)" less_text="Hide Press Release (%s Less Words)" hidden="yes"]

Related Links:

WP ShowHide

http://wordpress.org/extend/plugins/wp-showhide/

Shares
|ShareTweet

Leave a Reply

Your email address will not be published. Required fields are marked *


*