Forum: Global Maps

This forum is closed for new topics. However, you can still search for a solution in the old topics. For technical support related to the Global Maps premium extension please open a new premium support ticket.

[Resolved]Custom popup template location

Forums Global Maps Custom popup template location

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #50122
    Chris Homan
    Member

    Hi, I created a custom template for the popup in the tab for marker info window but if I put it in child_theme_folder/geo-my-wp/global-maps/posts/popup/ it’s not showing as an option in the dropdown.

    #50125

    HI Chris,
    Please move the custom template folder to
    child_theme/geo-my-wp/posts/info-window-templates/popup

    Let me know if that works.

    Thanks,

    #50135
    Chris Homan
    Member

    Unfortunately no luck either.

    In the file header it gives this instruction which was the first one I tried:
    your-theme's-or-child-theme's-folder/geo-my-wp/global-maps/posts/popup/

    #50138

    My bad,
    your-theme's-or-child-theme's-folder/geo-my-wp/global-maps/posts/popup/
    is the correct folder.

    However, you didn’t create the custom template properly; A custom template needs to be a folder, named as you wish. Within that folder, you should have a “content.php” file that will have the PHP content of your tempalte and a CSS folder with a style.css file in it for the template CSS.

    Basically, the structure of your custom template should be the same structure of the original template ( which you can see in the plugin’s folder ). But with a different folder name if you’d like and your custom PHP and CSS.

    I hope that makes sense.

    #50152
    Chris Homan
    Member

    Makes perfect sense and is working great now

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.