Did you spend a lot of time and effort creating landing pages for multiple marketing campaigns by adding one by one image or text to the page template, even when they have the same structure of content?

We bring a comprehensive solution for these cases, named 'dynamic landing page'. Just build a page as a sample with content saved in custom fields, have a template for it with a perfect interface. Then, when having a new campaign, just duplicate the page, and change the content from the fields. You’ll have a new landing page with new messages without touching the template anymore.

In this practice, we will figure out how to create a dynamic landing page using custom fields created with Meta Box, and displaying with Elementor.

These are some example landing pages which have the same structure and different content. I will build a sample template for them now.

example landing pages which have the same structure and different content

Video Version

Before Getting Started

As I mentioned before, all of the content of the landing page, even the hero image, tagline, subtitle, the URL in the button, its color or label, and so on, will be regulated by content in custom fields. To have the framework to create them, we need the Meta Box core plugin. You can install it directly from wordpress.org.

Besides, you may want some Meta Box extensions for the advanced features. You can install them individually or use Meta Box AIO.

Here are the extensions we may need:

    • Meta Box Builder: to have a UI on the backend to create the custom fields efficiently;
    • MB Testimonials: a ready-to-use solution from Meta Box that helps to create a testimonial section with pre-built layouts;
    • Meta Box - Elementor Integrator: to get dynamic data from custom fields and display them on the page easily;

Finally, you absolutely have Elementor and Elementor Pro on your site to build the page.

Let’s start now!

Create a New Page

Go to Pages > Add New to create a new page as usual.

Go to Pages, Add New to create a new page

I leave it blank since all the content will be put in the custom fields that I’ll create in the next step.

Create Custom Fields

We will create custom fields for every element on the page and organize them in groups and tabs based on sections on the page.

organize custom fields in groups and tabs based on sections on the page thanks to Meta Box Group and Meta Box Tabs

For some kind of content, you may use cloneable fields or cloneable groups.

you may use cloneable fields or cloneable groups for some kind of content

In short, just create the fields following your content structure. We have more than 40 field types for almost every kind of data and layout, so just exploit them best.

Now, go to Meta Box > Custom Fields and create those fields.

go to Meta Box > Custom Fields and create custom fields

To create tabs, just add a field with the type as Tab.

To create tabs, add a field with the type as Tab

Then add some fields.

add some custom fields for the Hero Section

All the fields below the Hero Section tab field will be displayed in the tab.

For the menu on the landing page, there will be multiple items on the menu. Each one of them includes the label and its link. So I will create a cloneable group.

create a cloneable group for the menu on the landing page since there will be multiple items on the menu. Each one of them includes the label and its link.

The sub-fields will be used to input the label and URL of each item.

The sub-fields will be used to input the label and URL of each item.

The button information will be in a group as well.

The button information will be in a group as well

Next, I add a new Tab field.

add a new Tab field

Whenever you do that, it’s understood that the fields between the first tab field and this new tab field belong to the first one.

the fields between the first tab field and the new tab field belong to the first one

Go ahead with the other fields. Just keep in mind the expected structure and create fields to follow it.

continue creating custom fields following the expected structure

For the content in the testimonials section, I’ll use the MB Testimonials extension to build it, so I’ll create only a custom field for title, and another one for description of this section. All other content of this section will be created later.

For testimonial section, create custom fields for title, and description. Other information will be made by MB Testimonials

After creating all the fields, move to the Settings tab, set the Location as Post Type, and choose Page.

After creating all the fields, move to the Settings tab, set the Location as Post Type, and choose Page

Go to the Advanced location rules section below, and choose the name of the page we created for the dynamic landing page.

Go to the Advanced location rules section below, and choose the name of the page we created for the dynamic landing page.

Go to the page editor, you will see all the fields.

all the custom fields displayed

Just input the content that you want to be on the landing page to the corresponding fields. I did it with some content for example.

input the content that you want to be on the landing page to the corresponding fields

Create Testimonials

When activating the MB Testimonials solution, there will be a menu in the dashboard.

