Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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.

Thanks

share|improve this question
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]); –  Vikas Gautam Sep 19 '13 at 10:45
add comment

1 Answer

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

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

Putting it here so anyone searching here might find it.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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