Jump to content

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

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 post

This section is only visible with a valid subscription. If you have a valid subscription, please login.

Link to post
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Please refer to our Privacy Policy.