Magento 2. How to Add the CMS Page Link to Main Menu

➤ We will show the simplest way to add the page link to the Main Menu via the Admin Panel.
Copy the Page Content

1. Login to your Magento 2 Admin Panel and go to the Content > Pages menu.CMS page link menu

zemez wordpress themes

2. Find the page you want to add to the Main Menu and open it to edit.

CMS page link menu

3. Expand the Content tab.

4. To switch to the HTML editor press the Show / Hide Editor and copy the code.

CMS Page link to Main Menu

5. You’ll copy the page content with all text, images and widgets.

Create the new Static block

1. Tap Blocks under the Content menu.

CMS Page link to Main Menu

2. Then press the Add New Block button.

CMS Page link to Main Menu

3. You’ll move to the block settings interface.

4. Enter the title for the block.

CMS Page link to Main Menu

5. Next you should specify the block identifier (e.g. new-page) and select if the block will be available for All Store Views or for the Default Store View only.

[notice type=”warning”]Note, the block should be activated.

6. You need to use the HTML editor.

7. Press the Show / Hide Editor to activate the HTML editor.

CMS Page link to Main Menu

8. Insert the code you’ve copied.

9. Save the block.

CMS Page link to Main Menu

10. Now you have the static block which duplicates the content of the page you want to add to the Menu.

Add new category

1. Navigate to Products > Categories.

CMS Page link to Main Menu

2. Select the root category you use as default for your store (the Root Category should be highlighted).

CMS Page link to Main Menu

3. Then click the Add Subcategory button.

4. Enter the Category Name. The name will be used as the link label in the Main Menu.

CMS Page link to Main Menu

5. Open the Content tab and choose the newly added static block from the option dropdown (select the block with the duplicated page content).

CMS Page link to Main Menu

6. Expand the Display Settings tab.

7. Set Display Mode to “Static block only”.

CMS Page link to Main Menu

8. Go to the Search Engine Optimization tab to specify the URL Key, Meta Title, Meta Keywords, and Meta Description for the category.

CMS Page link to Main Menu

9. Move to the Design tab and set Layout to “1 column”.

CMS Page link to Main Menu

10. Save the category.

CMS Page link to Main Menu

11. Clear the Magento cache.

Remember, the block content should be updated each time you modify the actual page to keep the content identical.

Result:

CMS Page link to Main Menu

monster one