• I am using the google-maps-for-WordPress plugin with limited success. The map will not show up if the Lightbox 2 plugin is activated. I have tried editing the Lightbox 2 plugin with the following at the top of the lightbox2.php file in the Lightbox 2 plugin:

    if(is_page('14')){// directions page
    
    }
    else{
    
    /* Where our theme reside: */
    $lightbox_2_theme_path = (dirname(__FILE__)."/Themes");

    With the closing bracket for the else statement at the bottom of the file, but that did not work. Any help would be appreciated.

    Also, the Bubble for the map pin is too small for the information inside.

    https://www.ads-software.com/extend/plugins/google-maps-for-wordpress/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter webwisedesign

    (@webwisedesign)

    Google-maps-for-wordpress also seems to interfere with Google Analytics.

    webwisedesign: As for lightbox, I don’t use it but maybe it’s still loading some sort of JavaScript that is interfering with the Google Maps JavaScript?

    As for the bubble, Google sets the size based on the content. However, certain CSS styles on the elements in the bubble will make them bigger than Google expects. Consider removing styles from that content, or at least eliminating margins and padding, and try again. If it solves the problem, add the styles back until you find the one that’s causing the problem.

    I actually have two plugins that I wrote, one for Google Maps, and one for Google Analytics. I use them both on a few sites, and they work fine in conjunction with one another. If you are having problems, could you specify what exactly is happening?

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/****/public_html/art/wp-content/plugins/google-maps-for-wordpress/wp-google-maps.php on line 63

    That’s what I got when I tried to install it ??

    ah ok sorry, I have PHP4 and I just spotted the tiny print that says I need PHP5

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Google Maps for WordPress] google maps Interference with Lightbox 2 plugin’ is closed to new replies.