WP Rentals Help WP Rentals Help

  • 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

7305 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 change the background color and logo for admin login page
  • How to redirect Instant Booking Button to WooComemrce Checkout Page
  • Tehnical: Redirect to Page Not found/ White screen on listing submission or edit
  • Technical – Invoices from My Bookings

HELP CATEGORIES

  • 61. General
  • 102. Installation & Basic Setup
  • 93. Installation FAQ
  • 404. How Booking Works
  • 145. User dashboard pages
  • 20Advanced Search Options
  • 3Blog Post
  • 9Custom Page Templates
  • 18Elementor Compatibility
  • 13Email Notifications
  • 19FAQ
  • 10Menu Options
  • 26Multi-Languages - 3rd party
  • 9Owner
  • 25Property / Listing
  • 21Shortcodes
  • 11Submit Form
  • 4Supported Maps
  • 93Technical how to
  • 5Third Party plugins
  • 3Translation
  • 13Widgets
  • 2WooCommerce Payments
  • 13WP Rentals Payment
  • 77WP Rentals Theme Options

Join Us On

Powered by WP Estate - All Rights Reserved
  • Client Support
  • Video Tutorials
  • WpRentals
  • WpEstate
  • API