How to show the single detail map shortcode or single detail views graphic in ultimate addons or visual composer custom tabs or accordeon shortcodes

Home » Technical how to » How to show the single detail map shortcode or single detail views graphic in ultimate addons or visual composer custom tabs or accordeon shortcodes
Technical how to No Comments
The plugins require to sync the section ID for js elements (map, property views) with the code js. For that, you must do the next changes if you will be using the single detail section shortcode for map and property views
map
From the edit shortcode – edit section copy the section ID
section-id
You must copy the section id in JS file.
Go to wpresidence/js/control.js
For the property views single element used in a tab or accordeon from visual composer / ultimate addons do this:
line 249 and add after .tabs_stats cu # in front –
tabs
For the property map single element shortcode used in a tab or accordeon from visual composer / ultimate addons do this:

Same js file, but  the line with shtabmap, add the id with # in front, like this

tab