Your address will show here +12 34 56 78

Home Forums WP RESIDENCE – Real Estate WordPress Theme FORUM Allow text input for Rooms, like kitchen, office

This topic contains 1 reply, has 2 voices, and was last updated by  Anna 2 years, 10 months ago.

  • Author
    Posts
  • #100927

    mitchoo
    Participant

    WPresidence 1.07: For me ‘Rooms’ provides no information, though it has a key spot at 5 under Property details at the single property page. But it only displays a number (to enable advanced search). To allow it to show a description like ‘kitchen, office, storage’ simply delete ‘floatval’ over here:

    wpresidence\libs\listing_functions.php
    Line 284: $property_rooms = floatval ( get_post_meta($post_id, ‘property_rooms’, true) );

    In my case I also changed ‘Rooms’ into ‘Amenities’ to better reflect the new content.
    Spend some time to find out about this, sharing is caring 🙂

  • #100933

    Anna
    Keymaster

    Hi,

    Thank you for sharing with us.

    Thank you,
    Anna

You must be logged in to reply to this topic.