PageForge 1.3: check every run before it writes, update generated pages, spintax and resumable batches. See what changed
Account Get it free
WP-ShowHide icon
Maintained Tested up to 7.0.9 #11 in hide

WP-ShowHide

Allows you to embed content within your blog post via WordPress ShortCode API and toggling the visibility of the content via a button.

Active installs9K+5K+ tier
Downloads · 30d1.4K• -0.5% vs prev. 30d
Rating4.2/543 reviews
Health score74/100Good
All-time downloads155.9KSince Apr 2011
Support resolved1 / 1100% in last 2 months
RequiresWP 6.8PHP 8.2+
Downloads · 7d360▲ +5.9% week over week
Our verdict

Solid choice

WP-ShowHide is a solid plugin choice in 2026, with a few things worth checking first. It runs on 9K+ sites, is rated 4.2/5 and was last updated 4 months ago, and scores 74/100 on our health check.

  • Needs PHP 8.2 or newer

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

285684Aug 30Oct 13Nov 27
Yesterday51
Daily average (1y)58
Peak day1,731Jul 26, 2026
Last 12 months21.2K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where WP-ShowHide stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
hide >100 10,000 Best hide plugins →
press release #3 2,623 Best press release plugins →
show #23 10,000 Best show plugins →
toggle #13 7,031 Best toggle plugins →
visibility #52 5,888 Best visibility plugins →

Version adoption

Share of active sites per release.

  • 3.036.0%
  • 1.0421.7%
  • 1.0519.1%
  • 1.0614.4%
  • 2.07.9%
  • Other1.0%

Rating breakdown

★★★★★★★★★★ 4.2 from 43 reviews

  • 5★69.8%
  • 4★9.3%
  • 3★0.00%
  • 2★9.3%
  • 1★11.6%

About WP-ShowHide

From the official readme · v3.0.0

Description

WP-ShowHide hides part of a post behind a button, so something long — a press release, a changelog, a spoiler — does not fill the page until a reader asks for it. The button says how many words it is hiding, which is what Engadget does with their press releases. Example usage: [showhide type="pressrelease"]Press Release goes in here.[/showhide]

There is nothing to configure and no settings screen. Every choice the plugin offers is an attribute of the shortcode that makes it, so two toggles in the same post can behave differently.

Features

  • One shortcode, [showhide], usable any number of times in a post or page
  • A Show/Hide block for the block editor, holding the content it hides as ordinary blocks and rendering exactly what the shortcode renders
  • A button rather than a link, with aria-expanded and aria-controls, so the toggle works from the keyboard and reads correctly to a screen reader
  • Labels that count the words they are hiding
  • No jQuery, and no script at all on a page that uses neither the shortcode nor the block
  • Custom DOM events on every toggle, for themes that want to react to one

Donations

I spent most of my free time creating, updating, maintaining and supporting these plugins, if you really love my plugins and could spare me a couple of bucks, I will really appreciate it. If not feel free to use it without any obligations.

Usage

  1. By default, content within the showhide shortcode will be hidden.
  2. Example: [showhide]Press release content goes in here.[/showhide]
  3. Default Values: [showhide type="pressrelease" more_text="Show Press Release (%s More Words)" less_text="Hide Press Release (%s Less Words)" hidden="yes"]

  4. You can have multiple showhide content within a post or a page, just by having a new type.

  5. Example: [showhide type="links" more_text="Show Links (%s More Words)" less_text="Hide Links (%s Less Words)"]Links will go in here.[/showhide]

  6. If you want to set the default visibility to display.

  7. Example: [showhide hidden="no"]Press release content goes in here.[/showhide]

Block editor

There is a Show/Hide block too, filed under Text in the inserter. It holds the content it hides as ordinary blocks — paragraphs, images, anything — so that content is written and edited in place instead of being typed into a field as markup, and it stays visible while you are editing. The Show/Hide panel in the sidebar carries the same four choices the shortcode attributes carry: the type, the two button labels, and whether it starts hidden.

The shortcode is unchanged and still supported. It is not deprecated, posts that use it need no editing, the block and the shortcode render the same markup, and one post can hold both.

  1. You can style the content via CSS that is generated by the plugin. Here is a sample of the generated HTML. Note that pressrelease is the default type.
