All posts ordered by popularity
Here’s an clean, simple way to add a tabbed sidebar menu using jQuery. You can see an example in the Introspection WP Theme.
WordPress 4.4 adds all sorts of new REST API functionality. Which is great if your site is using it. But if not, then you may want to remove all of the extra baggage that WordPress now adds to every page load. This tutorial explains how to disable it.
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.
Here we have a simple and effective PHP function that checks whether or not HTTPS (via SSL) is used for the current request.
Some servers disable the functionality that enables WordPress Cron to work properly. This post provides an easy fix that should work on any server.
Here is a list of the most common file-types for Apache’s mod_expires, which is used for configuring expires headers for better cache control.
Back in January of 2011, Chris Coyier posted a sweet .htaccess technique for setting up Simpler Login URLs in WordPress. This is a follow-up technique that’s slightly improved..
WordPress makes it clean and easy to enqueue custom stylesheets via the functions.php file. Here’s how to do it for user-agent stylesheets.
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 is a code snippet that runs the first time a user logs in to their registered account. Useful for sending custom welcome emails, or whatever.