The menu of testimonials in the dashboard when activating the MB Testimonials solution

Go there and add a new testimonial for your page.

This section is to add content of each feedback from your customers.

The section is to add content of each feedback from your customers

If you want to add more feedback from another person, just click the Add more button.

click the Add more button to add more feedback from another person

This MB Testimonial solution also provides some pre-built layouts. You can choose one.

choose one of pre-built layouts of MB Testimonials solution

Also can set some parameters for the styling.

set some parameters for the styling

There will be a shortcode automatically generated, just copy it since we will use it on the page.

copy the shortcode automatically generated

We had another tutorial on how to use the MB Testimonials solution to create and customize the testimonial section. You can watch it for more details.

Let’s move on to the next step.

Create Skins to Display Content from Groups

Since we have some fields in groups, and Elementor does not support displaying data from them directly on a template, we should create a skin for each group first.

Note that each skin is just for a group. So, there are how many groups of fields, there also are how many skins.

Go to Templates > Theme Builder.

Go to Templates > Theme Builder to create skin for groups

There will be the Meta Box Group Skin menu. Click on it and add a new skin.

Click on the Meta Box Group Skin menu and add a new skin.

In the Preview Settings section, select the Page and find out the name of your page.

In the Preview Settings section, select the Page and find out the name of your page.

Let’s add some elements and use Dynamic Tags to get and display content from subfields of the group.

Skin for the Menu

I will take this first skin for the menu for example.

Add a Section element to cover the menu.

Add a Section element to cover the menu

Add a Heading element for the name of the item.

Add a Heading element for the name of the item

This name is from custom fields, so use the Dynamic Tags, choose the Meta Box Field option.

use the Dynamic Tags, choose the Meta Box Field option to get the name of item

Then, look for the name of the field that saves the menu’s name. Here I chose Menu Tittle.

look for the name of the field that saves the menu’s name

Although the group for menu items is cloneable, just the first item will display on the preview. It does not matter.

Each menu item should be clickable and link to the URL that saves in custom fields as well. So in the Link option, also use Dynamic Tags, choose Meta Box Field option, and choose the field that saves the links.

in the Link option, also use Dynamic Tags, choose Meta Box Field option, and choose the field that saves the links of the menu

I have finished getting items to display on the menu.

Go ahead to create a new skin for getting content from another group. The next one is for the button.

Skin for the Button

Also add elements and use Dynamic Tags to get data from custom fields.

Also add elements and use Dynamic Tags to get data for the button from custom fields

This is a button, so you can style it a little bit.

style button a little bit

Skin for Features Section

Do the same for the skin to display the featured information.

Do the same for the skin to display the featured information

Skin for Pricing

If your landing page has nested groups, just create skin for the subgroup first. In this case, it is the skin for the items in each plan.

If your landing page has nested groups, just create skin for the subgroup first, here, create the skin for the items in each plan.

After that, create another skin for the group that covers it. Just add elements as usual for other content in the group.

create another skin for the group that covers it. Just add elements as usual for other content in the group

For content from the subgroup, add the Meta Box Group element.

For content from the subgroup, add the Meta Box Group element

Choose the name of the subgroup. And set the skin as the one we’ve just created.

Choose the name of the subgroup. And set the skin as the one we’ve just created

Remember to change the Type of this element to be the Subgroup as well.

change the Type of this element to be the Subgroup

Skin for Reasons Section

Next, do likewise to create a skin for the reasons section.

do likewise to create a skin for the reasons section

I have already created skins for all the groups for my landing page.

all of the skin for groups for the landing page

Create Template for the Landing Page

Go to the page editor and edit it with Elementor.

Go to the page editor and edit it with Elementor.

Set the Page Layout as Elementor Canvas to make this page totally blank without any pre-built header and footer.

Set the Page Layout as Elementor Canvas to make this page totally blank without any pre-built header and footer.

To create a header, just choose a reasonable layout. Here, I have 2 columns: one is for the logo, and the rest is for the menu.

To create a header, choose a reasonable layout. Here, I have 2 columns: one is for the logo, and the rest is for the menu.

