Shortcode 1:
function blue_table($atts, $content = null) {
return '<div class="blue-table">' . do_shortcode($content) . '</div>';
return '';
}
Shortcode 2:
function example_1($atts, $content = null) {
return '<a class="skinny-popup1 button-example" href="#">example</a>';
}
What I'm typing in editor:
[bluetable]Make sure that your wall posts elicit some form of feedback. Start the conversation, don't just push information.[example1][/bluetable]
Output for [bluetable] shortcode works, however [example] does not.
codeadd_shortcode('bluetable', 'blue_table'); add_shortcode('example1', 'example_1');code– tblm Sep 27 '11 at 20:15