Exercise 1.6: Configure the related links menu block
Last updated
Last updated
The last step is to configure the new menu block.
Go to Structure → Block layout and find the Related Links block. Click Configure.
Configure the Title. We’ll leave it at the default, but this is where you can:
Enter a new title.
Unselect the Display title checkbox to remove the block title.
In the Visibility settings you’ll notice options for:
Pages - show or hide the block on specific pages.
Content Types – display the block alongside specific content types.
Roles – display the block to specific roles.
You’ll often need to alter a block’s Pages visibility settings. For this exercise, we want the Related Links menu to appear only on the About us page we created earlier, and the homepage of our site.
Under Pages → Show for the listed pages, enter the URL paths of the pages that we want to display the block, e.g. /about-us-0
On a new line in the Pages text area, enter <front>. This will ensure your Related Links menu block is displayed on the front (home) page of your site.
Click Save block.
The Related Links menu will only be displayed on the front and About us pages.