Question related to conditional logic / Feature request

edited August 2024 in Theme Options

Hi, first of all thanks for your great theme, it massively improves the standard functionality of WordPress:-) !

But currently I'm missing something in the conditional logic feature for the items in the BeTheme editor. Currently, you can enable/disable items based on "current date" and "part of the week". 

I'm trying to add multiple items based on a specific date range (e.g. show the text item "Happy New Year" only between 30.12. and 02.01 of each year, show the text item "Marry Christmas" between 21.12. and 28.12. of each year, ...).

Is there any way to do this other than multiplying the element 5,10,20 times on the page, setting the specific date for each individual copy (text element "Marry christmas" 1 displays on 21.12.2024, text element "Marry christmas" 2 displays on 22.12.2024, text element "Marry christmas" 3 displays on 23.12.2024, …) and updating each of these 8 element conditions year by year as the condition is locked to a specific year? 

Some of my date ranges are 4 weeks and more (summer holidays for example), in that case I would have to multiply a single text item about 28-35 times in the editor and edit those 28-35 item conditions every year :D 

It would be really great to have a condition "date between date X and date Y" (ideally dates without a fixed year). Or is this already possible with another approach ? Thanks in advance :-)

Comments

Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.