Title: [Plugin: Google Maps for WordPress] google maps Interference with Lightbox 2 plugin
Last modified: August 19, 2016

---

# [Plugin: Google Maps for WordPress] google maps Interference with Lightbox 2 plugin

 *  [webwisedesign](https://wordpress.org/support/users/webwisedesign/)
 * (@webwisedesign)
 * [18 years ago](https://wordpress.org/support/topic/plugin-google-maps-for-wordpress-google-maps-interference-with-lightbox-2-plugin/)
 * 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.
 * [http://wordpress.org/extend/plugins/google-maps-for-wordpress/](http://wordpress.org/extend/plugins/google-maps-for-wordpress/)

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

 *  Thread Starter [webwisedesign](https://wordpress.org/support/users/webwisedesign/)
 * (@webwisedesign)
 * [18 years ago](https://wordpress.org/support/topic/plugin-google-maps-for-wordpress-google-maps-interference-with-lightbox-2-plugin/#post-758772)
 * Google-maps-for-wordpress also seems to interfere with Google Analytics.
 *  [Aaron D. Campbell](https://wordpress.org/support/users/aaroncampbell/)
 * (@aaroncampbell)
 * [18 years ago](https://wordpress.org/support/topic/plugin-google-maps-for-wordpress-google-maps-interference-with-lightbox-2-plugin/#post-758821)
 * 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?
 *  [1stAngel](https://wordpress.org/support/users/1stangel/)
 * (@1stangel)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/plugin-google-maps-for-wordpress-google-maps-interference-with-lightbox-2-plugin/#post-758891)
 * 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 🙁
 *  [1stAngel](https://wordpress.org/support/users/1stangel/)
 * (@1stangel)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/plugin-google-maps-for-wordpress-google-maps-interference-with-lightbox-2-plugin/#post-758892)
 * 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.

## Tags

 * [map](https://wordpress.org/support/topic-tag/map/)

 * 4 replies
 * 3 participants
 * Last reply from: [1stAngel](https://wordpress.org/support/users/1stangel/)
 * Last activity: [17 years, 11 months ago](https://wordpress.org/support/topic/plugin-google-maps-for-wordpress-google-maps-interference-with-lightbox-2-plugin/#post-758892)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
