Hi!
Many typos in your code :D
<?php
if ( get_post_meta ( $post->ID, 'cp_city' ) )
echo get_post_meta ( $post->ID, 'cp_city', true );
else
Hi!
Many typos in your code :D
<?php
if ( get_post_meta ( $post->ID, 'cp_city' ) )
echo get_post_meta ( $post->ID, 'cp_city', true );
else
its is simple :
Patrick,
It is never shows the street name because cp_street is not a function - it's field name.
Use get_post_meta function.
<li>
<span class="list1"><?php _e( 'Street:', TB_TD );...
Hi, Patrick!
Try something like this:
<li>
<span class="list1"><?php _e( 'Categorie:', TB_TD ); ?></span>
<span class="list2"><?php echo get_the_term_list( $post->ID, APP_TAX_CAT, '', ',...