WordPress – A bewilderingly popular CMS
Did you know that WordPress currently powers 40% of all websites across the world? Yep, it’s true. But why is it that WordPress has risen to such dizzying heights of popularity? Well, for one thing, WordPress makes it incredibly easy for website owners to create different types of menus which are an absolutely essential element on any website. Speaking of which, let’s discuss why a parent menu clickable function is important and how site owners can achieve it.
Why is parent menu clickable feature important?
By default, parent menu items in WP are not clickable. This can often lead to circumspection amongst netizens who mistakenly assume that the parent menu items are clickable, thereby becoming frustrated when they don’t work. So, in this tutorial, we will guide you on how to make parent menu clickable in WordPress.
How to make parent menu clickable in WordPress?
Step 1: Login to your WordPress dashboard
First things first, you need to log in to your WordPress dashboard. All you have to do is simply go to your website URL and append /wp-admin/ to it, like so: https://yourdomain.com/wp-admin/
Step 2: Navigate to the Appearance > Menus
Once you log in to the WordPress dashboard, click on the “Appearance” menu on the left-hand side of the dashboard, then click on “Menus”.
Step 3: Create a menu or select an existing one
If you haven’t created a menu before, simply give it a name and click on the “Create Menu” button. If you already have a menu, select it and click on the “Select” button.
Step 4: Add menu items
To add a new menu item, choose the page you want to add from the “Pages” section on the left-hand side and click on “Add to Menu”. You can do the same for “Links” and “Categories” sections.
Step 5: Make parent menu item clickable
To get your parent menu item clickable, you need to add a custom link as WordPress does not permit clicking on a parent menu item by default. Here’s where things get really interesting, you are going to create an empty # link for the parent menu item. Intriguing, isn’t it?
To create an empty # link, click on the “Custom Links” option on the left-hand side, enter # in the URL field, and give the parent menu a name.
Drag and drop the newly created empty custom link to the top of your menu hierarchy, just above the sub-menu items. This will ensure that the parent menu item is always clickable. Wow, what a journey!
Step 6: Save your changes
After making changes, click on the “Save Menu” button to save your changes.
Step 7: Preview the menu
You can preview your changes by clicking on the “Preview” button to see how your new menu looks.
Step 8: Publish the menu
If you are satisfied with the changes, click on the “Save Menu” button. Your new menu will now be available on your live website. Your visitors will be delighted with the bewildering choices now available to them!!
Making parent menu items clickable is a simple process that can be done in just a few minutes. With this simple guide, website owners using WordPress can take advantage of this feature to create more user-friendly menus for their website visitors.
Remember, after making changes to your website, it’s always recommended to preview your changes before publishing them live. We hope this article has helped you to learn how to make parent menu clickable in WordPress. If you have any doubts, feel free to leave a comment below.