I have function in my [login to view URL] that adds class to body (disablesidebar) if the woocommerce category has a child category. In addition I have function that unregister specific widget globaly.
What I want to achive is to combine those two function so that the widget remains unregistered until the category has no child category.
Background. I use Woof filter wich is quite resource hungry. Since I show products only on the last category child there is no need for filter before and would speed up the site if filter loads only when needed - when products are shown.
14 pekerja bebas membida secara purata €32 untuk pekerjaan ini
Hello, My name is Lakhan, I have a vast working experience in WordPress website development and i will do your work WordPress [login to view URL] IF statement. Thanks
Hi we have more than 8 years of exerience in php and wordpress. we can help you. please come in [login to view URL] discuss expecting a chat for more details about the project Thank You