Title: Shortcode Shortcode
Author: cubecolour
Published: <strong>4. Marta 2014.</strong>
Last modified: 23. Juna 2025.

---

Pretražite dodatke

![](https://ps.w.org/shortcode-shortcode/assets/banner-772x250.png?rev=1485162)

Ovaj dodatak **nije testiran s najnovija 3 glavna izdanja WordPress-a**. Možda se
više ne održava ili se ne podržava i može imati problema sa kompatibilnošću kada
se koristi sa novijim verzijama WordPress-a.

![](https://ps.w.org/shortcode-shortcode/assets/icon-256x256.png?rev=1485162)

# Shortcode Shortcode

 Od [cubecolour](https://profiles.wordpress.org/numeeja/)

[Skini](https://downloads.wordpress.org/plugin/shortcode-shortcode.1.0.0.zip)

 * [Detalji](https://bs.wordpress.org/plugins/shortcode-shortcode/#description)
 * [Recenzije](https://bs.wordpress.org/plugins/shortcode-shortcode/#reviews)
 *  [Instalacija](https://bs.wordpress.org/plugins/shortcode-shortcode/#installation)
 * [Razvoj](https://bs.wordpress.org/plugins/shortcode-shortcode/#developers)

 [Podrška](https://wordpress.org/support/plugin/shortcode-shortcode/)

## Opis

This plugin might be useful to you if you write about WordPress plugins and want
to be able to show examples of shortcodes usage, but without the shortcodes being
processed. The resultant display will be the same whether the plugin or theme providing
the shortcode you are writing about is active or not.

#### The Shortcode Shortcode:

Add a [shortcode] shortcode in the format:

    ```
    [shortcode]gallery[/shortcode]
    ```

This will display on the page as [gallery] instead of actually showing a gallery
of the attached images

## Slike ekrana

[⌊Enter the shortcode shortcode in the text editor, style the shortcode example 
by adding a CSS rule to the child theme (optional). The shortcode shortcode displays
on the frontend with your styling.⌉⌊Enter the shortcode shortcode in the text editor,
style the shortcode example by adding a CSS rule to the child theme (optional). 
The shortcode shortcode displays on the frontend with your styling.⌉[

Enter the shortcode shortcode in the text editor, style the shortcode example by
adding a CSS rule to the child theme (optional). The shortcode shortcode displays
on the frontend with your styling.

## Instalacija

 1. Upload the plugin folder to plugins directory
 2. Aktivirajte plugin koristeći WordPressov meni ‘Plugini’
 3. Use on a page/post/CPT by including the shortcode in your content eg: [shortcode]
    gallery[/shortcode]

## ČPP

### What is the syntax of the shortcode for displaying an example of a shortcode?

If you are writing about the native WordPress [gallery] shortcode and want to describe
how to use the shortcode, you would include this in your text as:
 [shortcode]gallery[/
shortcode]

When the shortcode is displayed on the frontend it is within a span with the ‘shortcode’
class so you can target it in your child theme stylesheet.

### Why would I need this plugin?

You might find this plugin useful if you are documenting or reviewing WordPress 
plugins and need to show the shortcode syntax without the shortcode being processed
by WordPress – which would happen if you have the plugin you are writing about installed
on your site.

If you don't write about WordPress shortcodes on your site you probably won't gain
any benefit from this plugin.

### Couldn't I just use use the html entities to write the shortcode syntax instead of this plugin?

Yes, you could. You can use the html entities &​#91; for the left square bracket
and &​#93; for the right square bracket. However I wouldn't recommend this approach.
If you do this and later switch between the text editor and the visual editor, the
html entities will be replaced with the square brackets characters resulting in 
the shortcodes being processed. I created the plugin after I had this happen on 
one of my own sites.

You could also add zero-width spaces: &​#8203; after the opening square bracket 
and before the closing square bracket to prevent the shortcodes being processed,
however I wouldn't recommend this approach either because people reading your post
might copy & paste your example code directly into their own site, and when they
do, instead of a working shortcode they will get the version with a zero width space
in it, and the shortcode won't work for them. When this occurs the zero width space
character is invisible so it can be difficult to troubleshoot.

### Doesn't WordPress already do this natively with the double bracket syntax?

Yes and if that works for you, you don't need this plugin, you could just escape
the shortcode by enclosing it in additonal square brackets eg: [[gallery]] which
will display as [gallery] the drawback to this is that if you later deactivate the
plugin or theme providing the shortcode, both sets of square brackets will be shown.

### I am using the plugin and it has saved me time and/or hassle; how can I show my appreciation?

You can donate via [my donation page](https://cubecolour.co.uk/wp/)

If you find the plugin useful I would also appreciate a review on the [plugin review page](https://wordpress.org/support/view/plugin-reviews/shortcode-shortcode/)
page.

### Why is it not working for me?

If the plugin isn't working for you, please read all of the documentation again.
If this doesn't help, check the posts on the plugin's forum to see if your issue
has already been covered there. If you still have a problem, please post a question
on the [plugin support forum](https://wordpress.org/support/plugin/shortcode-shortcode/)

If you do have a problem, don't leave a review before posting your problem on the
support forum first.

## Recenzije

![](https://secure.gravatar.com/avatar/bf66c82fc396e01e3b384b8bac1143a6a357f7ace0307749a2d76b49d1b447dd?
s=60&d=retro&r=g)

### 󠀁[Works Perfectly](https://wordpress.org/support/topic/works-perfectly-2547/)󠁿

 [Ron Fredericks](https://profiles.wordpress.org/ronf/) 8. Novembra 2022.

I spent days finding a workaround to document my wpmathpub plugin shortcode examples.
Nothing worked until I found this plugin.

![](https://secure.gravatar.com/avatar/93b6ae386d98b9d1e59d52ab875691bb42f06610203c6e400979a167ae38d5be?
s=60&d=retro&r=g)

### 󠀁[Saved the day. Just works.](https://wordpress.org/support/topic/saved-the-day-just-works/)󠁿

 [davidjmurray](https://profiles.wordpress.org/davidjmurray/) 20. Juna 2020.

As this plugin's documentation states, some shortcodes supplied by themes and/or
plugins do not abide by the double bracket ignore shortcode as stated by the wordpress.
org documentation. So this plugin enabled me to document/blog about some shortcode's
without them being activated. Thanks!

 [ Read all 3 reviews ](https://wordpress.org/support/plugin/shortcode-shortcode/reviews/)

## Saradnici i programeri

“Shortcode Shortcode” is open source software. The following people have contributed
to this plugin.

Doprinositelji

 *   [ cubecolour ](https://profiles.wordpress.org/numeeja/)

[Prevedi “Shortcode Shortcode” na vaš jezik.](https://translate.wordpress.org/projects/wp-plugins/shortcode-shortcode)

### Zainteresirani za razvoj?

[Pregledajte kôd](https://plugins.trac.wordpress.org/browser/shortcode-shortcode/),
pogledajte [SVN spremište](https://plugins.svn.wordpress.org/shortcode-shortcode/)
ili se pretplatite na [dnevnik razvoja](https://plugins.trac.wordpress.org/log/shortcode-shortcode/)
od [RSS](https://plugins.trac.wordpress.org/log/shortcode-shortcode/?limit=100&mode=stop_on_copy&format=rss).

## Zapis promijena

#### 1.0.0

 * Initial Version

## Meta

 *  Version **1.0.0**
 *  Last updated **prije 1 godina**
 *  Active installations **30+**
 *  WordPress version ** 3.5 ili viša **
 *  Tested up to **6.8.8**
 *  Language
 * [English (US)](https://wordpress.org/plugins/shortcode-shortcode/)
 * Tags
 * [documentation](https://bs.wordpress.org/plugins/tags/documentation/)[example](https://bs.wordpress.org/plugins/tags/example/)
   [shortcode](https://bs.wordpress.org/plugins/tags/shortcode/)
 *  [Napredni pogled](https://bs.wordpress.org/plugins/shortcode-shortcode/advanced/)

## Ocjene

 5 out of 5 stars.

 *  [  3 5-star reviews     ](https://wordpress.org/support/plugin/shortcode-shortcode/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/shortcode-shortcode/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/shortcode-shortcode/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/shortcode-shortcode/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/shortcode-shortcode/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/shortcode-shortcode/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/shortcode-shortcode/reviews/)

## Doprinositelji

 *   [ cubecolour ](https://profiles.wordpress.org/numeeja/)

## Podrška

Imate nešto za reći? Trebate pomoć?

 [Pogledaj forum podrške](https://wordpress.org/support/plugin/shortcode-shortcode/)

## Pokloni

Da li bi ste željeli da podržite napredovanje ovog proširenja?

 [ Pokloni ovom proširenju ](https://cubecolour.co.uk/wp)