I’m making custom fields to display an athlete’s list of titles.
So I have a custom field called “state_title”.
One result of the custom field is “2005 AAU State Champion”
The second result is “2006” AAU State Champion”
What I need to do is put these results in a list.
I tried…
<ul class="arrow1_bullets">
<li><?php echo get_post_meta($post->ID, 'state_title', false); ?></li>
</ul>
But obviously I’m missing a lot here.
Right now this returns “Array” in the list instead of the titles. I’m also not sure how to make the code generate the <li>
tags for each result…?
Please help.