Select Page

Show remaining cost on WooCommerce site to get free shipping

Add this to the functions.php file and then add the shortcode of [shippingleft] to get it to show up. function how_much_shipping_is_left() { $min_amount = 100; //change this to your free shipping threshold $current = WC()->cart->subtotal; if ( $current <...

Hide menu items in the WordPress Admin Area

Use this to hide menu items in the WordPress admin area that you do not use. <?php function remove_menus_links(){ remove_menu_page( 'edit.php?post_type=portfolio' ); remove_menu_page( 'edit.php?post_type=team' ); remove_menu_page( 'edit.php?post_type=clients' );...