Visual Composer Tabs don’t work on mobile

jQuery( function($) { jQuery(‘.vc_tta-tab a’).on(‘click’, function( e ){ setTimeout( function() { jQuery(‘html, body’).stop().stop(); console.log(‘scrolling stopped’); }, 100 ); }); jQuery(document).ready(function() { jQuery(‘.vc_tta.vc_general .vc_tta-panel-title > a, .vc_tta.vc_general .vc_tta-panel-title > a, .vc_tta-tab a’).off(‘click touchstart touchend’); }); }); This is the code that works.

Shortcode to do math with url variables

In your case, because you call [URLParam] twice, you need to store this data in session, because every call of your shortcode is isolated. If number of params is fixed (param1, param2 and operation, for example) better use it in single shortcode. Actually, there is a lot of variations, how to solve this. You can … Read more

Primary menu shortcode name

You basically have everything set. You simply need to call the shortcode: [shortcodemenu menu=”slug-of-your-menu”] Remember to use the SLUG of the menu you want to show instead of its name.