WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [tag] replacement? (3 posts)

  1. alofear
    Member
    Posted 4 years ago #

    is there a way to take a [tag] code and hard-code it into the php?

    I tried <?php tag(); ?> but it didn't work

    (trying to use mappress)

  2. alofear
    Member
    Posted 4 years ago #

    just found it!

    http://wordpress.org/support/topic/264078?replies=12

    <?php echo do_shortcode('[mappress]'); ?>

  3. jmh
    Member
    Posted 4 years ago #

    How did you force the page to load the js files for mapppress when calling the shortcode via php?

    I'm having an issue where the map won't load on certain pages because the files aren't loading for some reason and I want to force the load.

Topic Closed

This topic has been closed to new replies.

About this Topic