Display multiple results from custom field help please!
-
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.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Display multiple results from custom field help please!’ is closed to new replies.