22 Snippets
10+ Favourites
20+ Downloads

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…

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…

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; }…

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 =…

Remove Order Notes in checkout page

/** * Snippet Name: Remove the Order Notes field section from the WooCommerce checkout. * Snippet…

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(); }

remove 'X' remove button in cart

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

home slider html

if (is_front_page()) : ?>

home slider css

/* Increase the image size in the slider */ .container { width: 100%; max-width: 90%; /*…

1 2