This topic contains 1 reply, has 2 voices, and was last updated by Alex Alex 3 years, 5 months ago.

do_shortcode doesn’t work

  • Hi,
    I try to add a map width :
    <?php echo do_shortcode(‘[SUPER-INTERACTIVE-MAP ID=1]’); ?>

    And I have only the text : [SUPER-INTERACTIVE-MAP ID=1], and no map !!

    Example : http://dev.worldcoalition.org/fr/pays/etats-unis/, right column.

    Even in editor, text mode, I have the text, not map.

    An idea ?

    Thanks,
    Julien

    Alex
    StaffUser Level

    Hi there,

    Thank you for you inquiry and providing the details, you can use below PHP code instead

    < ?php if (function_exists('sim_wp_template')) {print sim_wp_template('[SUPER-INTERACTIVE-MAP ID=13]');} ?>

    * Put your respective map ID

    Cheers,
    Alex

Tagged: 

The topic ‘do_shortcode doesn’t work’ is closed to new replies.