• Resolved stillewateren

    (@stillewateren)


    I saw this topic was in here before – and solved – but somehow it is still appearing on my site. I have added a multi-line text field and inserted everal separated lines of text. I have tried the different options, but none of them shows the text on multiple lines.

    The field is called upon by a snippet of code to tweak the WooCommerce shop-module:

    function woocommerce_template_loop_product_title() {
    echo ‘<h5 class=”‘ . esc_attr( apply_filters( ‘woocommerce_product_loop_title_classes’, ‘woocommerce-loop-product__title’ ) ) . ‘”>’ . get_the_title() . ‘ </h5>’;
    echo ‘<p>’ . get_post_meta( get_the_ID(), ‘beschrijving’, true ) . ‘</p>’;
    }
    }

    Any ideas?

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

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Multi-line custom field displaying as single line’ is closed to new replies.