<div id="pressrelease-link-1" class="wp-showhide sh-link pressrelease-link sh-hide">
  <button type="button" class="sh-toggle" aria-expanded="false" aria-controls="pressrelease-content-1"
          data-sh-more="Show Press Release (4 More Words)"
          data-sh-less="Hide Press Release (4 Less Words)">Show Press Release (4 More Words)</button>
</div>
<div id="pressrelease-content-1" class="wp-showhide sh-content pressrelease-content sh-hide" hidden>Content</div>
  1. With the example above, here are the following styles you can use in your CSS:
.sh-link { }  
.sh-toggle { }  
.sh-content { }  
.pressrelease-link { }  
.pressrelease-link.sh-hide .sh-toggle { }  
.pressrelease-link.sh-show .sh-toggle { }  
.pressrelease-content { }  
.pressrelease-content.sh-hide { }  
.pressrelease-content.sh-show { }
  1. Every toggle fires three events on the .sh-link element, and all three bubble, so one listener on the document covers every toggle on the page: sh-link:more when a toggle opens, sh-link:less when it closes, and sh-link:toggle on both.

Installation

  1. Install and activate the plugin.
  2. Wrap the content you want hidden in [showhide] and [/showhide], or add the Show/Hide block in the editor and put the content inside it.

There is nothing to configure and no settings screen. Every choice the plugin offers is an attribute of the shortcode or a control in the block’s sidebar, so two toggles in the same post can behave differently.

Changelog

Requires WordPress 6.8 and PHP 8.2. Posts need no editing: the [showhide] shortcode, all four of its attributes, the IDs and classes it renders and the three sh-link:* events are unchanged. Check your theme for the plugin's old global functions. showhide_scripts(), showhide_js() and showhide_shortcode() are removed, so a theme calling one will fatal. They were never meant to be called; the plugin registers its own shortcode and its own assets. If you were unhooking showhide_scripts to suppress the stylesheet, that no longer removes anything — dequeue the style instead: add_action( 'wp_enqueue_scripts', function () { wp_dequeue_style( 'wp-showhide' ); }, 20 ); The two classes are renamed. ShowHide is now WP_ShowHide and ShowHide_Template is now WP_ShowHide_Template. Neither is needed in normal use. The script and the stylesheet are files now, not inline blocks, served from the plugin's own js/ and css/ directories, so a caching or minifying plugin will see them for the first time. Let it rebuild after you update. The plugin now stores one row, wp_showhide_version, and deletes it on uninstall. There is still no settings screen and nothing to configure.

3.0.0

  • BREAKING: Requires WordPress 6.8 and PHP 8.2, up from 6.0 and 7.4.
  • BREAKING: Removed the showhide_scripts(), showhide_js() and showhide_shortcode() global functions. They were internals; the plugin registers its own shortcode and assets.
  • BREAKING: The ShowHide and ShowHide_Template classes are now WP_ShowHide and WP_ShowHide_Template.
  • NEW: Added a Show/Hide block for the block editor, which holds the content it hides as ordinary blocks. The [showhide] shortcode is unchanged and still supported — it is not deprecated, posts using it need no editing, and the two render the same markup.
  • NEW: Restructured into includes/, behind the WP_ShowHide, WP_ShowHide_Template and WP_ShowHide_Options classes.
  • NEW: Added the wp_showhide_version row, and an uninstall.php that deletes it on a single site and across a network.
  • NEW: The toggle script and the stylesheet are now files, js/wp-showhide.js and css/wp-showhide.css, so a browser caches them once instead of reading them inline on every page.
  • NEW: Added a PHPUnit and vitest test suite, and GitHub Actions CI.
  • CHANGED: Both elements the shortcode renders now carry a wp-showhide class alongside the classes they have always had. Nothing was renamed or removed, so existing theme CSS is unaffected.
  • FIXED: hidden="No" left the content collapsed instead of expanding it. The attribute is matched case insensitively now, so any spelling of no works.
  • FIXED: Requesting wp-showhide.php directly ran it outside WordPress instead of exiting.

