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

How to make WordPress print the date every time

If you are using the template function the_date or get_the_date while listing posts you might notice that the date doesn’t get printed every time. This is because the previous day is stored so that it doesn’t print the date stamp

Tagged with: , ,
Posted in Beginner

Style WordPress images and captions

When inserting an image into the rich text editor you get the following: When viewing the code in the HTML tab you see that the following Shortcode is created: And the Shortcode creates the following HTML: When developing new themes

Tagged with: , ,
Posted in Beginner

Embed Flash files in WordPress

While developing a site for a client a need emerged for us to be able to embed Flash files in the content. To do so you could paste some HTML in the content editor and hope for it not to

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 121 other subscribers