https://millionclues.com/wordpress-tips/git-github-basics/
https://millionclues.com/wordpress-tips/git-github-basics/

https://millionclues.com/wordpress-tips/git-github-basics/

Post Thumbnails is a theme feature introduced in WordPress Version 2.9. It was quickly changed to Featured Images with Version 3.0. Basically, Post Thumbnail/Featured Image allows you to upload and assign a custom image to an article that is chosen as the representative image for Posts, Pages or Custom Post Types. Usually blog owners display…

In a previous article we have posted about how you can define new custom image sizes to use on your WordPress theme and how to remove default image sizes. You can define and add custom image sizes with the help of add_image_size() function in WordPress. In this article we will show you how you can…

By OutsourcedContent — on June 1, 2020 Add the following code to the functions.php of your active theme. add_filter( ‘woocommerce_marketing_menu_items’, ‘__return_empty_array’ ); This will remove the following Marketing menu added in WooCommerce 4.0

By OutsourcedContent — on August 29, 2017 Escaping a text with links can be replaced if escaped with __() during localization. This not ideal since the person writing the localizing file could replace links with their own. The proper way to do this is explained with an example below: sprintf( __( ‘If you like this…
When you upload an image to WordPress, it automatically crops uploaded image to a number of extra sizes. By default, WordPress generates three different sizes Thumbnail, Medium Size and Large Size. You can take benefit of these different size auto generated images by using them on different sections of your website. For example you can…

By OutsourcedContent — on June 29, 2021 WordPress by default will preserve capitalisation in filename for images. To make filenames lowercase automatically, add the following to the functions.php of your active theme. /** * Convert filename to lowercase * * @author Arun Basil Lal * @refer https://codex.wordpress.org/Plugin_API/Filter_Reference/wp_handle_upload_prefilter */ function prefix_convert_filename_to_lowercase( $file ) { $image_extensions =…