Full changelog on WordPress.org →

Screenshots

Four toggles on one page, three of them closed: the default, one that starts open, and two more whose ids do not collide
Four toggles on one page, three of them closed: the default, one that starts open, and…
The same page with a toggle opened
The same page with a toggle opened
The Show/Hide block in the editor, holding the content it hides as ordinary blocks so it stays editable, with the sidebar carrying the same choices the shortcode attributes carry
The Show/Hide block in the editor, holding the content it hides as ordinary blocks so it…

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best WP-ShowHide alternatives

All hide plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Email Encoder – Protect Email Addresses and Phone Numbers Email Encoder – Protect Email Addresses and Phone Numbers Protect email addresses and phone numbers on your site and hide them from spambots. Easy to… by Online Optimisation 90K+ ★★★★★★★★★★ 4.9 (94) 5 days ago 81
2 If Menu – Visibility control for Menus If Menu – Visibility control for Menus Display tailored menu items to each visitor with visibility rules by Andrei 50K+ ★★★★★★★★★★ 4.1 (130) 2 years ago 47
3 WP Hide & Security Enhancer WP Hide & Security Enhancer Protect your website by concealing vulnerable WordPress traces, plugins, themes… by nsp-code 50K+ ★★★★★★★★★★ 4.3 (275) 2 weeks ago 92
4 Dynamic Visibility for Elementor Dynamic Visibility for Elementor Show or hide Elementor widgets, containers, columns, and pages based on user role, date… by Dynamic.ooo 40K+ ★★★★★★★★★★ 4.6 (89) 1 month ago 74
5 Hide/Remove Metadata Hide/Remove Metadata Hide/Remove Metadata is a free WordPress plugin that helps you hide author and published… by Catch Plugins 20K+ ★★★★★★★★★★ 3.6 (14) 6 months ago 58
6 Hide Posts Hide Posts Hide posts or WooCommerce products from the homepage, archives, search, RSS, REST API… by MartinCV 20K+ ★★★★★★★★★★ 4.7 (22) 4 weeks ago 78
7 Hide Shipping Method For WooCommerce Hide Shipping Method For WooCommerce Allows store owners to hide shipping methods based on specific conditions! by Dotstore 10K+ ★★★★★★★★★★ 4 (25) 1 month ago 89
8 Hide Featured Image Hide Featured Image To Hide Featured Image on single post/page. by shahpranaf 10K+ ★★★★★★★★★★ 3.6 (81) 9 years ago 40
9 Hide Categories and Products for Woocommerce Hide Categories and Products for Woocommerce Hide Categories and Products for Woocommerce. This plugins requires WooCommerce to be… by NOUS Open Usefull & Simple 10K+ ★★★★★★★★★★ 4.1 (29) 2 months ago 71
10 Disable Media Pages Disable Media Pages Completely remove "attachment" pages for WordPress media. Improve SEO and prevent conflicts… by joppuyo 9K+ ★★★★★★★★★★ 5 (17) 2 months ago 80

FAQ

WP-ShowHide: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is WP-ShowHide free?

Yes. WP-ShowHide is free to download and use from the official WordPress.org plugin directory.

Is WP-ShowHide safe to use in 2026?

WP-ShowHide is a solid plugin choice in 2026, with a few things worth checking first. It runs on 9K+ sites, is rated 4.2/5 and was last updated 4 months ago, and scores 74/100 on our health check.

How many websites use WP-ShowHide?

WP-ShowHide is active on 9K+ WordPress websites and has been downloaded 155,923 times since it launched in April 2011. It was downloaded 1,434 times in the last 30 days.

Does WP-ShowHide work with WordPress 7.1?

WP-ShowHide is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does WP-ShowHide need?

WP-ShowHide requires PHP 8.2 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was WP-ShowHide last updated?

The latest version, 3.0.0, was released on August 9, 2026 (4 months ago).

Who makes WP-ShowHide?

WP-ShowHide is developed and maintained by Lester Chan.

What are the best alternatives to WP-ShowHide?

The most popular alternatives to WP-ShowHide are Email Encoder (90K+ installs), If Menu (50K+ installs) and WP Hide & Security Enhancer (50K+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open