getting 2 custom values to display in a post?
-
right now i have two custom values, one for Author information and one for a Surtitle. The author part is working fine, and is showing up on the page with this code:
<?php
$custom = get_post_custom_values('Author');
if (count($custom) != 0)
{
// do your thing
echo $custom[0];
// maybe do more things
} ?>but I can’t get it to display another custom value, even though I think I’m changing all the right variables. could anyone give me some help in displaying 2 different custom values on one page?
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘getting 2 custom values to display in a post?’ is closed to new replies.