syntaxhighlighter
syntaxhighlighter copied to clipboard
Add shortcode parameters meta box to WP compose screen
Functionalized the display of the shortcode parameters and then added a call to display them on the settings page (where they've been) and also as a meta box on the WP compose page for posts and pages.
Thanks but the new functions should be class methods instead of global functions, not to mention print_shortcode_parameters()
is likely to collide with another plugin that defines the same function name. ;)
Anyway, what's the reasoning behind this? Just as a reminder so you don't have to visit the settings page to look up the shortcode parameters? If so, I'm inclined to add it to the "Help" tab at the top of the screen instead of a new meta box. That seems like a more appropriate place for it.