Tips and Tricks HQ Support Portal › Forums › WP Lightbox Ultimate › Lightbox Ultimate will not open Google Maps Page
Tagged: google maps
- This topic has 4 replies, 2 voices, and was last updated 10 years, 8 months ago by Ray.
-
AuthorPosts
-
March 6, 2014 at 7:06 pm #9963RayMember
Site: [http://artfusiongalleries.com]
Subject: Not Linking to External Page when clicking “Take a Virtual Tour” in Widget Box Top-Center Home Page
Recently Google changed the link, and it stopped working.
Previously the Short Code was configured using the extended link as follows and it worked:
[wp_lightbox_display_external_page link=”https://maps.google.com/maps q=&layer=c&sll=25.810237,-80.195513&cid=10682857854879310245&panoid=tcNJdIf
-5qYAAAQIt0RJEw&cbp=13,166.54,,0,0&hl=en-US&gl=US&ie=UTF8&hq=+loc:+&hnear=&t=m&cbll=25.
810289,-80.195484&source=embed&ll=25.806397,-80.195475&spn=0.013522,0.025749&z=16&output=svembed; width=”1140″ height=”665″
source=”http://www.artfusiongalleries.com/home/wp-content/uploads/2013/08/Take-a-Virtual-Tour80.jpg”%5D
The new Short link to the External Page is: [http://goo.gl/maps/8VaYv] which does not work in the Short Code.
That Short Link provides an extended link as follows:
[https://www.google.com/maps/place/Art+Fusion+Galleries/@25.810346, -80.195664,3a,90y,187.04h,87.22t/data=!3m5!1e1!3m3!1su4DWFb3TqGcAAAGuoww3XA!2e0!3e2!4m2!3m1!1s0x0:0x9441229e6a12a1a5?hl=en]
However the following Short Code with the extended link does not work:
[wp_lightbox_display_external_page link=”https://www.google.com/maps/place/Art+Fusion+Galleries/@25.810346, -80.195664,3a,90y,187.04h,87.22t/data=!3m5!1e1!3m3!1su4DWFb3TqGcAAAGuoww3XA!2e0!3e2!4m2!3m1!1s0x0:0x9441229e6a12a1a5?hl=en” width=”1140″ height=”665″ title=”Virtual Tour” source=”http://www.artfusiongalleries.com/home/wp-content/uploads/2013/08/Take-a-Virtual-Tour80.jpg”%5D
However, if I insert my Home Page link into the above Short Code as below, it works and opens the External Page:
[wp_lightbox_display_external_page link=”http://webgoad.com” width=”1140″ height=”665″ title=”Virtual Tour” source=”http://www.artfusiongalleries.com/home/wp-content/uploads/2013/08/Take-a-Virtual-Tour80.jpg”%5D
So it seems it is not an issue of the Plugin, or the Short Code, but that there is something about the Google link that works in the browser, but that is being blocked in the Short Code.
Any suggestions?
March 6, 2014 at 11:16 pm #61357wpCommerceModeratorHi, many renowned sites don’t allow you to open their content in iframe for security reasons. For example: if you enter [http://google.com] or [http://twitter.com] in the shortcode you will see an empty page.
March 7, 2014 at 12:36 am #61358RayMemberIf they provide an Embed Code, how do I insert that into the Short Code?
March 7, 2014 at 3:54 am #61359wpCommerceModeratorIf you want to pop up custom content you will need to use our inline HTML shortcode:
March 7, 2014 at 7:18 pm #61360RayMemberResolved: Google Maps can be embedded with the HTML short code:
[wp_lightbox_display_external_page link=”http://www.example.com/my-test-page” width=”640″ height=”480″ title=”title goes here” source=”http://www.example.com/anchor-image.jpg”%5D
The Embed link option can be found only by clicking on the question mark at the bottom of the New Google Maps, and selecting “Return to old Google Maps”
Then copy the iFrame link, and extract from that only the https// link which is inserted into the Lightbox Ultimate short code. Mine works like this:
[wp_lightbox_display_external_page link=”https://www.google.com/maps?q=Art+Fusion+Galleries,+North+Miami+Avenue,+Miami,+FL&layer=c&sll=25.810237,-80 .195513&cid=10682857854879310245&panoid=u4DWFb3TqGcAAAGuoww3XA& cbp=13,183.68,,0,0&hl=en&ie=UTF8&hq=Art+Fusion+Galleries,+North+Miami+Avenue,+Miami,+FL&hnear=& ll=25.810237,-80.195513&spn=0.006295,0.006295& amp;t=m&cbll=25.810346,-80.195664&source=embed&output=svembed” width=”1140″ height=”665″ title=”Virtual Tour” source=”http://www.artfusiongalleries.com/home/wp-content/uploads/2013/08/Take-a-Virtual-Tour80.jpg”%5D
-
AuthorPosts
- You must be logged in to reply to this topic.