Popular Posts
All posts ordered by popularity
Maintenance mode via .htaccess
For WordPress users there are at least three great plugins that make maintenance mode just dead-simple. Even so, here is how to do it with .htaccess.
All WordPress Login Parameters
Here is a list of all the query string parameters used on the WordPress Login Page. Knowing these can be useful when you are customizing the Admin Area and related functionality, so you can be sure to cover all the bases.
Difference between home_url & site_url
Here are some notes to help discern the subtle (and oft-confusing) differences between the WordPress functions, home_url and site_url (and their related “get” functions, get_home_url and get_site_url). We’ll look at the output of these functions and how they relate to the WordPress General Settings.
WordPress Cron Not Working
Some servers disable the functionality that enables WordPress Cron to work properly. This post provides an easy fix that should work on any server.
Mac Terminal Change to Directory on External Drive
Here is how to cd (change directory) into an external drive using Terminal on Mac computers. The trick is knowing the name of the drive and where it is located. On Macs, all connected drives (including hidden drives) are mounted/located under the /Volumes directory. So we can use this information to get the names of […]
jQuery Scroll to Target with Offset
This tutorial shows how to create “scroll-to” links with jQuery. For example, if you want to add a link on your page that smoothly scrolls the user to a specific location, add the following code snippet to your JavaScript file.
Redirect URLs with .htaccess
Here is a quick cheat-sheet for redirecting URLs with .htaccess.
Protect Plesk stats
An important aspect of website security is protecting sensitive data such as your server statistics. Here is an important security tip for Plesk users.
90+ Free Stock Photo and Image Sites
Here is a growing collection of free stock photo sites. Before downloading and using any photos for your project, be sure to check the specific licensing policies of whichever site(s) you are considering. Most everything from the following sites are free and/or open source, but there may be certain exceptions. Make sure to check the […]
CSS Style Pre Tags
I enjoy writing about HTML pre tags. In this post, I share some basic CSS to help style your pre tags for both screen and print media.
Font Smoothing in Chrome & Firefox
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 […]
Getting Path Info with PHP and WordPress
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.