Want to show certain parts of your Botiga site only on specific pages, or only to logged-in users? The Display Conditions feature lets you control where elements appear based on page rules and user roles, which is perfect for building dynamic, personalized sites.
In this guide, we’ll walk you through how to use display conditions in Botiga.
Before you get started, make sure you’ve installed and activated the Botiga theme on your WordPress site. If you’re using features from Botiga Pro, ensure that both the Botiga theme and the Botiga Pro plugin are installed and active.
You’ll find the Display Conditions module throughout Botiga in places such as:
- Header Builder (Transparent Header)
- Header Image
- Custom Sidebars
Display Conditions Options
The Display Conditions options let you set the pages, posts, or categories you want an element to appear on. You’ll find options for special pages like 404, search, and the blog index, and you can also use the exclusion path to hide an element on selected pages.
The User Conditions options let you display or hide elements based on whether the user is logged in, or based on their user role.
Using Display Conditions on the Transparent Header
To enable display conditions on the transparent header in the Header Builder, go to Customize >> Header >> Header Builder and follow these steps:

- Enable the transparent header option.
- Set the header transparent display conditions.
Click Add/Edit Conditions and a popup appears where you can include or exclude pages, posts, and user roles.

You can stack as many include or exclude conditions as you need, alongside user condition rules.
Using Display Conditions on the Header Image
To enable display conditions on the Header Image, go to Customize >> Header >> Header Image, upload an image, and set the display conditions:

Click Add/Edit Conditions and the same popup appears, letting you include or exclude pages, posts, or user roles.

Using Display Conditions on Custom Sidebars
To use display conditions on custom sidebars, first enable the Custom Sidebars module from Appearance >> Theme Dashboard >> Theme Features:

Then go to Customize >> Navigation >> Sidebar and follow these steps:


- Give a name to your custom sidebar.
- Click the gear icon. The display conditions popup appears, as shown below.

Configure the options and click Save Conditions. Your custom sidebar will now appear only on the pages or posts you’ve selected.
Frequently Asked Questions
Below, we’ve answered some of the most common questions about display conditions in Botiga.
Can I use display conditions to show content only to logged-in users?
Yes. Use the User Conditions options in the same popup to limit visibility to logged-in users or to specific user roles.
Can I combine include and exclude rules?
Yes. Stack as many include and exclude conditions as you need. For example, you can include all blog posts but exclude a specific category.
Where else can I use display conditions in Botiga?
Display conditions are available on the transparent header, header image, and custom sidebars. They’re also used by Botiga Pro features like the Quick Links module.
That’s it! You’ve successfully set up display conditions in Botiga.
Next, would you like to put display conditions to use with a floating contact bar? Check out our guide on using the Quick Links module in Botiga Pro to learn more.
