Blocks

Blocks »OpenTable Block

As a restaurant owner, your ultimate goal online is to drive reservations and OpenTable can help you achieve just that. With the OpenTable block, your visitors will be able to book a table right from a post or page on your site.

If you do not have an OpenTable listing for your restaurant or cafe and wish to create one, you can sign up here.

To use the OpenTable block, your site needs to have an active WordPress.com Premium or Business plan.

Table of Contents

Adding the OpenTable Block

In order to add the OpenTable block, click on the Add Block button to open the block library and select the OpenTable block.

Adding the OpenTable block

Alternatively, you can type /opentable in a new block and press enter.

Detailed instructions on adding blocks can be found here.

Next, you will enter your OpenTable Reservation Widget embed code. If you need help locating your embed code, check this guide from OpenTable.


↑ Table of Contents ↑

Block Toolbar

In order to reveal the block toolbar, you can click on the block and the toolbar will display. Each block has its own controls that allow you to manipulate the block:

The OpenTable block toolbar

The OpenTable block offers the following options in its toolbar:

  • Alignment (includes wide and full-width options if supported by your theme)
  • Styles (more on that below)

↑ Table of Contents ↑

Block Settings

Every block has specific options in the editor sidebar in addition to the options found in the block toolbar. If you do not see the sidebar, simply click the ‘cog’ icon next to the Publish button.

Block settings

↑ Table of Contents ↑

Styles

You can choose from four different styles (click each image to see in full screen):


↑ Table of Contents ↑

Additional Settings

The additional settings allow you to add your OpenTable restaurant ID(s). Your first ID is added automatically when you added your embed code.

You can also select from a list of languages supported by OpenTable and set the reservation form to open in a new window.


↑ Table of Contents ↑

Advanced

The advanced tab lets you add a CSS class to your block, allowing you to write custom CSS and style the block as you see fit. Learn more.

The advanced section lets you add a CSS class to your block.
The advanced section lets you add a CSS class to your block.

Not quite what you're looking for?

Get Help