WP Rentals Help WP Rentals Help

  • Client Support
  • Video Tutorials
  • WpRentals
  • WpEstate
  • API
Home / Technical how to / Technical: My Bookings

Technical: My Bookings

2661 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 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
  • 394. 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