Tag: web development

Filter out empty lines in WordPress

The visual editor in WordPress sometimes adds blank paragraphs against your will. Learn how to use a simple WordPress filter to remove all instances of <p>&nbsp;</p> from you posts’ content.

Tagged with: , ,

2 WordPress plugins for responsive websites

Starting a new responsive website? These two plugins cover some recurring front end necessities.

Tagged with: , , , , ,

Free WordPress plugin: Correct My Headings

For a correct heading hierarchy: on single posts pages AND on archive pages.

Tagged with: , , , ,

Password un-masking: Show passwords in clear text

Useit.com recommends it: “It’s time to show most passwords in clear text as users type them.” Here’s what it looks like on the web…

Tagged with: , , , , ,

inFrame: Open Links in Iframes with jQuery

Using inFrame the reader doesn’t have to go away from the blog post to view external HTML demo files. Just add a class of “inframe” to their links.

Tagged with: , , , ,

How to update an HTML image gallery (PHP tutorial)

In this tutorial I’ll walk you through the steps involved in building a databaseless PHP admin section for Smooth Gallery. When done, without much effort you should be able to adapt the code to fit any similar JavaScript image gallery.

Tagged with: , , , , ,

Using captcha without displaying it

How I use captcha without making my users complete the barely readable word Capthca sucks. For more information on how much captcha can suck see John Willis’ post Top 10 Worst Captchas. But at the same time it can be

Tagged with: , , , ,

Reasons not to use flash

Why shouldn’t you use flash for your website? Can there be anything wrong with a website that “enhances” the user experience by flying/zooming/swirling/flipping in like a .PPS document? Well, besides the lack of SEO, low usability (for example: back button

Tagged with: , , , ,

Firefox and Opera background-image bug?

Update: Fixed! Scroll to the end of the article to see how to fix this. Large centered bg image + Firefox + 800×600 resolution = trouble. Ok, let’s say my website has the following CSS code for the body: background:

Tagged with: , , ,

Secure a flat file using a .php extension

I need to store some sensitive data (user names and passwords) in a flat file. I don’t want to make any use of databases because this would defeat the whole purpose of the project. Of course, the passwords will be

Tagged with: , ,