by matt | Jun 15, 2019 | WordPress
How to Modify the Subject of Divi Contact Form Emails to prevent Gmail Stacking and be More User-Friendly
by matt | Jun 18, 2017 | WordPress
add to your function.php file the following code : // my custom menu function mymenu_get_menu_items($menu_name){ if ( ( $locations = get_nav_menu_locations() ) && isset( $locations[ $menu_name ] ) ) { $menu = wp_get_nav_menu_object( $locations[ $menu_name ] );...
by matt | Jun 13, 2016 | Uncategorized, WordPress
If you are looking for a simple way to remove the “review” tab from the single product view throughout your project you need to add the following snippet to the function.php file of your theme: add_filter( ‘woocommerce_product_tabs’,...
by matt | May 31, 2016 | SQL, Uncategorized, WordPress
If you want to get all the WooCommerce products ready to be saved into a CSV / Excel file run the following query: SELECT ID, post_status, post_title, post_content, post_excerpt, guid FROM `wp_posts` WHERE (`post_status` = ‘publish’ OR `post_status`...
by matt | May 9, 2016 | Uncategorized, WordPress
Add the following snippet to your functions.php file in your theme. add_filter ( ‘woocommerce_before_cart’ , ‘allow_single_quantity_in_cart’ ); function allow_single_quantity_in_cart() { global $woocommerce; $cart_contents =...
by matt | Apr 10, 2016 | Uncategorized, WordPress
WordPress with WooCommerce extension by default hides categories which have no products inside. Unfortunately for some reasons there is no option in the backend of WooCommerce to change it. We need to add a simple snippet code to our functions.php file: add_filter(...