Code Canal is the simple Web resource site for WordPress, Magento and other CMS and frameworks, with easy to understand technologies and provides easy tutorials for the creating and editing site.
Our Latest Tutorials Guide for WordPress :
In normal WordPress hosting, they allow to upload normally 2MB files in media library. But this is not enough for some big content site. In this article, we will show you how to increase the maximum file upload size in WordPress without using any type of plugin.
While designing WordPress theme sometimes we require to show different layout or design according to user's - client's browser or Operating System. So that we can achieve our best result as we want. In this article we will learn How to Add Browser and OS ( Operating System ) Classes in WordPress Body Class By Custom Function.
Put the following code in your theme's function.php file.
In the WordPress, to add additional image thumbnails you need just put the given code into your function.php file or your relative WordPress plugin file.
If you want to remove admin bar for the users except admin, you can remove it by putting this simple code in function.php file or in the plugin file.
If you want to get the click event for outside of some specific Div or area, than a simple solution for the situation is:
To completely remove your WordPress version number, you will need to add the following function to your functions.php file:
You can sort Products in Cart by SKU in Woo Commerce by following the given functions.
Just you will need to add the following function to your functions.php file:
To make smooth scrolling on the current page just copy past the java-script given here...