Display Content from the Stand-alone Fields

In the first column, add a reasonable element for the content that is from a stand-alone field (which is not in any group), such as the logo of the landing page.

In the first column, add a reasonable element for the content that is from a stand-alone field

Then use Dynamic Tags to get data from the corresponding custom field.

click the dynamic tags and choose the Meta Box Field

choose the corresponding field

Display Content from the Groups

For the second column, since it's a menu from a group, and we’ve created a skin in the previous step, just look for the Meta Box Group element.

For the second column, since it's a menu from a group, and we’ve created a skin in the previous step, just look for the Meta Box Group element.

Set the name of the group as the one we created for the menu. And choose the corresponding skin. Then, you will see the menu display with all the items.

Set the name of the group as the one we created for the menu. And choose the corresponding skin. Then, the menu display with all the items.

So, we have a rule about getting data from the custom fields.

  • Firstly, for the content from the stand-alone field, just add a corresponding element, then use Dynamic Tags to get data from the wanted field.
  • Secondly, for the content from the groups, we had skin for each group. So, add the Meta Box Group element, set the name of the group that we want to get data from, and choose the corresponding skin.

Please be aware that we should follow this rule through all of these steps to get full content from custom fields.

follow the rule through all of these steps to get full content from custom fields

Display the Testimonial Section

We also have a special section for testimonials. It has the section’s title and description from custom fields, so follow the rule.

follow the rule to get Testimonial section’s title and description from custom fields

We created a testimonial with the MB Testimonials solution from Meta Box and copied its shortcode in the previous step. To get data from MB Testimonials, just add a Shortcode element.

To get data from MB Testimonials, just add a Shortcode element

Then paste the shortcode to the box as follows:

paste the shortcode to the box

And this is our landing page on the frontend with all information displayed, including testimonials.

the landing page on the frontend with all information displayed, including testimonials

The next work is styling this page.

Style the Page

Customize the Skins

You should style each element in the created skins first since the skin regulates how the data from the groups displayed. Just do it one by one.

You should style each element in the created skins first since the skin regulates how the data from the groups displayed. Just do it one by one

Customize the Page Template

Lastly, go to edit the page with Elementor. Style each element as well. Absolutely, you may need some CSS for advanced display.

go to edit the page with Elementor. Style each element as well. you may need some CSS for advanced display
You’ll have the new look of the landing page.

the new look of the landing page

But, I use this page as a sample only. It’s not for any specific marketing campaign. To create one for a campaign, we should go ahead to the next step.

Clone the Landing Page for Specific Campaigns

When you have a new marketing campaign, just follow these steps:

  1. Clone the dynamic landing page that we have just created to a new one;
  2. Change the page’s content in custom fields, and you’ll get a new landing page.

To clone the page but keep its layout built with Elementor, we should use a third-party plugin named Duplicate Page. It’s available on repo. Just look for it and install.

Look for and install Duplicate Page to clone the page but keep its layout built with Elementor

There will be a new option to duplicate the landing page under the page.

There will be a new option to duplicate the landing page under the page.

Just duplicate it to any number of pages you want. I just created two to easily show you the concept.

duplicate it to any number of pages you want. I just created two to easily show you the concept

Next, you should go to Custom Fields in Meta Box, and add location for the field group that we created for the landing page as the new pages.

go to Custom Fields in Meta Box, and add location for the field group that we created for the landing page as the new pages

Go to those pages editor, you will see that they inherit all the custom fields including data saved in them.

Go to those pages editor, you will see that they inherit all the custom fields including data saved in them

Just change it to the new one matched with your new campaign.

Just change it to the new one matched with your new campaign

Go to the pages on frontend, you will see that you now have different versions of pages. Just different in content but the same layout.

different versions of pages with different in content but the same layout

Last Words

We believe that this way will help to save a lot of time and effort in creating landing pages for multiple marketing campaigns. We hope that with the dynamic landing page, you’ll have new landing pages with new messages without touching the template anymore. Faster, more convenient, and more efficient.

Let’s try it and share your results with us. If you want to try this with other page builders, follow this series.

