/* 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
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
/** * 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
.woocommerce table.shop_table .product-remove { text-align: center !important; display: none; }Continue reading
add_filter( ‘woocommerce_cart_item_permalink’, ‘custom_remove_cart_product_link’, 10 ); function custom_remove_cart_product_link() { return __return_null(); }Continue reading
/** * 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
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
/** * Update Cart Automatically on Quantity Change * * @author Misha Rudrastyh * @url https://rudrastyh.com/woocommerce/remove-update-cart-button.html */ add_action( ‘wp_head’, function() { ?>Continue reading
function my_wp_nav_menu_args( $args = ” ) { if( is_user_logged_in() ) { $args[‘menu’] = ‘logged-in’; } else { $args[‘menu’] = ‘logged-out’; } return $args; } add_filter( ‘wp_nav_menu_args’, ‘my_wp_nav_menu_args’ );Continue reading