Topic: Shortcodes not working | WP Masonry Layout

Shortcodes not working

Home Forums Lite Version Shortcodes not working

This topic contains 1 reply, has 2 voices, and was last updated by  Masonry Guy 1 year, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7543 Reply

    sreekanth

    im adding short codes to text widget but they r not displaying

    [wmls name="start" id="1"]
    <?php echo do_shortcode(“[wmls name="start" id="1"]“);?>

    <?php
    echo do_shortcode(‘[wmls name="start" id="1"]‘);
    ?>

    i tried everything but not working

    please help

    #7564 Reply

    Masonry Guy
    Keymaster

    Hi sreekanth,

    By default, text widgets doesn’t accept shortcode. So you need to first enable that. You can enable shortcode in widget area with few code. For details you can check this documentation. http://www.wpstuffs.com/enable-shortcodes-in-wordpress-widget-area/

    Won’t take more than a minute.

    Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Shortcodes not working
Your information: