Posted By

nmgarnett on 11/26/10


Tagged

classipress


Versions (?)

Adds City/state fields to search listings in Classipress


 / Published in: PHP
 

Add to index-standard.php, index-directory.php,search.php and archive-default.php - below - p class="bot4px dotted">

  1. <?php _e('Location:','cp') ?></u> </span><?php echo get_post_meta($post->ID, 'cp_city', true); ?><?php _e(',', 'cp') ?></span> <?php echo get_post_meta($post->ID, 'cp_state', true); ?>

Report this snippet  

You need to login to post a comment.