How to Create Specific Menus in a Particular Page

By Prem Tiwari in Code Snippets, WordPress Snippets. Updated on

One of my website visitors has requested to share a tutorial which describes how to create specific menus in a particular page. Here is the question “Can I specify different menus for the different page in WordPress ?” like I have pages A, B, C, D and I have menus menu1, menu2. I want page A, B to load menu1 and C, D to load menu2.

How to create specific menus in a particular page

First create multiple menus like menu1, menu2, and menu3 and the respective page in menus and save. Copy the below code snippets and add at the end of the functions.php file.


I hope this tutorial helps you, if you have any questions regarding WordPress, then feel free to put your comments in below comment section. Do you like & share this article with your friends, and don’t forget to follow us on Facebook and Twitter to learn cool WordPress tutorials.

Sharing is caring!

Prem Tiwari

An engineer by profession and a passionate blogger by heart. Founder of (A Programming blog for beginners), Tech Speaker at various forums. A part from this he is an open source enthusiast, WordPress Lover, Blogger, SEO, and Growth Strategic.

You might also like:

Tags: , , , , , , , , ,

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.