Custom jQuery code in Elementor page is not working on Mac os. On Windows browser work fine
Custom jQuery code in Elementor page is not working on Mac os. On Windows browser work fine
Custom jQuery code in Elementor page is not working on Mac os. On Windows browser work fine
I see what you’re trying to achieve. You can use ACF’s acf_get_field_group function with the title as a parameter to retrieve the field group and its ID. Try this code: /*============================================================== Create More Details tab ================================================================*/ if (class_exists(‘acf’) && class_exists(‘WooCommerce’)) { add_filter(‘woocommerce_product_tabs’, function($tabs1) { global $post, $product; $tabs1[‘rpl-‘ . sanitize_title(‘More Details’)] = [ ‘title’ => … Read more
Filtering Tabs in a Custom Post Type’s Edit Page
media not opening in a new tab
Trying to Make a Sidebar/Tab on Specific Posts
Adding custom underline for tabs
It seems like a tab is made active by the associative radio input element being checked. Thus, you’d want to select the tab-curriculum-input input element and set it to checked: document.getElementById(‘tab-curriculum-input’).checked = true
Looking at tabs.php in WooCommerce, the id attribute is prefixed with tab-title- and uses the key from the array of tabs. This means if you do $tabs[‘wptricksdk’] = array( … ), the value of the tab’s id attribute would be tab-title-wptricksdk. Mixing numerical keys and string keys in arrays can get messy, but I think … Read more
Access jQuery tabs from primary menu while adding/removing class on tab container elements (accessing diff. tabs/tab content via primary menu items)
woocommerce_sort_product_tabs() expects an array