| Server IP : 62.60.133.156 / Your IP : 216.73.217.51 Web Server : LiteSpeed System : Linux linux24.centraldnserver.com 4.18.0-553.141.2.lve.el8.x86_64 #1 SMP Wed Jul 8 16:10:02 UTC 2026 x86_64 User : mimradmin ( 1166) PHP Version : 7.4.33 Disable Function : show_source, system, shell_exec, passthru, exec, popen, proc_open MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/mimradmin/.trash/wp-content.1/themes/woodmart/js/scripts/wc/ |
Upload File : |
!function(o){woodmartThemeModule.$document.on("wdBackHistory wdShopPageInit",function(){woodmartThemeModule.categoriesAccordion()}),woodmartThemeModule.categoriesAccordion=function(){var e;"no"!==woodmart_settings.categories_toggle&&(e=o(".widget_product_categories, .wd-product-category-filter").find(".product-categories"),e.find(".wd-active-parent").each(function(){var e=o(this);0<e.find(" > .wd-cats-toggle").length||0!==e.find(" > .children").length&&0!==e.find(" > .children > *").length&&(e.hasClass("wd-active")||e.hasClass("wd-current-active-parent")?(e.children().eq(0).after('<div class="wd-cats-toggle toggle-active wd-role-btn" tabindex="0"></div>'),e.find("> .children").addClass("list-shown")):e.children().eq(0).after('<div class="wd-cats-toggle wd-role-btn" tabindex="0"></div>'))}),e.on("click",".wd-cats-toggle",function(){var e=o(this),t=e.parent().find("> .children");t.hasClass("list-shown")?(e.removeClass("toggle-active"),t.stop().slideUp(300).removeClass("list-shown")):(t.parent().parent().find("> li > .list-shown").slideUp().removeClass("list-shown"),t.parent().parent().find("> li > .toggle-active").removeClass("toggle-active"),e.addClass("toggle-active"),t.stop().slideDown(300).addClass("list-shown"))}))},o(document).ready(function(){woodmartThemeModule.categoriesAccordion()})}(jQuery);