WordPress.org

Forums

  1. sethtipton
    Member
    Posted 1 year ago #

    I am trying to display just the number of rooms. Is there an equivalent to this piece of code to accomplish that?

    '<?php echo $property['price']; ?>'

    http://wordpress.org/plugins/wp-property/

  2. futurecar
    Member
    Posted 1 year ago #

    I would go into the wpproperty settings>developer then add a new row for "rooms". Then if you want to get custom with it, try this php code in your template. Put it in the specific area where you want the values to appear.

    <?php if($property['rooms']): ?><?php echo $property['rooms']; ?><?php endif; ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.