Wondering if it’s possible to create a landing page with the block editor that was released as part of WordPress 5.0? It is indeed, and this post will show you how.
Thanks to the new “block” approach, you now have the ability to set up hero sections, call to actions (CTAs), and other important elements of a landing page.
What is the new block editor in WordPress?
The block editor is a brand new content editor that’s become the default editor as of WordPress 5.0. During its development, the new editor was called “Gutenberg”. However, since it’s become part of the core, it’s now just the “WordPress editor” or “block editor” if you want to be more specific.
Or, if you’re already familiar with the new editor, just keep on reading to learn how to use it to create a landing page…
A quick tour of the block editor interface
Now before we get started with the building process, here is a quick tour featuring the user interface of the block editor.
To add new blocks, you’ll work in the popup on the left. And once you’ve added a block, you’ll be able to customize important information, like colors, in a sidebar on the right:
There are five unique sections to divide up the blocks that you can use:
- Common blocks – contains all the common elements like the paragraph, heading, list, quote, and other basic content elements.
- Formatting – good for adding custom code, editing a block with WP editor (classic), or adding a table.
- Layout Elements – has elements for improving the overall layout, like columns.
- Widgets – lets you add regular WordPress widgets to your designs.
- Embeds – helps you embed content from external platforms, like YouTube, Twitter, and lots more.
You can also add new blocks and functionality via third-party plugins. For instance, with the Otter Blocks plugin, you can get new blocks such as a pricing table, testimonials, Google Maps and more.
How to create a landing page with the block editor in WordPress
Beyond looks, fast load times are essential for a good quality landing page. So, make sure that the theme you use is compatible with the new block editor and fast loading.
I chose ThemeIsle’s free Neve theme to create a landing page with the block editor. Beyond being free and lightweight, Neve is built to work well with the new block editor and gives you lots of layout options so that you can create a true landing page.
Once you have set up your website, all you need to do is go to Pages → Add New and start your work.
Step 1: Choose your page layout
To give your landing page enough space, you’ll want to choose a layout without a sidebar. Another benefit of using the Neve theme is that you can do this quite easily.
You can select a layout from the right side under the document section. Using either of the layouts with no sidebar is a good choice. For the test design, I have chosen no sidebars with the content centered (rather than full-width).
Step 2: Plan out your basic landing page design
Next, you want to make a plan for the general design of your landing page so that you know which elements you’ll need to include.
For example, if you’re trying to sell a service, it might be essential that your landing page has a pricing table (if so, the Otter Blocks plugin gives you a block for that). Or, if you’re trying to grow your email list, you might want an email opt-in form front and center.
For this tutorial, I’m going to use an example of a simple landing page for a webinar.
Beyond thinking about which elements you’ll need, also consider how you want to arrange those elements.
One common approach is to use a Z-pattern. This pattern is good for pages with minimal content.
The Z-rule is based on the fact that a user starts viewing the page from left to right on the menu bar, then goes to the bottom-left corner and then again goes to the right side (provided that the page isn’t content heavy). This design is used by some popular platforms like Shopify, Facebook and many more.
Feel free to use any design type for your landing page as long as it follows good basic web design principles.
Step 3: Use blocks to add elements to your landing page
Now that you have the important info, you’re ready to start building your page. Usually, it’s easiest to just start building at the top of the page and move down.
For our example, I’ll start with the main headline and subheading.
Heading, subheading, and background image
The Cover block is a good option for the top of your page because it lets you include a large image, as well as text on top of that image.
I’ll use it to include a heading and subheading on top of a background image with an orange overlay.
Once you’ve added the cover block, upload a beautiful image for your landing page. To make your text more visible, you can use the right sidebar to add the overlay color and background opacity.
To add the text, you just need to click and type.
Primary call to action (CTA)
Once you’ve finished with the Cover block, you can add your primary CTA underneath by using the Button block. You can use the right sidebar to customize the colors of your button. You can see that I’ve added a Get Started button underneath the cover:
And here’s how everything so far comes together in the live preview:
Product details/overview box
To add a good-looking product details box, you can use the Media & Text box. As the name suggests, this block creates a two-column layout with an image on one side and any type of text on the other. I decided to use a list for the text. You can see it below:
To improve the layout, you can add space between the previous section and this section by adding a Spacer block. You can adjust the distance between the two blocks via the blue dot on the spacer block.
Once you’ve added the content and the image in the Media & Text block. It will look like this:
Final call to action (CTA)
To add the final CTA at the end of your landing page, you can use another Button block. Or, if you’d prefer to use a form instead, the WPForms plugin includes its own WPForms block that you can use to embed any type of form.
Putting it all together
After using all those blocks to create a landing page with the block editor, here’s another look at the final landing page design:
While you weren’t able to see it while working in the block editor, Neve’s sidebar-less template gives your final design plenty of white space on the front-end. And that’s all there is to it!
The new block editor isn’t exactly a page builder – the current customization options can’t compete with page builders in terms of layout and styles. However, we will see some great add-ons being released gradually as developers get more accustomed to the new editor in 2019, which should shrink the gap and make it even easier to create a landing page with the block editor.
If you want to see how the new block editor compares to other page builders for this use case, we also have tutorials on how to build landing pages with:
by Pulkit Bhardwaj