All posts ordered by popularity
Working with text in Chrome (and other Webkit-based browser) and Firefox can be frustrating. Depending on context, certain fonts may be displayed weird: too heavy, too fat, too thick, and so forth. So much so that the text can look distorted and difficult to read. Fortunately, we can apply the CSS font-smoothing property to make […]
Here are some scrap PHP scripts leftover from my work on Dashboard Widgets Suite. These functions were considered specifically for use with the System Information Widget, and provide a variety of details about the current server configuration and software setup.
Here is an easy custom WordPress function to display your theme’s search form via shortcode. This makes it easy to display the search form on any Post or Page.
Blazing fast snippet for you today: how to select all children except the last child. Targeting HTML with CSS has never been so much fun..
Quick WordPress snippet for getting the category ID from the category slug.
Another technique for working with WordPress attachments, here’s how to display all images that are attached to the post, either before or after the existing post content.
Quick snippet today that you can add to your .htaccess file to block some common XSS (cross-site scripting) attacks.
Two quick functions, one for adding a query string variable and another to remove a query string variable. Either of these functions can be used in any PHP script to modify query-string parameters.
Massive round-up of PHP and WordPress techniques for getting various directory and file path information. This is a mega-reference aimed at PHP/WordPress developers.
Here is how to force all HTTP requests to be either GET or POST. Easy to modify technique can be used for other types of requests as well.
This tutorial explains how to create new files and directories in the WordPress /uploads/ folder.