Replace WordPress Logo on Login Page
Use your custom logo on the default login page, don't forget to edit the snippet...
Disable Login Screen Language Switcher
Hide the Language Switcher on the default WordPress login screen.
Hide Login Errors in WordPress
Improve safety by hiding the specific login error information.
Disable Login by Email
Force your users to login only using their username.
Extend Login Expiration Time
Toggling "Remember Me" will keep you logged-in for 30 days instead of 14 days.
Auto-logout inactive users
Automatically logout users after 10 minutes.
Sticky header
/*Sticky header*/ #site-header { position: fixed; top:0; opacity: 0.98; } #main { margin-top: 70px !important; /*…
display user name in a menu
/** * Show a user's display name/user name in a WordPress menu. * Once this code…
Keep me Logged In
Changes your Cookie expiration to one year so you don't have to keep logging so often.
Restrict Downloads to Purchase Email
Force users to be logged-in to download purchased files through Easy Digital Downloads and also require…
user menu for logged in and logged out users
function my_wp_nav_menu_args( $args = '' ) { if( is_user_logged_in() ) { $args['menu'] = 'logged-in'; } else…
Update Cart Automatically
/** * Update Cart Automatically on Quantity Change * * @author Misha Rudrastyh * @url https://rudrastyh.com/woocommerce/remove-update-cart-button.html…
Logout URL
This snippet creates a simple logout URL link that you can use as a shortcode.
test
test