Title: Form won&#8217;t display with shortcode
Last modified: April 9, 2021

---

# Form won’t display with shortcode

 *  Resolved [rabland](https://wordpress.org/support/users/rabland/)
 * (@rabland)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/form-wont-display-with-shortcode/)
 * Hi,
 * I can’t get the booking form to display on this page [https://greyhoundinnfreehouse.co.uk/table-booking](https://greyhoundinnfreehouse.co.uk/table-booking)
   with the shortcode. It used to work but has recently stopped.
 * I’m using the latest version of your plugin, WP and DIVI (theme builder).
    I’ve
   tried disabling all plugins but this didn’t work either.
 * Many thanks in advance.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fform-wont-display-with-shortcode%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [jaysupport](https://wordpress.org/support/users/jaysupport/)
 * (@jaysupport)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/form-wont-display-with-shortcode/#post-14309920)
 * Hi rab,
 * I’m not sure if you perhaps changed something or figured out what was going on
   since you wrote this post, but I just checked and was able to view the bookings
   form (here: [https://greyhoundinnfreehouse.co.uk/reserve-a-table/](https://greyhoundinnfreehouse.co.uk/reserve-a-table/))
   without any issues. Are you still experiencing any issues related to this?
 *  Thread Starter [rabland](https://wordpress.org/support/users/rabland/)
 * (@rabland)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/form-wont-display-with-shortcode/#post-14311287)
 * Hi [@jaysupport](https://wordpress.org/support/users/jaysupport/),
 * I setup that reserve a table page because I couldn’t get it to display on this
   page:
    [https://greyhoundinnfreehouse.co.uk/table-booking](https://greyhoundinnfreehouse.co.uk/table-booking)
 * Please see here:
    [https://prnt.sc/11bp1n9](https://prnt.sc/11bp1n9)
 * Many thanks in advance.
 *  Thread Starter [rabland](https://wordpress.org/support/users/rabland/)
 * (@rabland)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/form-wont-display-with-shortcode/#post-14312610)
 * [@jaysupport](https://wordpress.org/support/users/jaysupport/) just to clarify,
   I can’t get the shortcode to work using the DIVI theme builder (it used to work).
   The /reserve-a-table/ page has been selected in Bookings/Settings/Basic/GENERAL/
   Booking Page
 *  Plugin Support [jaysupport](https://wordpress.org/support/users/jaysupport/)
 * (@jaysupport)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/form-wont-display-with-shortcode/#post-14312696)
 * Thanks for getting back to me and for the clarification. In that case, perhaps
   the DIVI content is just overwriting the content our plugin is inserting onto
   the page via the option. I would suggest setting that “Booking Page” option back
   to blank (i.e. don’t’ use it to select the “Reserve a Table” page as your booking
   page). Then, open up your page editor for the “Reserve a Table” page and insert
   the [booking-form] shortcode where you want the form to display.
 *  Thread Starter [rabland](https://wordpress.org/support/users/rabland/)
 * (@rabland)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/form-wont-display-with-shortcode/#post-14312995)
 * Thanks for your reply [@jaysupport](https://wordpress.org/support/users/jaysupport/)
   but that’s exactly what won’t work.
 * I’ve tried adding the [booking-form] shortcode to the page but it just displays
   a blank bar as per my previous screenshot.
    [https://prnt.sc/11bp1n9](https://prnt.sc/11bp1n9)
 * …even when the Booking Page option is blank.
 *  Thread Starter [rabland](https://wordpress.org/support/users/rabland/)
 * (@rabland)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/form-wont-display-with-shortcode/#post-14317747)
 * [@jaysupport](https://wordpress.org/support/users/jaysupport/) so perhaps your
   plugin is no longer compatible with the DIVI Theme Builder?
 *  Plugin Support [jaysupport](https://wordpress.org/support/users/jaysupport/)
 * (@jaysupport)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/form-wont-display-with-shortcode/#post-14318405)
 * I don’t know about that. I haven’t heard or seen anything that would imply that.
   Divi does often have trouble with other plugins, but we’ve had no other reports
   of issues with using our shortcode in Divi, and I’m sure there are a lot of other
   people using them together.
 * If you look at the source code of your page, there is nothing at all in that 
   div.
 * [https://prnt.sc/11e0uou](https://prnt.sc/11e0uou)
 * What kind of element are you using there in Divi? Is it possible to change the
   type of element? What happens if you put the shortcode in a basic text element?
   Do they offer a specific shortcode element?
 * Also, is this issue specific just to this page? For example, if you create a 
   new page and then enable the Divi builder on that page, and then put the [booking-
   form] shortcode on that page, does it show the form?
    -  This reply was modified 5 years, 2 months ago by [jaysupport](https://wordpress.org/support/users/jaysupport/).
    -  This reply was modified 5 years, 2 months ago by [jaysupport](https://wordpress.org/support/users/jaysupport/).
 *  Thread Starter [rabland](https://wordpress.org/support/users/rabland/)
 * (@rabland)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/form-wont-display-with-shortcode/#post-14320057)
 * Thanks for your reply [@jaysupport](https://wordpress.org/support/users/jaysupport/)
 * I tried adding the shortcode [booking-form] to a new page in both a text module
   and a raw code module but neither works.
 * When I inspected the page, no code was injected so I think there is a problem
   with DIVI compatibility.
 *  Plugin Support [jaysupport](https://wordpress.org/support/users/jaysupport/)
 * (@jaysupport)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/form-wont-display-with-shortcode/#post-14329161)
 * Hi rab,
 * Are you by any chance using a caching plugin? If so, could you delete your cache
   and see if that makes a difference? Maybe your site is just outputting a cached
   version of the page/shortcode and not the newer version with the changes.
 * And is this issue specific just to this page? For example, if you create a new
   page and then enable the Divi builder on that page, and then put the [booking-
   form] shortcode on that page, does it show the form?
 *  Thread Starter [rabland](https://wordpress.org/support/users/rabland/)
 * (@rabland)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/form-wont-display-with-shortcode/#post-14334099)
 * Hi [@jaysupport](https://wordpress.org/support/users/jaysupport/) ,
 * The issue turned out to be Wordfence.
    Hope that’s helpful.
 * Thanks for your support 🙂 – greatly appreciated.

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

The topic ‘Form won’t display with shortcode’ 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/)

## Tags

 * [divi](https://wordpress.org/support/topic-tag/divi/)
 * [form](https://wordpress.org/support/topic-tag/form/)
 * [not displaying](https://wordpress.org/support/topic-tag/not-displaying/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 10 replies
 * 2 participants
 * Last reply from: [rabland](https://wordpress.org/support/users/rabland/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/form-wont-display-with-shortcode/#post-14334099)
 * Status: resolved