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.