WordPress.org

Ready to get started?Download WordPress

Forums

Comprehensive Google Map Plugin
How to put the code directly in php instead use short code! (3 posts)

  1. nelson lopes
    Member
    Posted 1 year ago #

    Hi , I`m new in wordpress.

    That plugin is amazing , it is exactly what I was looking for...

    I just need some help.

    I need to use directly in php code instead use just the shorcode in my page.

    How Can I do that?
    Thanks again.

    http://wordpress.org/extend/plugins/comprehensive-google-map-plugin/

  2. nelson lopes
    Member
    Posted 1 year ago #

    I found the answer !
    you just have to use do_shortcode( ...) .

  3. qzha017
    Member
    Posted 1 year ago #

    Hi Nelson can you please explain abit more?

    So I would place the code:

    <?php do_shortcode(short code here?);?>

    in my say home.php file where I want the map to be?
    I have tried that and it made my site go blank.

    thanks
    alex

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic