Re: NewEngland1.com
whitenight - thanks and thanks for your help.
gomeetpete - I've seen your site. I PM'd you a while back about the layout but basically I removed the out of the box fields in the top right and replaced it with
Code:
<?php
if (get_post_meta($post->ID, 'cp_amenities', true) != '')
{echo get_post_meta($post->ID, 'cp_amenities', true);
}
?>
I put each one in it's own div but someone who knows code would probably find a better way.
I got this code from someone else in the forum. Just change amenities to whatever field name you want shown.
The bottom part of the listing page I used the same code as above but I used some of this css that was already there.
Code:
<div class="single-main">
<h2 class="dotted">
<?php _e('Nearby Attractions, Sights and Things to Do','cp') ?>
</h2>
<?php
if (get_post_meta($post->ID, 'cp_nearby', true) != '')
{echo get_post_meta($post->ID, 'cp_nearby', true);
}
?>
</div>
I am working on styling some of the fields. Currently I had been styling some with bullet points in the admin panel but when users log into their page the styling gets erased because I have posts set for NO HTML. Still trying to figure that out.