By the way, you also can apply this way to customize your homepage easily. We also have a tutorial on configuring the homepage regularly without touching code every time. Let’s check it!

Other case studies you might be interested in

  1. Create A Dynamic Landing Page in WordPress Using Custom Field
  2. Create a Filter to Find Hotels by Location
  3. Create an OTA Website Like Booking.com with Meta Box Plugin - P1: Create a Page to Introduce Hotel Rooms
  4. Create an OTA Website Like Booking.com with Meta Box Plugin - P2: Create Filters on the Archive Page
  5. Create an OTA Website Like Booking.com with Meta Box Plugin - P3: Create Filters for Single Hotel Pages
  6. Create Dynamic Favicon in WordPress using Meta Box plugin
  7. Create Posts Series in WordPress Using Meta Box
  8. Display The Latest Products Section - P2 - Using Meta Box and Elementor
  9. Display The Latest Products Section - P3 - Using Meta Box And Oxygen
  10. How to Add Custom Fields for WooCommerce - P2 - Using MB Views
  11. How to Add Custom Fields to Display Banners using Meta Box Plugin
  12. How to Add Guest Authors and Guest Posts - Using Meta Box
  13. How to Add Related Posts - Using Custom Fields
  14. How to Build a Hotel Booking Website Using Meta Box - P1
  15. How to Build a Hotel Booking Website Using Meta Box - P2 - Booking Page in Backend
  16. How to Build a Hotel Booking Website Using Meta Box - P4 - Booking Management Page
  17. How to Build a Hotel Booking Website Using Meta Box – P3 – Booking Page for Customer
  18. How to Create a Classified Ads Website using Meta Box
  19. How to Create a Custom 404 Page in WordPress - P1 - Using Meta Box and Elementor
  20. How to create a FAQs page - P5 - Using Meta Box and Breakdance
  21. How to Create a Product Page - P2 - Using Meta Box and Oxygen
  22. How to Create a Product Page - P3 - Using Meta Box and Bricks
  23. How to Create a Product Page - P4 - Using Meta Box and Elementor
  24. How to Create a Product Page - P5 - Using Meta Box and Gutenberg
  25. How to Create a Product Page - P6 -Using Meta Box and Breakdance
  26. How to Create a Product Page - P7 - Using Meta Box + Kadence
  27. How to Create a Product Page - P8 - Using Meta Box and Brizy
  28. How to Create a Product Page - P9 - Using Meta Box and Divi
  29. How to Create a Product Page using Meta Box Plugin
  30. How to Create a Recipe - P2 - Using Meta Box and Oxygen
  31. How to Create a Recipe - P3 - Using Meta Box and Elementor
  32. How to Create a Recipe - P4 - Using Meta Box and Bricks
  33. How to Create a Recipe - P5 - Using Meta Box and Zion
  34. How to Create a Recipe - P6 - Using Meta Box and Brizy
  35. How to Create a Recipe - P7 - Using Meta Box and Breakdance
  36. How to Create a Recipe - P8 - Using Meta Box and Kadence
  37. How to Create a Recipe - P9 - Using Meta Box and Divi
  38. How to Create a Recipe with Meta Box Plugin
  39. How to Create a Simple Listing - P2 - Using Meta Box and Bricks
  40. How to Create a Simple Listing - P3 - Using Meta Box and Breakdance
  41. How to Create a Simple Listing - P4 - Using Meta Box and Elementor
  42. How to Create a Team Members Page - P1- Using Meta Box and Elementor
  43. How to Create a Team Members Page - P2 - Using Meta Box and Oxygen
  44. How to Create a Team Members Page - P3 - Using Meta Box and Bricks
  45. How to Create a Team Members Page - P4 - Just Meta Box
  46. How to Create a Team Members Page - P6 - using Meta Box and Breakdance
  47. How to Create a Team Members Page - P7 - Using Meta Box and Kadence
  48. How to Create a Video Gallery Page - P2 - Using Meta Box + Bricks
  49. How to Create a Video Gallery Page - P3 - Using Meta Box and Breakdance
  50. How to Create a Video Gallery Page - P4 - Using Meta Box + Elementor
  51. How to Create a Video Gallery Page - P5 - Using MB Views
  52. How to Create a Video Gallery Page - P6 - Using Meta Box and Zion
  53. How to Create a Video Gallery Page Using Meta Box + Oxygen
  54. How to Create ACF Flexible Content Field with Meta Box
  55. How to Create an Auto-Updated Cheat Sheet in WordPress
  56. How to Create an FAQs Page - P1 - Using Meta Box and Elementor
  57. How to create an FAQs page - P2 - Using Meta Box and Oxygen
  58. How to create an FAQs page - P4 - Using Meta Box and Bricks
  59. How to Create an FAQs Page - P6 - Using MB Views
  60. How to Create an FAQs Page - P7 - Using Meta Box and Divi
  61. How to Create an FAQs Page - P8 - Using Meta Box and Kadence
  62. How to Create an FAQs Page - P9 - Using MB Blocks
  63. How to Create an FAQs Page -P3- Using Meta Box
  64. How to Create Buttons with Dynamic Link using Custom Fields
  65. How to Create Category Thumbnails & Featured Images Using Custom Fields
  66. How to Create Download and Preview Buttons - P1 - Using Meta Box and Bricks
  67. How to Create Download and Preview Buttons - P2 - Using Meta Box and Oxygen
  68. How to Create Download and Preview Buttons - P3 - Using MB Views
  69. How to Create Download Buttons in WordPress - Using Custom Fields
  70. How to Create Dynamic Landing Page in WordPress - P1 - Using Meta Box and Elementor
  71. How to Create Dynamic Landing Page in WordPress - P2 - Using Meta Box and Bricks
  72. How to Create Menus for Restaurants - P1 - Using Meta Box and Elementor
  73. How to Create Menus for Restaurants - P2- Using Meta Box and Bricks
  74. How to Create Notification Using Custom HTML Field
  75. How to Create Online Admission Form for School or University
  76. How to Create Online Reservation Form for Restaurants using Meta Box
  77. How to Create Relationships - P1 - Using Meta Box and Oxygen
  78. How to Create Relationships - P2 - Using Meta Box and Bricks
  79. How to Create Relationships - P3 - Using MB Views
  80. How to Create Relationships - P4 - Using Meta Box and Breakdance
  81. How to Create Taxonomy Thumbnails & Featured Images - P2 - Using Meta Box and Oxygen
  82. How to Create Taxonomy Thumbnails & Featured Images - P3 - Using Meta Box and Bricks
  83. How to Create Taxonomy Thumbnails & Featured Images - P4 - Using MB Views
  84. How to Create YouTube Video Timestamps on WordPress Website - P1 - Using MB Views
  85. How To Display All Listings On A Map With Meta Box
  86. How to Display Author Bio in WordPress - P1 - Using Meta Box and Bricks
  87. How to Display Author Bio in WordPress - P2 - Using MB Views
  88. How to Display Dynamic Banners in WordPress - P3 - Using MB Views
  89. How to Display Images from Cloneable Fields - P1 - with Gutenberg
  90. How to Display Images from Cloneable Fields - P2 - Using Meta Box and Oxygen
  91. How to Display Images from Cloneable Fields - P3 - with Elementor
  92. How to Display Images from Cloneable Fields - P4 - with Bricks
  93. How to Display Opening Hours for Restaurants - P1 - Using Meta Box + Gutenberg
  94. How to Display Opening Hours for Restaurants - P2 - Using Meta Box and Oxygen
  95. How to Display Product Variations - P1 - Using Meta Box and Gutenberg
  96. How to Display Product Variations - P2 - Using Meta Box and Oxygen
  97. How to Display Product Variations - P3 - Using Meta Box and Bricks
  98. How to Display the Dynamic Banners - P2 - Using Meta Box and Bricks
  99. How to Display The Latest Products - P5 - Using Meta Box and Bricks

Leave a Reply

Your email address will not be published. Required fields are marked *