Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Help me achieve something similar Reply To: Help me achieve something similar

#915
Tom
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 🙂