shortcode inside another shortcode

I usually apply the_content filters to $content to do this. I think you can aslo use do_shortcode($content);

// Column ShortCode Description
function column_scdescription($atts, $content="null") {
    return '<div class="description">' .apply_filters('the_content', $content) . '</div> <!-- description ends here -->';
}
add_shortcode ("product-description", "column_scdescription");

Read up on Nested Shortcodes in the codex.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)