Google Maps CP
[resolved] How to display the map? (2 posts)

  1. Linda Granstad
    Posted 3 years ago #

    Q: How to insert a map into a template?
    A: Load the template in which you want to place the map in the text editor of your choice and place the following code in the position where you want to display the map:


    How do I display the map in a page? The FAQ says nothing. :)


  2. codepeople
    Plugin Author

    Posted 3 years ago #


    The themes in WordPress are formed by different template files. The templates used depend of the website's sections ( more information about the templates hierarchy in the following link: http://codex.wordpress.org/Template_Hierarchy )

    If you want to display the Post Map in the homepage, for example, you must insert the map code in the home.php file (or index.php file in its absence).

    Selected the template where the map will be set, open the corresponding file in the text editor of your choice and paste the following code to display the map:

    <? php echo do_shortcode ('[post-map CodePeople]');?>

    Note: The previous code should be pasted in the position where the map be displayed.

    That's all.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google Maps CP
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.