Title: Shortcode for location-based Booking Form
Last modified: September 1, 2016

---

# Shortcode for location-based Booking Form

 *  Resolved [vagrantweb](https://wordpress.org/support/users/vagrantweb/)
 * (@vagrantweb)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/shortcode-for-location-based-booking-form/)
 * I can get the location “contact card” to work using the [contact-card location
   =xxx] shortcode, but I want to have the “booking form” only. [booking-form location
   =xxx] does not work.
 * Is there a way to make this happen?
 * [https://wordpress.org/plugins/restaurant-reservations/](https://wordpress.org/plugins/restaurant-reservations/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [NateWr](https://wordpress.org/support/users/natewr/)
 * (@natewr)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/shortcode-for-location-based-booking-form/#post-7675341)
 * Hi vagrantweb,
 * Looks like this is a bug. The booking form should accept the location’s post 
   id, but it’s actually looking for the location’s term id, an under-the-hood value
   that’s used to improve performance.
 * I’ve filed an [issue](https://github.com/NateWr/restaurant-reservations/issues/69)
   for this bug where you can track the status. I’ll probably get it fixed in the
   next version.
 * In the meantime, you can work around this by passing the term id in the shortcode.
   To find the term id, you’ll need to look at the HTML code of the location select
   field (usually right-clicking and selecting Inspect Element in your browser will
   help). Here’s a quick [screenshot](http://imgur.com/a/bP0Aa) showing the term
   ids for each location.
 * If you have trouble finding the term ids, send me a link to the booking form 
   on your site I can find them for you.
 * I expect to get an update out with this and a couple other issues resolved in
   the next week or so. When I do, the shortcode will be compataible with term ids
   and post ids, so you won’t need to change your shortcodes.
 *  Thread Starter [vagrantweb](https://wordpress.org/support/users/vagrantweb/)
 * (@vagrantweb)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/shortcode-for-location-based-booking-form/#post-7675391)
 * Perfect, this worked. Thanks.
 *  [NateWr](https://wordpress.org/support/users/natewr/)
 * (@natewr)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/shortcode-for-location-based-booking-form/#post-7675392)
 * Oh yeah I forgot to post back that I put out an update. Thanks for reporting 
   back!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Shortcode for location-based Booking Form’ is closed to new replies.

 * ![](https://ps.w.org/restaurant-reservations/assets/icon-128x128.png?rev=2205491)
 * [Five Star Restaurant Reservations - WordPress Booking Plugin](https://wordpress.org/plugins/restaurant-reservations/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/restaurant-reservations/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/restaurant-reservations/)
 * [Active Topics](https://wordpress.org/support/plugin/restaurant-reservations/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/restaurant-reservations/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/restaurant-reservations/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [NateWr](https://wordpress.org/support/users/natewr/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/shortcode-for-location-based-booking-form/#post-7675392)
 * Status: resolved