Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter wwalker

    (@wwalker)

    Just a few more details.

    WP Geo Version 3.3.8
    Wordpress Version 3.9.1
    Theme is from elegantthemes.com

    Thread Starter wwalker

    (@wwalker)

    ?

    Hi!

    In the dashboard under Settings > WP Geo, what’s selected for the “Show Post Map” dropdown box? ( “At top of post” vs. “At bottom of post” vs. “Manually” )

    Can you describe a bit more detail how you’re using wpgeo_map in this case? wpgeo_map isn’t mentioned as a shortcode in the plugin’s readme nor on the plugin’s website, so could this not be a valid shortcode?

    Shortcodes mentioned on the shortcodes documentation page of the WP Geo plugin’s website: wp_geo_map, wpgeo_longitude, wpgeo_latitude, wpgeo_map_link, wpgeo_mashup

    Additional shortcodes mentioned in plugin’s readme.txt file: wpgeo_title, wpgeo_static_map

    Plugin Author Ben Huson

    (@husobj)

    You could try forcing the WP Geo scripts to load on all pages to see if that fixes your issue. Add something like this to your functions PHP file.

    function my_wpgeo_show_maps( $show_maps ) {
       return true;
    }
    add_filter( 'wpgeo_show_maps', 'my_wpgeo_show_maps' );

    The wpgeo_map shortcode is the same as the wp_geo_map shortcode – it has just been renamed to fit with the naming conventions of the other short codes. Thanks for spotting – that needs to be updating in the documentation.

    Thread Starter wwalker

    (@wwalker)

    It load just fine on posts. (as you can see from the link I provided above)

    But I cannot get it to manual load on a page. I need a map with all locations or even those from a particular category – and I cannot get these to load on a “page”.

    Plugin Author Ben Huson

    (@husobj)

    Does your “Show Maps On” WP Geo setting have “Pages” ticked.

    If not, it won’t be loading any of the google map scripts on pages.

    The above code ensures the Google Maps scripts on loaded on all pages, just in case there is a need for a map to be displayed on a page. It’ll be an easy way to check if that is your issue.

    Thread Starter wwalker

    (@wwalker)

    Yes – it is setup to show on posts and pages.
    Here is a link to my settings

    @wwalker, Thank you for sharing the screenshot of the settings page. To try to reproduce the issue, I ticked my settings to be like your screenshot, and then viewed my site, both a page with a map and a post with a map. Unfortunately, this couldn’t reproduce the issue for me.
    In other words, I think those settings should be fine… (those settings by themselves are not the cause of the issue)

    If you have any other plugins activated, what happens if you deactivate all of them? I mean does the symptom persist, or?… (in other words this is a test to see if it is a plugin conflict with another plugin)

    If you change to the default theme for example the Twenty Fourteen theme, what happens? Does the symptom persist, or?… (in other words see if there is a theme conflict between the plugin and your theme)

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘short code map is not showing up’ is closed to new replies.