Documentation

Print This page

Login Logout Menu Shortcodes

Login Logout Menu offers different shortcodes that will help you to implement different custom features on your Login, Logout Buttons, Profile link, and user name link. By implementing the follow shortcodes you can easily customize your login logout menus according to your requirements.

Following shortcodes are offered by the Login Logout menu to implement the different features

Shortcode For Login Button

If you want to customize your login button in terms of login redirect url, login button text, and custom css to create a custom login button then you have to define the following parameters in shortcode

$atts[login_url] > Parameter to change the Login redirect URL

$atts[login_text] > Parameter to change the Login button text

$atts[login_logout_class] > Parameter to define the custom CSS class for Login button styling purpose

If you want to change the Login redirect URL and Login button text then you can use the following shortcode given below.

Shortcode




Shortcode For Login And Logout Button

If you want to customize your both login and logout buttons then you have to define the following parameters in login logout menu shortcode 

$atts[login_url] > Parameter to change the Login redirect URL

$atts[logout_url] > Parameter to change the Logout redirect URL

$atts[login_text] > Parameter to change the Login button text

$atts[logout_text] > Parameter to change the Logout button text

$atts[login_logout_class] > Parameter to define the custom CSS class for Login & Logout button styling purpose

If you only want to change the Login redirect URL and Login button text in your Login & Logout menu then you can use the following shortcode given below.

Shortcode

Shortcode For Logout Button

If you want to customize your login button in terms of logout redirect url, logout button text, and custom css to create a custom logout button then you have to define the following parameters in shortcode

$atts[logout_url] > Parameter to change the Logout redirect URL

$atts[logout_text] > Parameter to change the Logout button text

$atts[login_logout_class] > Parameter to define the custom CSS class for Logout button styling purpose

If you want to change the Logout redirect URL and Logout button text then you can use the following shortcode given below.

Shortcode


Shortcode For Profile Button

If you want to customize your Profile link in terms of Account/Profile page url, profile button text, and custom css to create a custom profile button then you have to define the following parameters in shortcode

$atts[url] > Parameter to change the Account/Profile page URL

$atts[edit_text] > Parameter to change the profile button text

$atts[login_logout_class] > Parameter to define the custom CSS class for Profile button styling purpose

If you want to change the Profile page link and profile button text then you can use the following shortcode given below.

Shortcode

Shortcode For Registration Button

If you want to customize your Profile link in terms of Register page url, register button text, and custom CSS to create a custom register button then you have to define the following parameters in shortcode

$atts[register_url] > Parameter to change the Registration page URL

$atts[register_text] > Parameter to change the registration button text

$atts[login_logout_class] > Parameter to define the custom CSS class for Registration button styling purpose

If you want to change the Registration page link and registration button text then you can use the following shortcode given below.

Shortcode

Shortcode For Username Link

If you want to customize your Profile link in terms of Account/Profile page URL and custom CSS to customize user name link/button then you have to define the following parameters in shortcode

$atts[url] > Parameter to change the Account/Profile page URL

$atts[login_logout_class] > Parameter to define the custom CSS class for styling purpose

If you want to change the Account/Profile page link then you can use the following shortcode given below.

Shortcode