Jump to content

Conditionals Based on Custom Fields question


PeterD
Go to solution Solved by PeterD,

Recommended Posts

In the instructions
https://www.jreviews.com/docs/theme-resources/customize-layout-of-custom-fields#conditionals-based-on-custom-fields

there is the following query

<?php if ($CustomFields->field('jr_fieldname',$listing,false,false) == 'string'):?>

  <!-- Conditional output -->

<?php endif;?>


Doesn't this mean that I have to enter the value of the field for "string" so that it works?
But it does not work for me.

Link to comment
  • 3 weeks later...
×
×
  • Create New...