Skip to main content

Editing in the Classic and Block Editor

Events and locations can be edited in the WordPress classic editor or in the block editor (Gutenberg). The choice is one setting for the whole site. It changes how the editing screen is arranged, not what is saved, so you can switch at any time without touching your events.

Which editor to choose​

Classic editorBlock editor
Event descriptionOne rich text field.Blocks, as in posts and pages.
Event fields (dates, location, tickets)All visible on one screen.In tabs or panels, in one of three layouts.
SuitsSites where an event is mostly data: a date, a venue, tickets.Sites that build event pages from blocks, with images, columns and embeds.
DefaultYes, on every install.No.

The classic editor is the default. The settings screen notes that work on the block editor is still ongoing, and suggests switching back to the classic editor if you run into a problem.

Choose your editor​

  1. Go to Events then Settings then General then General Options.

  2. Next to Editor, select Classic Editor or Block Editor (Gutenberg).

  3. If you chose the block editor, a Block editor layout row appears below. Pick Canvas tabs, Tabbed metaboxes or Stacked metaboxes. The layouts are described below.

  4. Click Save Changes.

Block editor layout only shows while Block Editor (Gutenberg) is selected.

The setting applies to events, locations and any custom event types you have created.

The classic editor​

The classic editor puts every part of an event on one screen. When is at the top of the right-hand column. Where, Recurrences, Bookings/Registration and Attributes are stacked below the description, and add-ons place their own boxes among them. Categories, tags and the featured image are in the right-hand column.

The fields in each box are explained in Creating and Editing Events.

Block editor layouts​

In the block editor the description is made of blocks. The event's own fields are the same boxes as in the classic editor, presented in the layout you chose.

LayoutWhere the event fields areDefault for
Canvas tabsIn an Event Details block pinned under the title, with a tab each for When, Bookings and Attributes. A recurring event's pattern is in the When tab. Where is in the Meta Boxes panel at the foot of the screen, collapsed until you click Meta Boxes, because the location picker and map need to run outside the block canvas.New installs
Tabbed metaboxesIn one box below the content, named after what you are editing (Event), with a tab each for When, Where, Bookings and Attributes.
Stacked metaboxesIn separate boxes below the content, one after another, as in the classic editor.Sites that had Events Manager before the layouts were added

In every layout, categories, tags, organizers and the featured image are in the settings sidebar on the right.

Canvas tabs, the layout new sites start with. Click Meta Boxes at the bottom to open the panel that holds Where.

The Event Details block is part of the editing screen only. It can't be removed or added from the block inserter, and nothing from it is printed on the event page: what visitors see still comes from your formats in Events then Settings then Formatting.

A tab only appears when its feature is on. With bookings disabled, for example, there is no Bookings tab. Add-ons that add a box to the event editor show up as a further tab or as a panel below the content.

Saving in the block editor​

When you click Publish or Update, Events Manager checks the event's fields before WordPress saves. If something required is missing, such as the date, the save is stopped and a notice says what to correct.

Locations​

The location editor has less to arrange: a Where panel with the address and map, and an Attributes panel if location attributes are enabled. Locations never use the canvas. If your layout is Canvas tabs, locations use Stacked metaboxes. With the other two layouts, they follow your choice.

Locking the choice in wp-config.php​

A developer can fix the editor for the site by defining the EM_GUTENBERG constant:

wp-config.php
define( 'EM_GUTENBERG', true ); // true for the block editor, false for the classic editor

While the constant is defined, the Editor setting is greyed out and shows which value is in force.

Troubleshooting​

The Block editor layout setting is not there

It only shows while Block Editor (Gutenberg) is selected. Select it and the row appears straight away, before you save.

The Editor setting is greyed out

The EM_GUTENBERG constant is defined in wp-config.php and overrides the setting. Remove the line to choose from the settings screen again.

A field does not behave properly in the block editor

Switch Block editor layout to Tabbed metaboxes or Stacked metaboxes, which keep every field outside the block canvas. If the problem remains, switch Editor back to Classic Editor. Nothing is lost by switching.