Support » Plugin: Custom Login Page Customizer by Colorlib » How do I add Login/Register and Logout to the menu?

  • Resolved Daniel


    So I have installed the addon, I configured everything, but how do I add it to the menu?
    I dont get it. Am I missing something?

    Thank you in advance

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support mplusb


    Hello @marketinggreenpaint,

    This is not something this plugin does.
    This plugin will only customize your login page.

    If you want to add those links to your menu I recommend using a plugin like this:

    All the best,

    I am not getting it. Nice concept but.. does is create a short code to put on a page. Where do you assign the page url for the login page? I have spend over an hour looking for something to work on my login page.

    This is a really simple request. How come you have left this out? Seems like a major oversight.

    Plugin Support mplusb


    Hello @remymedranda,

    Thank you for taking the time to reply here and for your feedback. We highly appreciate it!
    Currently this plugin was not designed to have the option to add the login/register page in the menu. This plugin serves a rather specific purpose – to change the design of the login page (which already exists).

    If you would like to add a custom link in a menu you can do that by going to your dashboard > Appearance > Menus > select your main menu > and then click on Custom Links > add the url of your login page > and a label and click on Add to menu > then save the menu.
    Here is a screenshot with an example:
    After you add it to the menu:

    Nonetheless, we will keep your suggestion in mind for a future update.

    Thank you for understanding,

    This will add a logout link to your main menu if the user is logged in:

    add_filter( 'wp_nav_menu_items', 'add_loginout_link', 10, 2 );
    function add_loginout_link( $items, $args ) {
    if (is_user_logged_in() && $args->theme_location == 'primary') {
    $items .= '<li><a href="'. wp_logout_url( home_url() ) .'">Logout</a></li>';
    return $items;

    I don’t think this should be part of the plugin as it’s outside the scope of login screen customisation…

    • This reply was modified 1 year, 9 months ago by thelyall.
    Plugin Support mplusb


    Thank you, @thelyall! 💖

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How do I add Login/Register and Logout to the menu?’ is closed to new replies.