- This topic has 14 replies, 3 voices, and was last updated 4 years, 9 months ago by Support Team.
- January 24, 2018 at 10:40 am #4117
Embedding a map with html doesn’t work, and using the api key method doesn’t allow me to use a custom map (with markers and what not). Is there a way to embed my own map?
For that matter, shortcode doesn’t seem to work in any of the wp travel sections (location pages as well) is this a bug?
ThanksJanuary 24, 2018 at 12:43 pm #4138
Actually, it is not the bug of the plugin.
If you want to embed your own map then you can embed your HTML code in Text field of the description section of the individual trip.
Hope this helps.
Best Regards!!January 25, 2018 at 6:17 am #4169
Thank you kindly.
This is what I did, and while the map shows up in the admin dashboard/ editing window, when browsing the site it does not show.January 25, 2018 at 12:49 pm #4198
When we tested the issue by embedding the map, the map does not show at the front end.
So this issue is noted as the known issue and we are working on this.
We will soon release the update fixing the issue.
Hoping for the co-operation.
Best Regards!!January 26, 2018 at 2:45 am #4231
thanks for your support!January 26, 2018 at 3:28 am #4232
Glad we could help you.
As for the issue, we will resolve it and let you know.
Best Regards!!February 2, 2018 at 3:28 pm #4550
any progress on this bug?February 5, 2018 at 4:22 am #4580
We have already fixed the issue regarding the map embed in the overview sections in the latest version of WP Travel Plugin.
Please update the WP Travel Plugin to the latest available version for the fix to the issue.
If you have any issues/ queries further regarding the plugin. Please feel free to post in your queries here.
Best Regards!!February 6, 2018 at 2:52 pm #4644
Indeed! thank you
I noticed that it works fine in the overview tab, but in another tab (specifically trip includes/excludes tabs) it seems to not load correctly. The exact same embed code loads the map correct in the overview tab, but it doesn’t zoom in correctly on the other tab.
I wonder if you can reproduce that problem?February 7, 2018 at 6:38 am #4657
While we have tested the google maps embed code in the overview, the trip includes and excludes tabs, the rendering of maps was found to be identical on our side.
If you are having trouble with the embed, please provide us the URL of the page that you are having trouble with so that we can look into it further.
Also, if you are using any other google maps plugins on your website, please check by deactivating them and see if it resolves the issue.
Best Regards !!August 3, 2018 at 11:15 am #7640
Do you know if this problem is resolved in the latest version of WP Travel? I seem to still be having issues with embedded maps loading properly in the overview tab (or other tabs for that matter). The maps load just fine in normal post types. In this case it is a map and GPX track combination but the same thing happens with normal embeds of google maps. Below are a few screenshots to show you what is happening. It seems to possibly be some sort of jquery error or conflict. I am not very familiar with jquery though so this may not actually be the issue.
Working in a normal post: [IMG]http://i68.tinypic.com/3308qyu.png[/IMG]
Not working in overview tab: [IMG]http://i68.tinypic.com/vmuno5.png[/IMG]
The plugin is WP GPX Maps and the shortcode in this case was: [sgpx gpx=”/wp-content/uploads/gpx/Sørvagsvatn-180429.gpx”]August 4, 2018 at 9:51 am #7642
Again, this only occurs in the trip tabs and not in normal posts. Is there a way to prevent these <p> tags from being added in tabs?
-DaveAugust 6, 2018 at 9:46 am #7662
The issue related to the tag will be resolved in the coming update.
As for now please go to wp-travel > inc > template-functions.php line no:848 and replace the code from line no 848 to line no 852 with the code given below:
default : ?> <div id="<?php echo esc_attr( $tab_key ); ?>" class="tab-list-content"> <?php echo do_shortcode( wp_kses_post( $tab_info['content'], wp_travel_allowed_html( array( 'a', 'iframe' ) ) ) ) ; ?> </div> <?php break; ?>
Hope this helps.
Also please post your queries creating your own ticket so that it would be easy for us to follow up the replies.
Regards!August 12, 2018 at 11:34 am #7716
Thank you for the response! I did copy that code over and attempted to display the GPX track/map again but had the same issue unfortunately. I’ll wait until the next update and see if that fixes it.
-DaveAugust 13, 2018 at 10:53 am #7738
When we update the plugin fixing the issue for you then it will effect for other users who just wants to paste the text in the tab so the issues precise to your case only.
So we have come up with the solution for you. For this please add below given code in your child theme functions.php file.
add_filter( 'wp_travel_trip_tabs_output_raw', '__return_true' );
Hope this helps.
- The forum ‘WP Travel’ is closed to new topics and replies.