patrickcrielaard (May 7th, 2013)
<?php echo get_post_meta ( $post->ID, 'cp_city', true ); ?>
<?php
if ( get_post_meta [$post->ID, 'cp_city']->data ) {
echo get_post_meta [ $post->ID, 'cp_city'];->data;
}
else {
echo "no data available";
}
?>
patrickcrielaard (May 7th, 2013)
arthemes.org - AppThemes plugins, tutorials, modifications and services |
patrickcrielaard (May 7th, 2013)
There are currently 1 users browsing this thread. (0 members and 1 guests)