<span class="resolved" aria-label="Resolved" title="Topic is resolved."></span>Multiple IF statements on the Results page, combined

[ad_1]

Replies: 1

Hi,

I’m trying to show/hide a portion of the results page based on multiple criteria, something like this:

<%fieldname1_block if_value_like={{apple}}%> AND <%fieldname2_block if_value_like={{orange}}%>

show something here

ELSE

do something else

So basically I’d like to know how I can use AND and ELSE operators with this type of HTML commands.

<%fieldname1_block if_value_like={{apple}}% AND if value_like={{banana}}>

Can we combine these statements and also use “else”?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer