• Resolved louisderry

    (@louisderry)


    Hi folks – Does anyone know how I can allow line spacing on my advert?

    Its currently stripping it out on the fields “Pros – What Is Included / Condition?”

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    Hi,

    can you let me know how you have the “Pros” field added to the Ad details page (is it dones with Custom Fields extension or a code snippet)?

    Please note that if this is question related to the Custom Fields add-on it would be best if you would resend it using the contact form here https://wpadverts.com/contact/ as the forum is for the free version only (according to www.remarpro.com forum rules).

    Thread Starter louisderry

    (@louisderry)

    Hi Greg,

    I think it’s done with code snippets.

    Plugin Author Greg Winiarski

    (@gwin)

    Hi,

    if it’s done with the code snippets, then you should also have some code snippet for displaying it on the ad details pages.

    See the section “Displaying on Ad Details Page” here https://wpadverts.com/doc/custom-fields/, there is a code for displaying it, in your snippet you would need to replace

    <?php esc_html_e( $cf ) ?>

    with

    <?php echo wpautop( esc_html( $cf ) ) ?>

    I can’t tell for sure without looking at the code you have on-site. If you can find it (might be in your theme functions.php file) and paste here is should be able to give a more accurate answer.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.