WP Shortcode Shield WordPress Plugin | Codefreex Skip to content
WP Shortcode Shield icon

WordPress plugin

WP Shortcode Shield

Allows posts and pages to easily document WordPress shortcodes without the shortcode being expanded.

By vicchi10+ active installs5.0 out of 5
Active installs
10+
Rating
5.0 / 5
Version
1.1.0
Last updated
Nov 12, 2012
Tested up to
WordPress 3.4.2
Requires
WP 3.4

Health check

Is WP Shortcode Shield safe to rely on?

Our reading of the public WordPress.org data: maintenance, compatibility, ratings and support.

No update in over a year

Last updated on November 12, 2012. It may not be compatible with current WordPress or PHP, and unfixed issues are a security risk.

Not yet tested with the latest WordPress

Tested up to WordPress 3.4.2. It often still works, but check on staging first.

Few ratings so far

Only 1 ratings on WordPress.org, so the average is not yet a reliable signal.

Rank tracker

Where WP Shortcode Shield ranks in WordPress.org search

Its position in WordPress.org plugin search for its tags and name, refreshed weekly so you can see how its visibility changes.

WordPress.org search positions for WP Shortcode Shield
KeywordPositionChangeTrendCurrent #1
documentation
page
post
shortcode
wp shortcode shield

Checked against the top 100 WordPress.org search results.

Overview

What WP Shortcode Shield does

This plugin allows you to refer to a WordPress shortcode within the content of posts and pages without that shortcode being automagically expanded by WordPress. The plugin takes advantage of the fact that the WordPress ShortCode API does not support nested shortcodes to allow this plugin’s shortcode to wrap the shortcode being documented.

The shortcode parser uses a single pass on the post content. This means that if

the $content parameter of a shortcode handler contains another shortcode, it won’t

The plugin supports both the self closing [shortcode] and enclosing [shortcode]content[/shortcode] forms and supports a short form name of the shortcode, [wp_scs] as well as the more verbose [wp_shortcode_shield] form. For the sake of brevity, the remainder of this documentation will use the [wp_scs] short form name.

If using the self-closing form of the shortcode, you need to supply the name of the shortcode you are documenting using the code attribute but without using the enclosing [ and ] characters. This is because when parsing shortcodes, WordPress looks for the first occurrence of the ‘]’ character to terminate the shortcode. As a result of this, usage such as

[wp_scs code="[another-shortcode-name]"]

… WordPress will use the ‘]’ character inside the code attribute to try and terminate the shortcode name, which is not what is desired. Instead, the plugin automagically adds the terminating ‘[‘ and…

Description from the author's listing. Read the full listing on WordPress.org

Screenshots

WP Shortcode Shield in action

Raw Source Code Sample
Raw Source Code Sample
Resultant Content Display
Resultant Content Display

FAQ

WP Shortcode Shield: questions and answers

What is WP Shortcode Shield?

WP Shortcode Shield is a WordPress plugin by vicchi. Allows posts and pages to easily document WordPress shortcodes without the shortcode being expanded.

Is WP Shortcode Shield free?

WP Shortcode Shield is listed in the WordPress.org plugin directory, so the version there is free to download and use. Some authors also sell paid add-ons or a premium edition with more features and support.

How many websites use WP Shortcode Shield?

WordPress.org reports 10+ active installations of WP Shortcode Shield. That figure counts sites running the WordPress.org version and is rounded down by WordPress.org.

Is WP Shortcode Shield still maintained?

WP Shortcode Shield was last updated on November 12, 2012. The current version is 1.1.0. Check the changelog on WordPress.org and test updates on a staging site before applying them to a live site.

What does WP Shortcode Shield require?

WP Shortcode Shield requires WordPress 3.4 or newer. It has been tested up to WordPress 3.4.2.

Can Codefreex set up or customize WP Shortcode Shield?

Yes. Codefreex installs, configures and customizes WordPress plugins including WP Shortcode Shield, fixes conflicts and performance problems, and builds custom features when a plugin does not do exactly what you need. Send your site URL for a free review.

Free expert review

Need WP Shortcode Shield set up, customized or fixed?

Tell us about your site and what you need this plugin to do. A senior WordPress developer replies within one business day with a plan and a quote.

Built this plugin yourself? We help WordPress product teams with development, support load and growth. Talk to us