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

Archives: Snippets

mobile sticky menu chatgpt css

/* Reset some default styles */ body, h1, ul { margin: 0; padding: 0; } /* Hide the container by default for larger screens */ .mobile-bottom-menu-container { display: none; } /* Column styles */ .mobile-bottom-menu-column { flex: 1; text-align: center;…Continue reading

mobile sticky menu chatgpt html

Home Shop Cart AccountContinue reading

custom footer chatgpt css

/* Style the footer container */ #custom-footer { background-color: #fff; /* White background */ padding: 1px; width: 1200px; max-width: 90%; margin: 0 auto; } /* Reduce the margin bottom for elements within .footer-column */ .footer-column h3 { margin-bottom: 5px; /*…Continue reading

custom footer chatgpt html

About Us “Ilavanam is a farm in Tiruppur. Ilavanam is trying to lead sustainable living. The motto of this farm is not to earn more profit in agriculture but to lead a happy and healthy life with some sharing 😊🍃”…Continue reading

display user name in a menu

/** * Show a user’s display name/user name in a WordPress menu. * Once this code is added to your site, you may add {{username}} to the link text. * Follow this guide to add code to your WordPress site…Continue reading

remove ‘X’ remove button in cart

.woocommerce table.shop_table .product-remove { text-align: center !important; display: none; }Continue reading

REMOVE PRODUCT LINKS FROM YOUR SHOPPING CART

add_filter( ‘woocommerce_cart_item_permalink’, ‘custom_remove_cart_product_link’, 10 ); function custom_remove_cart_product_link() { return __return_null(); }Continue reading

Remove Order Notes in checkout page

/** * Snippet Name: Remove the Order Notes field section from the WooCommerce checkout. * Snippet Author: ecommercehints.com */ add_filter( ‘woocommerce_enable_order_notes_field’, ‘__return_false’, 9999 ); add_filter( ‘woocommerce_checkout_fields’ , ‘remove_order_notes’ ); function remove_order_notes( $fields ) { unset($fields[‘order’][‘order_comments’]); return $fields; }Continue reading

Set Minimum total purchase amount

add_action( ‘woocommerce_check_cart_items’, ‘required_min_cart_subtotal_amount’ ); function required_min_cart_subtotal_amount() { // HERE Set minimum cart total amount $minimum_amount = 200; // Total (before taxes and shipping charges) $cart_subtotal = WC()->cart->subtotal; // Add an error notice is cart total is less than the minimum…Continue reading

Super Socializer Signin with google style

.theChampLogin.theChampGoogleBackground.theChampGoogleLogin{ height: 44px; background-color: #4285F4; border-radius: 2px; box-shadow: 0 5px 10px 0 rgba(0,0,0,.5); width: 184px; } .theChampLogin.theChampGoogleBackground.theChampGoogleLogin:hover{ box-shadow: 0px 10px 20px 2px rgba(0, 0, 0, 0.25); } .theChampLogin.theChampGoogleBackground.theChampGoogleLogin::after{ margin-top: 1px; margin-left: 1px; margin-bottom: 1px; content: “Sign in With Google”; float:…Continue reading

Page navigation

Previous 1 … 197 198 199 200 201 … 270 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