Different Menu for Logged-In Visitors
Shows another navigation menu to logged-in users in the same theme location, for example with "My account" and "Log out" instead of "Sign up".
Snippet Library
3,040 free snippets from the WPIDE team and the community. Copy the code, or add any snippet to your site in one click with WPIDE.
Shows another navigation menu to logged-in users in the same theme location, for example with "My account" and "Log out" instead of "Sign up".
Adds a "Duplicate this menu" button to Appearance > Menus that copies the selected classic menu with all its items and nesting, handy for trying a new structure safely.
Turns the small dropdown mobile menu of Divi's default header into a full-screen menu with large, easy-to-tap links.
Changes the "Menu" text next to the hamburger icon in GeneratePress, or removes it so only the icon shows.
Removes the previous and next post links from the end of single posts in GeneratePress, keeping categories and tags.
Adds an [html_sitemap] shortcode that lists all your pages and your posts grouped by category, giving visitors and crawlers one page that links to everything.
Removes the Downloads item from the My Account menu for customers who have never bought a downloadable product.
Marks the menu link that points to the section currently on screen (for one-page sites with #about, #services links), updating as visitors scroll.
Marks a menu item as current when visitors view a single item of a custom post type, so the "Portfolio" or "Events" link stays highlighted instead of "Blog".
Adds a small "Join the discussion" link with the comment count halfway through posts, so engaged readers find the comments faster.
Adds a [child_items] shortcode that lists the children of the current page or hierarchical item, such as sub-services under a service.
Appends a "Log in" link to your main menu for visitors and a "Log out" link for logged-in users, returning them to the same page.
Adds a Log in or Log out link at the end of a theme menu, depending on whether the visitor is logged in.
Adds a Log in / Log out link as the last item of your block theme's header navigation automatically, using block hooks.
Adds aria-current="page" to any link on the page that points to the page being viewed, for menus, widget link lists and footer links that do not mark it themselves.
Turns the dropdown of any menu item with the CSS class "mega-menu" into a wide, multi-column panel, in classic theme menus and the Navigation block.
Adds a new tab, such as "Resources" or "Support", to the MemberPress account page navigation with your own content.
Hides navigation menu items from people who don't hold a given MemberPress membership, using a CSS class like wpide-mepr-123 on the menu item.
Gives every classic menu location its own accessible name (for example "Primary menu" or "Footer menu"), so screen reader users can tell navigation regions apart.
Adds an "Underline on hover" style to the Navigation block, where a line slides in under menu links on hover and stays under the current page link.
Adds a public /wp-json/site/v1/menu/{location} endpoint that returns the menu assigned to a theme location as a nested list, ready for a headless or app front end.
Sends customers straight to their order list when they open My Account and removes the mostly empty Dashboard tab.
Hides pages such as Privacy Policy or Thank You from the Pages widget and sorts the rest by their menu order.
Hides navigation menu items from anyone who doesn't hold a matching membership level, using a CSS class like wpide-level-2 on the item.