Is there any way in which i can show custom shortcodes inside the editor panel, I have a bunch that I've created and thought it would be a good idea?

Not found anything online other than tutorials on how to create them - which I already know.


  • 1
    Have you look at wordpress.stackexchange.com/questions/4303/… ?
    – s_ha_dum
    May 10 '13 at 14:31
  • normally how shortcode work first thing is this so create a function and creat its short code by add_shortcode('shortcode','functionname') you can get detail on wordpress codex for this after that you can call the shortcode in this [shortcode] or if you want to call it in template then use do_shortcode([shortcode]); Sep 19 '13 at 10:45

Having stumbled across this (really late), here is the answer as posted on the wordpress forum by MichaelH:

global $shortcode_tags;
echo "<pre>"; print_r($shortcode_tags); echo "</pre>";

Putting it here so anyone searching here might find it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.