Page 1 of 1

When you enable this option, you will be presented with two dropdown options.

Posted: Thu Jan 23, 2025 5:12 am
by Mostafa044
Repeat this process for all the social media profiles you want to add. When you're done, select a menu item and then click the Save Menu button.

For more detailed instructions, check out our guide on how to add social media icons to WordPress menus .

3. Show different menus for logged in users in WordPress
If you run a WordPress membership website , you might want to display different menus to your logged in users. Here's how to easily achieve this.

First, you need to create two different menus. One for your logged in users and one for non-logged in users. You can name these menus “logged in” and “logged out”.

For more detailed instructions, see our tutorial on displaying different menus for logged in users in WordPress .

4. Add conditional logic to navigation menus
Do you want to change menus based on certain conditions? For example, list of anhui cell phone number a different menu on the homepage or hiding an item on individual posts. Here's how to achieve this in WordPress.

First you need to install and activate the If Menu plugin.

Once enabled, visit the Appearance ” Menus screen and click on a menu item you want to edit. You will see a new option to “Enable Conditional Logic”.

Conditional logic option for a menu item

You can choose whether to show or hide a menu when it meets certain conditions. For example, a menu item can be hidden when a user is an admin, or a menu item can only be shown when a user is editing a single post.