I am working on a realtor website and have used the WP Property plugin to manage all of the properties. I am having issues with the property-overview.php. I have figured out how to add my own custom attributes to the overview and they display correctly. The only issue that I am having is that I want the lable of each attribute to display as well… the website is http://www.yourlandmark.com/available-homes/
As you can see, there are attributes displayed, but you cannot tell which attribute is what. For example there are two numbers on the bottom of each property detail list… instead of them displaying like:
4
3
I would like for them to display as:
Bedrooms: 4
Bathrooms: 3
here is the code for each of my custom attributes:
[php] <?php if($property['base_price']): ?>
<?php endif; ?>
<?php if($property['area']): ?>
<li class="area"><?php echo $property['area']; ?></li>
<?php endif; ?>
<?php if($property['master_bedroom_loaction']): ?>
<li class="master_bedroom_loaction"><?php echo $property['master_bedroom_loaction']; ?></li>
<?php endif; ?>
<?php if($property['bedrooms']): ?>
<li class="bedrooms"><?php echo $property['bedrooms']; ?></li>
<?php endif; ?>
<?php if($property['bathrooms']): ?>
<li class="bathrooms"><?php echo $property['bathrooms']; ?></li>
<?php endif; ?>
[/php]
What do I need to add to this to display a label for each attribute?