Forum Replies Created

Viewing 5 replies - 16 through 20 (of 20 total)
  • I have also just installed the plug in and discovered the same thing happening. I don;t know if this is due to the plug-i, but it would be interesting to hear what you discovered when you looked into it before, thanks

    Patch

    Thread Starter Pat Harvey

    (@patchh)

    excellent Ben, I’ll look out for that in the next upgrade of wp_geo

    Thread Starter Pat Harvey

    (@patchh)

    Hi, it would be great for me if you could add this feature – as you say it would make upgrades simpler.

    My problem was:

    I have a couple of custom page types, and on one of those pages I use the wp-geo map.
    On the other pages I have another google map, but something in the wp-geo code that was present in the page header seemed to prevent the other map from showing.

    My solution was to prevent the wp-geo being included on the other pages. To do this I added a variable to the header of the template used to show the particular custom page type (eg $my_customPage) and gave it a value.

    I then modified a function within the includes/wp-geo.php file and checked for this variable (and now checked to see if it is an admin page too!) and put this around the contents of the function.

    function includeGoogleMapsJavaScriptAPI() {
         if(($my_customPage == 'noGeoMap')||(is_admin())){

    And this fixed the problem for me.

    I guess an option in the admin section to “include wp-geo in all pages/selected custom pages/posts/categories” etc would work for me. But not sure how easy that would be to implement at your end.

    Thanks for expressing the interest though,

    All the best

    Patch

    Thread Starter Pat Harvey

    (@patchh)

    Hi Ben, thanks for the quick response. You hit the nail on the head regarding not loading the Javascript. That was my mistake.
    I only need the map on a particular custom page type, and it was conflicting with another map that was on the other pages – so I had made an edit to the wp-geo/includes/wp-geo.php

    It hadn’t occurred to me that this would have an effect on the admin pages too.

    Sorry to have wasted your time!

    All the best

    Patch

    Sorry if I’m being a bit daft, but when you say you can create as many sliders as you like, how are you doing that?

    In my admin panel I just have one entry for Easing Slider (below the settings). And when I click on it I can change the settings for that slider.

    Patch

Viewing 5 replies - 16 through 20 (of 20 total)