Adding a login/logout link to your WordPress Genesis theme may be necessary when you are managing a membership site or a site that displays proprietary information. Recently, a Trinity client wanted to hide price lists to the general public, while making them available to their wholesale clients.
Creating the login/logout links is not difficult to accomplish once the business logic and site site architecture is developed. Once thought through, the actual implementation is quite easy.
How To Add a Login/Logout Link To Your WordPress Genesis Theme
Add the above code to the bottom of your child theme’s functions.php file and login/logout will appear in your primary nav menu.
Take The Experience To The Next Level
Adding the above code to the functions.php file will direct you to the WordPress logon screen, but is that the best user experience? Probably not. We wanted to enhance the user experience in two ways: create a custom branded WordPress login screen and then take the user to the page we believe that want to go.
Trinity Web Media’s New Jersey WordPress Development team did this in two steps:
We installed the LogIn Press free plugin and customized both the login in screen and the login redirection.
Creating a great user experience is essential for your visitors. With the above instructions you can create an experience that will direct your users to what they need and where they need to be.