Skip Navigation

[Resolved] Using IF conditions in a single page

This thread is resolved. Here is a description of the problem and solution.

Problem:

How to use Toolset conditional block?

Solution:

You can follow our document to setup the conditional block:

Relevant Documentation:

https://toolset.com/course-lesson/using-toolset-conditional-block/

This support ticket is created 2 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by davidS-72 2 years, 4 months ago.

Assisted by: Luo Yang.

Author
Posts
#2258501
toolset_IF_conditions.jpg
toolset_IF_public_page.jpg

Tell us what you are trying to do?
I want to show a button to download a PDF if one field is on.
It works but shows code in the public page. I attached a screenshot with the error and the IF configuration.

thanks.
David

#2258849

Hello,

The problem you mentioned above is abnormal, please check these:
1) Make sure you are using the latest version of Toolset plugins, you can download them here:
https://toolset.com/account/downloads/

2) In case it is a compatibility problem, please deactivate all other plugins, and switch to WordPress default theme 2021, deactivate all custom PHP/JS code snippets, and test again

3) If the problem still persists, please provide database dump file(ZIP file) of your website, you can put the package files in your own google drive disk, share the link only, also point out the problem page URL, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/

#2259379

you're right. I created a blank site and it works fine. Maybe the problem is Divi theme with toolset.

Thanks!

This ticket is now closed. If you're a Toolset client and need related help, please open a new support ticket.