PHP

Bricks Builder: Conditions based on Post Type

To show and hide elements in Bricks Builder based on Post Type conditions, you need to combine the native WordPress get_post_type() function with the Bricks Builder “echo” feature available in the Conditional Logic builder. Did that scare you? Don’t worry! It’s actually extremely easy to do! I’ll also give you the exact PHP code you […]

Bricks Builder: Show/Hide elements based on Business Opening Hours

Bricks Builder: Show/Hide elements based on Business Opening Hours

Here is how you can Show and Hide elements on the Page based on whether or not your Business is currently OPEN or CLOSED. The more robust solution For a more thorough solution, I put together this video below where I go through coding this. The video is below and you can grab all the […]