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 :
Here we will learn How to Add WooCommerce Settings Tab in WordPress.
Below we have embedded the code that will remove or hide the update nags for non-admin users. For that, we need to copy the below code and paste it into your WordPress theme’s functions.php file.
Here we will see how to remove Contact Form 7 plugin's CSS and JS file to load except contact page.
Just put the code in your function.php file of the theme folder. Don't forget to change the Contact page id in the code.
Here we will learn about User pagination function in WordPress with get_users function. We have used user-role "member" for this example, you have to user your own created user role.
Some time we need to make content display vertical align middle. Here we will learn to make vertically aligned middle content with CSS in 100% height div.
Some time we have to show posts, pages custom posts after doing some filtering on basis of some particular field. Here we assume that you already have basic knowledge about WP_Query or get_posts class in WordPress. First of all we will filter the posts by simple one field.
Some time it's necessary to hide some menu item from wordpress admin sidebar menu. Here we will learn How to Hide Unnecessary Items From WordPress Admin. Just put the below function in your function.php file and replace the file url with your desired url.
Some time we may face the error file_get_contents() failed to open stream: while we move site to other domain or fetching the third party websites data into to our data. Here are one solution for this error.
In WordPress site, when we are doing custom changes in theme or plugins, we may need to pass argument or variable through the WordPress URL. Here we hare going to learn how to Add query string parameter/arguments to WordPress URL.
Here we will see How to add a simple jQuery script to WordPress. You can insert java-script file in your theme, child theme or plugin with using these WordPress functions.