All posts ordered by popularity
Here are some notes and examples of how to check if a user is logged in to WordPress.
CSS transitions can add a nice effect to links. Here are some quick example snippets for your copy/paste enjoyment.
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.
Quick tip to view all WP Post variables, which can be useful for development and debugging in WordPress.
Here we have a simple and effective PHP function that checks whether or not HTTPS (via SSL) is used for the current request.
While working on a recent book-sale script, I needed a way to test various request headers. This script is what I used to spoof just about everything except the IP address (which it seems is not possible to spoof via PHP/cURL).
Quick code snippet for detecting all versions of good ’ol IE (Internet Explorer).
Here’s how to set the first attachment as the featured image for posts in WordPress. This is useful for User Submitted Posts, which attaches uploaded images to each submitted post.
Quick WordPress snippet for getting the category ID from the category slug.