Here’s a quick and dirty way to lock people out of viewing your PHP site while you’re working on it. Put this in a base file or at the top of any page that you don’t want rendered. [php][/php] You … Continue reading
I recently needed to convert some PSDs to HTML/CSS with pretty high accuracy, that is, the finished webpages needed to look very close to their original mockups. As is customary nerd style, I wrote some code to help me do … Continue reading
A common usability feature on a lot of sites is a “Back to top” link at the bottom of long pages, allowing users to quickly get back to the start of the document without scrolling.
Hey! I’ve written another quick method to detect AdBlock that works better than this one, I think. I’m leaving this one for posterity.
More precisely, this tutorial covers how to exclude categories on paged front pages, index.php, beyond the first default listing. Excluding certain categories from the front page is a pretty easy task, just use the query_posts() function to remove those categories … Continue reading
By default, WordPress sorts posts in reverse chronological order, with the most recent post being at the top and the least recent at the bottom. Normally, that’s totally cool, since that’s the way we’ve been accustomed to reading blogs, but … Continue reading