Skip to content
WPCode Library

WPCode Library

Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!

Get WPCode
See all Features

  • 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
Claim your Free Profile
Add Snippet

Category: Login

Login ‘Remember Me’ checked by default

/*’Remember Me’ checked by default */ add_action( ‘init’, ‘rd_login_checked_rememberme’ ); function rd_login_checked_rememberme() { add_filter( ‘login_footer’, ‘rd_check_rememberme’ ); } function rd_check_rememberme() { echo ““; }Continue reading

Failed login: Don’t show if username is correct

/* If a user’s login fails, don’t tell them whether the username or password was incorrect */ add_filter ( ‘login_errors’, ‘rd_failed_login’ ); function rd_failed_login () { return ‘Login failed because either your username or password is incorrect. Please try again.’;…Continue reading

Untitled Snippet

Continue reading

cart preview image stretch fix in oceanWP theme (copy)

/*Menu cart hover dropdown box image stretch fix*/ .woocommerce ul.product_list_widget li img { float: unset !important; display: block !important; min-width: 80px !important; height: 80px !important; margin-left: unset !important; position: relative !important; } .woocommerce ul.product_list_widget .wpr-mini-cart-image { display: inline-block; float: left;…Continue reading

Header end footer

/* Style the footer container */ #custom-footer { background-color: #fff; /* White background */ padding: 1px; width: 1200px; max-width: 90%; margin: 0 auto; }Continue reading

Untitled Snippet

Continue reading

Untitled Snippet

Continue reading

Subscriber

https://youtube.com/@R0CKHEMAR?si=1cHo63EBjMpUjblmContinue reading

pixel 1

Continue reading

Untitled Snippet

Continue reading

Page navigation

Previous 1 … 5 6 7 8 9 … 13 Next

Company

  • About
  • Careers
  • Testimonials
  • Blog
  • Affiliates
  • 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

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

Terms of Service
Privacy Policy
FTC Disclosure
Sitemap
WPCode Coupon

The WordPress® trademark is the intellectual property of the WordPress Foundation. Uses of the WordPress®, names in this website are for identification purposes only and do not imply an endorsement by WordPress Foundation. WPCode is not endorsed or owned by, or affiliated with, the WordPress Foundation.

Snippet Preview