Woocommerce category slug
-
Hello ?? !
My question is :
if($main_category->slug == "vedofoliak" || $main_category->slug == "vedotokok"):
Is it possible to change this part of the code checking for category slugs to check for category IDs.
Now if we change the category name the slug will be changed too so these comparison may not be the best way.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Woocommerce category slug’ is closed to new replies.