Ticker

6/recent/ticker-posts

Ad Code

Responsive Advertisement

How to Create a Hidden Menu Item in Joomla 4

Introduction

Menus are one of the most important components of a website. And for Joomla, it plays an extremely essential role. It is a container of menu items that contribute to linking and navigating to each part of a web page. And the main menu items are part of a complete URL. And so are hidden menu items.

In the field of advertising and e-commerce, hidden menu items play a huge role. It is a place where links to pages show discount programs or events, promotional deals… but not on the front-end. So in today’s post I will show you how to create a hidden menu item in Joomla 4.

Let’s go!

How to create a hidden menu item in Joomla 4

For the illustration purpose, I’m gonna create a hidden menu item inside the Main Menu to featurd articles on my website.

Access the Menu Manager

From the Home Dashboard in the backend of your website, navigate to Menus > Main Menu:

Joomla 4 - Hidden Menu Item - Main Menu

Add a new menu item

Once you access the menu item manager, click the New button at the top to start adding a new menu item. You can also edit an existing one if desired.

Joomla 4 - Hidden Menu Item - Main Menu - Add New

In the edit screen, you have to provide a title and select a menu item type (Required). As mentioned above, I will click the Select button then choose Articles > Featured Articles as the menu item type.

Joomla 4 - Hidden Menu Item - Main Menu - Fill Info

Hide the menu item

Still in the menu item edit screen, click the Link Type tab. At the bottom, set the Display in Menu option to No to hide this menu item from the Main Menu on the front-end.

Joomla 4 - Hidden Menu Item - Main Menu - No Display

Click Save & Close to save your changes.

Joomla 4 - Hidden Menu Item - Main Menu - Saved

Review and access the hidden menu item on the front-end

Since you have hidden your menu item, you literally won’t see it on the front-end. However, you can still access the hidden menu item in Joomla 4 by typing its alias after your domain name.

For example, mine is featured-articles, so will type “featured-articles” on my browser’s address bar right after my website’s main address to access it.

Joomla 4 - Hidden Menu Item - Review Hidden Menu Item

And that’s how it works!

You now know how to create a hidden menu item in Joomla 4. Feel free to drop your comments if you have any questions. Thank you!

The post How to Create a Hidden Menu Item in Joomla 4 appeared first on LTHEME.

Enregistrer un commentaire

0 Commentaires