Login Form Shortcode
Adds a [wpide_login_form] shortcode that shows a login form on any page, or a "you are logged in" message with a logout link.
Snippet Library
3,040 free snippets from the WPIDE team and the community. Copy the code, or add any snippet to your site in one click with WPIDE.
Adds a [wpide_login_form] shortcode that shows a login form on any page, or a "you are logged in" message with a logout link.
Covers the login page with a full-screen background photo and a dark overlay that keeps the form readable.
Adds a [wpide_lost_password] shortcode with a "reset your password" form and points WordPress's "Lost your password?" links to the page that holds it.
Shows a "back soon" message with a 503 status to visitors while logged-in staff browse the site normally. The login page stays reachable.
When an administrator creates an account, the new user is sent to their profile and asked to choose a new password before they can use the rest of the site.
Sends members to a different page after logging in depending on the membership they hold, for example Gold members to the Gold dashboard.
Shows visitors everything above the "More" block of a post and keeps the rest for logged-in members, with a login prompt where the content stops.
Adds a [wpide_member_download id="123"] shortcode that gives logged-in members a personal download link for a Media Library file and shows visitors a login link instead.
Sends logged-out visitors to the login page when they open entries or the archive of a chosen post type, and hides those entries from them in the REST API.
Adds a "Members only" box to the post and page editor; restricted content shows a login prompt to visitors and to roles you did not tick, and stays out of search and feeds for them.
Makes the subsites you list visible only to logged-in members of that site; everyone else is sent to the login page and non-members see a friendly notice.
Shows your own notice above the login form, for example to point customers to the shop account page or announce maintenance.
Shows the main site's custom logo on the login screen of every site in the network, linked to the site being logged in to.
When a user's public display name is the same as their login name (the WordPress default), switches it to their first and last name, or to a neutral name, so author bylines and comments do not reveal usernames.
Asks search engines not to index the posts and pages you list, such as thank-you, login or internal pages, while still following their links.
Pushes page information (page type, post type, categories, author, publish date and login status) to the dataLayer before Google Tag Manager loads, for use in tags and triggers.
Sends members to a different page after logging in depending on their membership level, for example Premium members to the premium library.
Makes the "Lost your password?" form accept only an email address, not a username, so the form can't be used to probe which usernames exist.
Adds an "Email me a login link" option to the login screen; members enter their email or username and get a one-time link that logs them in for 15 minutes.
Adds an "After login, go to" field to each user's profile so administrators can send specific clients or members to their own page when they log in.
Adds hint text inside the username, password and email fields on the login, lost password and registration screens.
Hides the login page behind a secret link: wp-login.php returns "Not Found" unless you have opened it with your key once in this browser.
Records the last 10 logins for each user (time, IP address and browser) and lists them on their profile screen so they can spot logins they do not recognise.
Sends people to a page of your choice (for example a welcome page) after they register through wp-login.php.