WPRentals Theme Documentation WPRentals Theme Documentation

  • Client Support
  • Video Tutorials
  • WPRentals
  • WPEstate
  • API
Home / Technical how to / How to enable wordpress comments on property page

How to enable wordpress comments on property page

8158 views

To enable wordpress comments on the property page, you need to do the following

  1. locate the property template file. For example, for page design type 1, the file is at “templates/property_page_templates/listing_page_1.php “. For the rest of the templates, the files are in the same folders and are named accordingly.
  2. In the template file, locate the line with “wprentals_property_content_layout($post->ID) “.
  3. add this code after it


<div class="property_page_container">
<?php comments_template('', true );?>
</div>

  1. 4. To align the CSS for the WordPress comments, you may need to use some custom CSS.

    #comment {
    padding-left: 10px;
    float: left;
    width: 100%;
    }

Technical how to

Related Articles

  • How to Make a Contact Button Open WhatsApp
  • How to add a new currency in Theme Options for payments.
  • How to Disable WordPress Image Compression and Preserve Original Quality
  • How to Change the Default Categories Icon from Listing Card Unit

HELP CATEGORIES

  • 61. General
  • 72. Installation & Basic Setup
  • 373. How Booking Works
  • 18Advanced Search
  • 17Elementor WPRentals Studio
  • 14Email Notifications
  • 23FAQ
  • 14Installation FAQ
  • 10Menu Options
  • 33Owner & Renter
  • 8Page Templates
  • 24Property / Listing
  • 22Shortcodes
  • 4Supported Maps
  • 99Technical how to
  • 5Third Party plugins
  • 4Translation & Multi Languages
  • 3WordPress Blog Post
  • 13WordPress Widgets
  • 12WP Rentals Payments
  • 80WP Rentals Theme Options
  • 26WPML & Weglot

Join Us On

Powered by WP Estate - All Rights Reserved
  • Client Support
  • Video Tutorials
  • WPRentals
  • WPEstate
  • API