Skip to content

Instantly share code, notes, and snippets.

<h3>
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>">
<?php the_title(); ?>
</a>
</h3>
<?php
$street = get_post_meta( $post_ID, 'cp_street' , true );
if ( $street) { $street = $street . ', '; }
$city = get_post_meta( $post_ID, 'cp_city' , true );