Wordpress

Short tutorials for WordPress plugins, themes, WooCommerce, etc.

Fast Velocity Minify Best Settings to Combine JS Files

Fast Velocity Minify is one of the best WordPress plugins to minify and combine CSS and JavaScript files. To take advantage of the new HTTP/2 protocol, the current code of the plugin no longer combines the JS files by default. This can have a huge impact on your page speed.

Use Custom Fields to Find Related Posts

WordPress makes it easy to find posts in the same category, with the same tag, most recent posts and so on. You may want to refine what other posts you recommend when viewing a post. For example, in one category…

Set Image Sizes in WordPress

add_theme_support( ‘post-thumbnails’ ); set_post_thumbnail_size( 610, 610, true ); // sets the default featured image dimensions. add_image_size( ‘theme-blog-vertical’, 405, 500, true ); add_image_size( ‘theme-blog-small-square’, 300, 300, true );