WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Linda Granstad
    Member
    Posted 1 year 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. :)

    http://wordpress.org/extend/plugins/codepeople-post-map/

  2. codepeople
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    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

About this Topic

Tags

No tags yet.