Blog Archives

“Human readable” date

Here’s a short code snippet you can use if you want your date to be displayed as “Today”, “Yesterday” or “X days ago”. To accomplish this, simply add a filter to the_date. In my example it shows “X days ago”

Tagged with: , ,
Posted in Beginner

Different headers and footers using the $name argument

Both the_header and the_footer functions except a $name argument which allows you to specify other headers than the default header.php and footer.php. Example: WordPress would then look for header-special.php in your theme directory. If you want to specify a different

Tagged with: , ,
Posted in Beginner

Disable password changed/reset e-mail notification

One of the bigger projects I am working on currently has 30k+ users. Having that many users means that many also will reset their password, and you will receive an e-mail every time. So how do you disable it? The

Tagged with: , ,
Posted in Beginner

Case-insensitive tab completion in the Mac OS X Terminal

If you are like me, you use the Terminal a lot. By default the terminal has case-sensitive tab completion, meaning that if you type ‘s’ and press tab it would not suggest a file/folder called ‘S’. Luckily, this is quite

Tagged with: ,
Posted in Beginner

New plugin – Quick Find!

This plugin adds a hierarchical navigation to your ‘Pages’ menu. This enables you to quickly find the page you want to edit. Simply activate it to get it working! Download now Screenshot:

Tagged with: ,
Posted in Beginner

Add the browser name and version to the body class

As suggested by Phil Irish, the best way to make browser specific CSS is with a class on the body element rather than separate CSS files or complex hacks. In his example he used conditional HTML to create multiple body-tags,

Tagged with: , ,
Posted in Beginner
About

WordPress Quick Tips is a blog supplying great tips about WordPress.

We hope to create a great knowledge resource for WordPress developers as well as serving a reminder for all the forgetful ones.

The blog is created and run by Vincent of Oakwood Creative

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 120 other followers