• Skip to primary navigation
  • Skip to content
  • Skip to user navigation

Designody

WordPress and Genesis Tutorials

  • Get Started
  • About
  • Archive
  • Services
  • Membership
  • My Account
You are here: Home / Archives for snippet

snippet

Add Login/Logout menu items conditionally in Genesis

Last Updated on May 7, 2020Leave a Comment Favorited: 0 times

add_filter( 'wp_nav_menu_items', 'dy_conditional_nav_items', 10, 2 ); /** * Filter menu items to append Logout and Login links to Primary Nav for logged in and non logged in ... Continue Reading »

Categories: Free Content Tags: snippet

Built with Genesis Framework + WordPress

  • Contact
  • FAQ
  • Disclaimer
  • Privacy Policy
  • Copyright Policy
  • Terms of Service