Jump to content

Display custom field as "text" without list-style/css


PeterD

Recommended Posts

I'm not sure if this was ever changed by an update. Anyway, earlier the following worked:

I want to output the content of a custom field without the formatting, just the text. Now when I output a field with the command:
 

<?php echo $CustomFields->field('jr_fieldname',$listing); ?>

Then I get the text, but it is from a style with a class for a (bullet) list:

<ul class="jrFieldValueList"><li>Fieldname</li></ul>

Is there a way to output this without the class?

Link to comment
×
×
  • Create New...