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”…
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”…
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…
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…
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:
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,…
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…
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…