• Resolved backpages

    (@backpages)


    I’m sorry if this has been asked somewhere before, but I couldn’t find it anywhere. Is there a way to use the shortcode on a page template, rather than on a page or post itself? I need my map to appear somewhere else on the page than when it does when it is pulled in from the content area. Thanks!

    https://ww.wp.xz.cn/plugins/wp-google-maps/

Viewing 1 replies (of 1 total)
  • Plugin Author WPGMaps

    (@wpgmaps)

    Hi there
    Yup you can! Simply do this in the page template file

    <?php do_shortcode("[wpgmza id='1']"); ?>

Viewing 1 replies (of 1 total)

The topic ‘Use Shortcode On Page Template’ is closed to new replies.