WPRentals Theme Documentation WPRentals Theme Documentation

  • Client Support
  • Video Tutorials
  • WPRentals
  • WPEstate
  • API
Home / FAQ / Technical: How to Manually Assign a Guest/Renter to a Booking

Technical: How to Manually Assign a Guest/Renter to a Booking

3 views

In WPRentals, a booking is connected to the guest/renter through the booking author.

If you need an existing booking to show in a specific guest account under My Reservations, you must set that guest user as the author of the booking.

  • How the Booking and Renter Connection Works
  • Enable the Author Field for Bookings
  • Change the Booking Author
  • Check the Guest Reservations Page
  • Important Notes

How the Booking and Renter Connection Works

The guest/renter connected to a booking is controlled by the WordPress author of the booking post.

This means:

  • Guest / renter account → booking author → My Reservations
  • Property owner → owner booking data → My Bookings

If a booking is not showing in the correct guest account, check the booking author.

Enable the Author Field for Bookings

By default, the Author field may not show when editing a booking from wp-admin.

To make the Author field visible, add this temporary code in the child theme functions.php file or with the Code Snippets plugin:

add_action( 'init', function () {
    add_post_type_support( 'wpestate_booking', 'author' );
}, 20 );

After this code is added, edit the booking again.

If the Author field is still not visible, click Screen Options at the top right of the edit booking page and enable Author.

Change the Booking Author

Go to:

wp-admin → Listings, Bookings & More → Bookings

Edit the booking you want to update.

In the Author box, select the guest/renter user who should be connected to that booking.

Click Update to save the booking.

Check the Guest Reservations Page

After the booking author is changed, log in as that guest/renter account.

Go to the user dashboard and open:

My Reservations

The booking should now show there.

Important Notes

Do not edit the booking details from wp-admin unless you are sure the change is needed. The manual change explained in this article is only for assigning the correct guest/renter to an existing booking.

This is useful for correcting an existing booking manually.

For normal bookings made from the frontend, WPRentals assigns the guest automatically.

After you finish changing the booking author, you can remove the temporary code if you do not need to edit booking authors again.

FAQ

Related Articles

  • Advanced Search Date Picker Error on Mobile
  • FAQ – Maps Are Not Showing
  • FAQ – Search Returns 0 Results in WPRentals
  • How do I remove the page title or Breadcrumbs from the top of a page?

HELP CATEGORIES

  • 61. General
  • 72. Installation & Basic Setup
  • 373. How Booking Works
  • 18Advanced Search
  • 17Elementor WPRentals Studio
  • 14Email Notifications
  • 27FAQ
  • 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