I am trying to: to use "wp-conditional if=" etc. to make this bit of HTML below disappear if those three values from a taxonomy and two Types fields all return a specific value.
<div class="accreditation additionalFacts"><i class="fa fa-certificate fa-2x"></i><strong>Accreditations:</strong><br/>
<span class="additionalFactsContent">TGCSA: [wpv-post-taxonomy type="star-grading" format="name"]</span><br/>
<span class="additionalFactsContent">AA Travel: [types field="aa-travel-endorsement"][/types]</span>
<span class="additionalFactsContent">Other: [types field="other-accreditation" separator=", "][/types]</span>
</div>
Not working, also my [wp-conditional] the little "-" is as follows in the Content Template Editor "–", which apparently was meant to be sorted out 2 months ago according to another thread (#340669). Because no matter what expressions I enter the div disappears.
Good you please fix that issue and then give me an example based on the code supplied as to how I would make that div.accreditation disappear if ALL three values are a specific value.
Thank you.
Thanks guys, sorted out the issue. All working fine now.