Text shows single line instead of multiple lines
-
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]
- The topic ‘Text shows single line instead of multiple lines’ is closed to new replies.