If you need to create a direct link to open certain tab you should follow this easy guide:
- add Embed Object to the page where Tabs are placed
- paste the code below to Embed Object
- copy link location of tab. You can do that by hovering over a tab and clicking on it with right button of your mouse
- if you follow that URL you will open a page where desired tab is active
<script>
jQuery(document).ready(function(){
jQuery(function () {
var hash = jQuery.trim( window.location.hash );
if (hash) jQuery('.ui-tabs-nav a[href$="'+hash+'"]').trigger('click');
});
}
);
</script>
Thank you so much for this little snippet!