Element Conditions

Element Conditions let you define one or multiple conditions for any element. Only if those conditions are met is the element rendered on the front end.

How will you add, edit, delete an element condition, you will get the step-by-step guide here.

BricksUltimate adds a lot of custom element condtions for the general and WooCommerce site. Here is the list:

For General WordPress Sites

  1. Is parent post/page - Checking if an item is a parent post, page or custom post type. Returning the bollean value - true or false.
  2. Is child post/page - Checking if an item is the child post, page or custom post type. Returning the bollean value - true or false.
  3. Is front page - Checking if user is on the static front page.
  4. Is home - Checking if user is on the home page.
  5. All pages - Checking if user is on the any "page" type single template page. Read the WP codex.
  6. Specific page(s) - Checking if user is visiting the specific page. Enter the id or slug like 42, about-me, contact into the input box. Read the WP codex..
  7. All single pages - Checking if user is on the any post, page and custom post type's single template page. Read the WP codex.
  8. Specific singular page(s) - Checking if user is on the sepecific post, page or custom post type's single template page. Enter the post type slug like post, events, products, etc. (with comma seperator) into the input box. Read the WP codex.
  9. Archive pages - Determines whether the query is for an existing archive page. Read the WP codex.
  10. All category pages - Determines whether the query is for an existing category archive page. Read the WP codex.
  11. Specific categories page - Determines whether users are on the selected category archive page. Enter the category name/id/slug into the input box like 23, new, shirt, 43. Read the WP codex.
  12. All post tags - Determines whether the user is on the tag archive page. Read the WP codex.
  13. Specific tags page - Determines whether user is on the selected tag archive page. Enter the tag name/id/slug into the input box like 30, mild, extreme. Read the WP codex.
  14. All taxonomy pages - Determines whether the user is on the taxonomy archive page. Read the WP codex.
  15. Specific terms page - Determines whether the user is on the selected taxonomy archive page.

    How to Use the Dynamic Taxonomy Tag - This dynamic tag works with any taxonomy (like categories, tags, or custom taxonomies).

    Syntax: taxonomy_slug:term1,term2,term3

    • taxonomy_slug: The slug of your taxonomy (e.g., product_cat, post_tag, genre).
    • Terms: Add terms after the colon (:) as IDs or slugs, separated by commas.

    Example: product_cat:23, tshirt, new-arrival, 59

    • Taxonomy: product_cat (Product Category)
    • Terms:
      • 23 (Category ID)
      • tshirt (Category slug)
      • new-arrival (Category slug)
      • 59 (Category ID)
  16. All author pages - Checks if user is on the author profile page.
  17. Specific author page(s) - Determines whether the user is on the selected author profile page.
  18. Is doing AJAX? - Determines whether the current request is a WordPress Ajax request.
  19. Is wishlist empty? - Checking that your wishlist is empty or not. Returing true or false.
  20. Has compare items? - Checking if there are items in the compare list.
  21. Taxonomy exists - Checking that a taxonomy exists or not.
  22. Is Term - Accepting term ID, slug, or name. Caution: It works on term archive page and inside the terms loop builder.
  23. Has terms - current post - Checks if the current post has any of given terms. Syntax:- taxonomyname:terms name/id/slug.

    Example: post_tag:23, tshirt, new-arrival, 59

    • Taxonomy: post_tag (Post tag)
    • Terms:
      • 23 (Tag ID)
      • tshirt (Tag slug)
      • new-arrival (Tag slug)
      • 59 (Tag ID)
  24. Is parent term - Checking if item is a parent term. You can use on the archive page or query loop builder.
  25. Has children - Checks if a term has children.
  26. Has ancestors - Checks if a term has ancestors.
  27. Cookie - Checking if a cookie is existed or not.

For WooCommerce Shop Sites

  1. Product in cart - Determines wether a product is in the cart or not. Enter product ids with comma separator.
  2. Is shop page - Determines wether a user is on the shop page.
  3. Is single product page - Determines wether a user is on the single product page.
  4. Is cart page - Checks wether a page is the Cart page.
  5. Is checkout page - Checks wether user is on the Checkout page.
  6. Is order pay page - Checks wether the user is on the order pay page.
  7. Is thank you page - Determines wether a user is on the Thank You page.
  8. Is my account page - Checks wether user is on the My Account page.
  9. Is on sale - Checks wether a product is on sale. It will work inside the product query loop or the single product page. i.e.- If you want to display the "SALE" badge on the product card, you use this condition.
  10. Is in stock - It is checking the product availability. i.e. - You can display the SOLD OUT badge, if Is in stock condition is false.
  11. Is stock managed - Checks wether you're using the stock manager of a product.
  12. Is low stock - Checks wether a product has low stock.
  13. Is in backorder - Checks wether a product is in backorder status.
  14. Is cart empty - Determines wether user's cart is empty or not.
  15. Is featured product - Checks wether a product is a featured product.
  16. Is virtual product - Checks wether a product is a virtual product.
  17. Is product downloadable - Checks wether a product is a downloadable product.
  18. Is product purchasable - Checks wether a product is available for sell.
  19. Is already purchased - Checks wether customer is already purchased this product.
  20. Has additional information - Checks wether a product has additional information.
  21. Has reviews - Checks wether a product has reviews.
  22. Has related products - Determines wether there are related products on the single product page or other pages(where you are running the product query loop).
  23. Has recently viewed products -
  24. Has upsell products - Checks wether a product has upsell products.
  25. Has cross-sell products - Checks wether a product has cross-sell products.
  26. Has linked variations - Checks wether a simple type product has linked attributes.
  27. Has weight - Checks wether a variable product has weight.
  28. Has dimensions - Checks wether a variable product has dimensions.
  29. Has sale start date - Checks wether a product has sale start date. It is very useful when you are using the countdown element or wanting to hide/show a section.
  30. Has sale end date - Checks wether a product has sale end date. It is very useful when you are using the countdown element or wanting to hide/show a section.
  31. Has shipping methods - Checks wether a shop site has shipping option.
  32. Is coupon applied - Checks wether the custom already applied the coupon code on the site. Enter coupon code into the input box. Leave empty if you are using the coupon query loop.
  33. Is coupon expired - Checks wether the coupon code is expired. Enter coupon code into the input box. Leave empty if you are using the coupon query loop.
  34. Is coupon valid - Checks wether the coupon code is valid. Enter coupon code into the input box. Leave empty if you are using the coupon query loop.
  35. Individual use only - Checks wether the coupon code is using as individual only. Enter coupon code into the input box. Leave empty if you are using the coupon query loop.
  36. Order status - You can show/hide a section, element, content, etc. based on the order status.
  37. Has previous orders - Determines wether a customer is a returning customer.
  38. Has discount - Checks wether an order has discounted amount. Useful for the Thank You page, email template or order details page.
  39. Has shipping cost - Checks wether an order has the shipping cost.
  40. Has customer note - Checks wether a customer submitted the order notes on the checkout page and displays the order notes on the thank you or email template based on this condition.
  41. Bought specific products - Determines wether a customer bought the selected products. Enter the product ids with comma separator into the input box.
  42. Payment gateway - Show/hide a section or content based on the submitted payment gateway on the order detials page.