WordPress Multiple Thumbnail Support

I am searching this solution for sometimes, like how to make post/custom post featured image to be multiple. Lucky i found some insight, so let’s just check it out. Edit functions.php at active theme’s folder and add the code below : /* SETTING ENABLE THUMBNAIL SUPPORT */ add_theme_support( ‘post-thumbnails’ ); Go to this link https://wordpress.org/plugins/multiple-post-thumbnails/ …

Woocommerce Bulk WP_Options Session & Transient

WP_Options is the table where woocommerce saved their transients and sessions of the customer’s activity(cart,wishlist,etc). So along the time it will get bulky in the cases i had seen it’s over than 1 gigabyte and it isn’t normal for me. We can delete the transients and sessions through menu wp-admin => woocommerce => system status …

WooCommerce Set Product Display Per Page

Simply just add this code below to your theme functions.php // Display 24 products per page. Goes in functions.php add_filter( ‘loop_shop_per_page’, create_function( ‘$cols’, ‘return 24;’ ), 20 );

WooCommerce Disable Add to Cart

Simply just add this code below to your theme functions.php /* REMOVE ADD TO CART */ remove_action( ‘woocommerce_after_shop_loop_item’, ‘woocommerce_template_loop_add_to_cart’); remove_action( ‘woocommerce_single_product_summary’, ‘woocommerce_template_single_add_to_cart’, 30 );

Disable WordPress Post Page Revision

WordPress provides revision on page or post with 1 minutes interval auto revision / saved. This could feature could make your database become huge, so there’s a way to disable this. Open wp-config.php located in your WordPress root directory and add the following code: define(‘AUTOSAVE_INTERVAL’, 300 ); // seconds define(‘WP_POST_REVISIONS’, false ); The code will …