This code snippet will allow you to show different number of posts on homepage, per category, and post type without using any plugin.
Learn how to view list of existing partitions in Windows, delete a partition, create a new partition, format partition, and more using Windows PowerShell.
This PowerShell command will show you size information of disks, partitions, and volumes in Windows 8.
Add any of these code snippets to your active theme’s functions.php file in order to include or exclude one or more categories from the loop on your home page.
Drop this code snippet into your theme’s functions.php file to enable user login with email address, and also change login page text to inform about this functionality.
A WordPress code snippet to add navigation links to next and previous posts in the Post Editor page. Links are also shown for custom post types.
This snippet of code will allow you to add custom media type filters in the WordPress Media Library. The code as it is will add filters for DOC, XLS, PDF, and ZIP files.
This script will allow you to automatically search and replace a specific text in the clipboard with something else that you define.
Drop this code into your theme’s functions.php file to remove both ‘website’ and ’email’ field from WordPress’ comment form
This action will remove WordPress functionality of saving a commenter’s information – name, email, and website – in a cookie on their browser.