Home › Forums › Pro Support › Help me achieve something similar › Reply To: Help me achieve something similar
October 22, 2016 at 12:39 am
#915
Keymaster
Hi Jamal,
No worries!
I don’t think you can get all post metadata – at least not looking pretty.
To get line breaks, you just need to add HTML to the PHP.
For example:
if ( isset( $first_meta ) && '' !== $first_meta )
echo $first_meta;
Becomes:
if ( isset( $first_meta ) && '' !== $first_meta ) { ?>
<p>
<?php echo $first_meta; ?>
<p>
<?php }
Hope this helps 🙂