Skip to content
WPCode Library

WPCode Library

  • Features
    • Code Snippets Library
    • Smart Conditional Logic
    • Advanced Code Revisions
    • Private Cloud Library
    • Marketing Scripts & Conversion Pixels
  • Pricing
  • Snippets Library
  • Help Center
    • Docs
    • Support
  • Blog
  • Login
  • Get WPCode

Snippets library

Browse Snippets
Add Snippet

Category: Login

Untitled Snippet (copy)

(function(w,d,e,u,f,l,n){w[f]=w[f]||function(){(w[f].q=w[f].q||[]) .push(arguments);},l=d.createElement(e),l.async=1,l.src=u, n=d.getElementsByTagName(e)[0],n.parentNode.insertBefore(l,n);}) (window,document,’script’,’https://assets.mailerlite.com/js/universal.js’,’ml’); ml(‘account’, ‘307601’);Continue reading

Untitled Snippet

Continue reading

Untitled Snippet

Continue reading

CLOUD Meister – Login

add_action( ‘login_enqueue_scripts’, ‘cmx65_login’ ); function cmx65_login() { $login = array( ‘color’ => ‘#15adcb’, ‘focus’ => ‘#8d44ac’, ); ?> .language-switcher, .privacy-policy-page-link { display:none; } .forgetmenot { position:relative; top:5px; } .login #nav { text-align:right; } .login form, #loginform { position: relative; margin-left:…Continue reading

Logout URL

Continue reading

Replace WordPress Logo on Login Page (copy)

add_filter( ‘login_head’, function () { // Update the line below with the URL to your own logo. // Adjust the Width & Height accordingly. $custom_logo = ‘https://wpcode.com/wp-admin/images/wordpress-logo.svg’; $logo_width = 84; $logo_height = 84; printf( ‘.login h1 a {background-image:url(%1$s) !important; margin:0…Continue reading

Replace WordPress Logo on Login Page

add_filter( ‘login_head’, function () { // Update the line below with the URL to your own logo. // Adjust the Width & Height accordingly. $custom_logo = ‘https://wpcode.com/wp-admin/images/wordpress-logo.svg’; $logo_width = 84; $logo_height = 84; printf( ‘ ‘, $custom_logo, $logo_width, $logo_height );…Continue reading

Disable Login by Email

remove_filter( ‘authenticate’, ‘wp_authenticate_email_password’, 20 );Continue reading

Hide Login Errors in WordPress

add_filter( ‘login_errors’, function ( $error ) { // Edit the line below to customize the message. return ‘Something is wrong!’; } );Continue reading

Disable Login Screen Language Switcher

add_filter( ‘login_display_language_dropdown’, ‘__return_false’ );Continue reading

Company

  • About
  • Careers
  • Testimonials
  • Blog
  • Contact
  • Twitter
  • Facebook

Powerful Code Features

  • Ready-made Snippets Library
  • Smart Conditional Logic
  • Advanced Auto-insert Locations
  • Global Header & Footer Scripts
  • Safe Error Handling
  • WordPress Code Generators

  • Ecommerce Conversion Pixels
  • Dynamic Content Elements
  • Reduce Number of Plugins
  • Save Snippets in Cloud
  • Easy Code Management
  • Advanced Code Revisions

Helpful Links

  • Support
  • Documentation
  • Plans & Pricing
  • WordPress Hosting
  • Start a Blog
  • Make a Website

Our Brands


Awesome Products Start with an Awesome Team.

Over 21 million sites use our software. We believe in creating awesome user experiences. Whatever the market conditions or current trends, you will always find Awesome Motive leading the way to help our customers gain competitive business advantage and stay ahead of the curve.

  • WPForms
  • OptinMonster
  • MonsterInsights
  • WP Mail SMTP
  • RafflePress
  • SeedProd
  • TrustPulse
  • AIOSEO
  • Smash Balloon
  • Easy Digital Downloads
  • WP Simple Pay
  • PushEngage
  • SearchWP
  • WPBeginner

Copyright © 2023 WPCode. WPCode® is a registered trademark of WPCode, LLC

Terms of Service
Privacy Policy
FTC Disclosure
Sitemap
WPCode Coupon

Snippet Preview