Because the vast majority of LearnDash sites expect users to be signed in, it’s important to make the login and logout processes as easy as possible. Our Log In/Log Out Links module in the Uncanny LearnDash Toolkit makes it simple to add login and logout links (as well as a registration link) to your menu, widgets and posts.
Links in Menus
Once the module is enabled, visit Appearance > Menus while signed in as a WordPress administrator. You’ll see a new section for Uncanny Menu Links, per the screenshot to the right. Choose any of the menu entries and click Add to Menu to add them to the current menu. The “Log In / Log Out” entry is the most common option, as it shows a Log In link to signed-out users and a Log Out link to signed-in users automatically.
The “Front end login modal” option requires that the Front End Login module be turned on, AJAX enabled in its settings, and the “Boxed with shadow” template selected.
To add the links to a widget or post, use the shortcodes below:
Log In link
Log Out link
Log In / Log Out link
Register page link
Please note: The Toolkit does not include a registration page or WordPress registration functions. This link will just point to whatever you already have set up for a registration page, which may be an unbranded WordPress page. For nice registration pages, we like to use Gravity Forms with the User Registration add-on.