Closed benlk closed 8 years ago
I really think the meta box should be pretty spare. By default it should show only the checkbox used to prevent ads from being inserted.
Instead of placing docs inline, we should conveniently place, in the meta box, a link to the readme on Github or the appropriate page on RTD. We might even add a filter to said link so that a theme dev can add stuff if they really want to.
Think of it this way -- if there were inline docs for all available shortcodes (or any obfuscated post editor functionality for that matter) the dashboard would be a terrifying, confusing place.
That makes sense, you've convinced me.
Somewhere about here: https://github.com/INN/super-cool-ad-inserter-plugin/blob/master/inc/scaip-metaboxes.php#L19
The plugin should run a
scaip_additional_docs
action so that theme devs can document additional shortcode options in a user-facing way.