Query Variables Condition in Bricks

This Pro tutorial provides the steps to register a custom function that returns true or false depending on whether the current page URL has specific query parameters in Bricks.

For example only if the URL has fname, lname and email URL parameters like this:

https://bricks.local/query-variables-test/?fname=sri&lname=kat&email=srikat@gmail.com

should a Section be output.

Step 1

This is a BricksLabs Pro tutorial.

For full access login below or create your BricksLabs Pro account

Instant access to 390+ Bricks code tutorials with BricksLabs Pro