• Resolved christopherburton

    (@christopherburton)


    I am using the_meta() for custom fields. How can I alter the output html to my preferred result?

    Code
    <?php echo the_meta(); ?>

    Result

    <ul class='post-meta'>
    <li><span class='post-meta-key'>Client:</span> Personal</li>
    </ul>

    Preferred Result

    <ul class="info">
    <li class="info-type"><span>Client:</span> Personal</li>
    </ul>

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Strip the_meta() html’ is closed to new replies.