Categoría: BRICKS BRICKS/ELEMENT/RENDER_ATTRIBUTES FILTERS PRO
-
How to programmatically add a class to an element in Bricks
This Pro tutorial shows how a dynamic class can be added to a query loop element in Bricks programmatically. Let’s take an example where posts of Events CPT are being shown using a query loop. The objective is to add a class of future-event for all upcoming events that occur in the future and past-event…