EDIT summer 2016: the new version of Visual Composer adds this feature automatically.
By default, Visual Composer’s tabs IDs are not editable, and are instead auto-generated with lots of unsemantic characters on them to avoid id duplication on the page.
This is fine, but, eventually, we may want a more user-friendly approach when it comes to bringing links to the user.
Here’s a quick method to get your tab IDs editable in Visual Composer.
I’ve have yet to find some time and create a function to make it upgrade-proof but here’s the quick and dirty…
- Go to js_composer/config/map.php, and open it.
- Search for “Tab ID”
- Change the line that says ‘type’ => ‘tab_id’, for ‘type’ => ‘textfield’,
- Save, close and update the file
You should now find that on the backend the Tab ID field is editable.
Finally, remember to Save and Update the Post. Also change accordingly Menu links if you relied on them to open tabs, as it was our case.
3 people super-liked this.