Categoría: BRICKS DYNAMIC DATA PRO WORDPRESS
-
Condition to Check if the Current Category Has At Least One Child
Looking to render an element in the category archive Bricks template only if the category of the current category archive page is a parent? This Pro tutorial shows how. Add the following in child theme‘s functions.php (w/o the opening PHP tag) or a code snippets plugin: // Function to check if the current category archive…