Forums

Multiple content blocks
Unable to Use Shortcodes In MCB (2 posts)

  1. rickahontas
    Member
    Posted 1 year ago #

    I'm trying to use the Portfolio Slideshow Pro shortcode in a MCB and I'm unable to just enter the text as plain HTML. If I click Save, it ignores any of my changes and resorts to the WYSIWIG content it had before the save.

    Is there any way to use shortcodes with this plug-in?

    Thanks

  2. reimund
    Member
    Posted 1 year ago #

    Just edit multiple_content.php to send the $content through the do_shortcode function. Ie add the following line to the the_block and get_the_block functions:

    $content = do_shortcode($content);

    Cheers
    Reimund Trost

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic