WPRentals Theme Documentation WPRentals Theme Documentation

  • Client Support
  • Video Tutorials
  • WPRentals
  • WPEstate
  • API
Home / Technical how to / Technical: My Bookings

Technical: My Bookings

3339 views
To display the new data in “my bookings” list  items you need to edit
dashboard\templates\book-listing-unit.php
In that file we call various templates like
dashboard/templates/unit-templates/booking_title_section.php
dashboard/templates/unit-templates/booking_image.php
The booking dates are in the variables
$booking_from_date  =   get_post_meta($post->ID, ‘booking_from_date’, true);
$booking_to_date    =   get_post_meta($post->ID, ‘booking_to_date’, true);
The booking “author” is in variable $author             =   get_the_author();
You can use those variables to print the details you need.
Technical how to

Related Articles

  • 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
  • How to change the background color and logo for admin login page

HELP CATEGORIES

  • 71. General
  • 102. Installation & Basic Setup
  • 393. How Booking Works
  • 20Advanced Search
  • 18Elementor Free & WP Rentals Studio
  • 14Email Notifications
  • 22FAQ
  • 15Installation FAQ
  • 10Menu Options
  • 27Multi-Languages - 3rd party
  • 34Owner & Renter
  • 9Page Templates
  • 23Property / Listing
  • 22Shortcodes
  • 4Supported Maps
  • 98Technical how to
  • 5Third Party plugins
  • 3Translation
  • 3WordPress Blog Post
  • 13WordPress Widgets
  • 13WP Rentals Payments
  • 80WP Rentals Theme Options

Join Us On

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