About a week ago, we "migrated" Yoast.com to Genesis 2.0, in the process we switched to their new HTML5 / Schema.org code and we slightly updated our design, making the header shorter and making improvements to our responsive design. This was a bit of work, but not even half as much as that sounds like …Read: "Schema.org & Genesis 2.0"
Dev BlogWelcome to the dev blog, where you can find articles on subject matters such as WordPress code, a11y, Gutenberg and all other things related to programming.
Many web developers still use relative urls in their CMS. A relative url is a url that is not complete. Usually it's just the last part (the path) of a url, which means the domain name is left out. It's often used by web developers, because it comes in handy when moving content from a test or …Read: "Why relative URLs should be forbidden for web developers"
Recently, while working on the site for my father in law (in Dutch), I wanted to create an XML sitemap for the many publications on his site, that are downloadable PDF's. I regularly add PDF's to his site too, and since I'm a tad bit lazy I don't want to keep updating the XML sitemap. So …Read: "XML Sitemap PHP script"
At the end of March Twitter released a cool new feature called "Web Intents". I didn't really see the value of it till recently, but I've now started using it way more. When you have a Tweet button on your site, you're already using the Web Intents API, but you can do way more cool …Read: "Web Intents from Twitter"
A while back I outlined my system for preventing comment spam. One of the core fundamentals in there is that I send people an email to verify their email address before their comment is published. For this to work well, I need to trust on my email to be received. As it turns out, email …Read: "Email Reliability: use an SPF record"
So it's friday, I've been coding all day and I thought I'd share some of the cool snippets I've come across and/or developed today. I've mostly been working with Custom Post Types and Taxonomies, so let me share some of that goodness. Let's geek out in a bit, but first let me show you why …Read: "Custom Post Type Snippets to make you smile"
For a small project, I had to create a smart mailto link to make my life a bit easier. I wanted the mailto link to hold not only a to and the subject (I'd figured that much out) but a multi-lined body too. Turns out that is pretty darn easy to do. So, for my …Read: "The Full mailto Link Syntax"
As regular readers of this blog might know I have written quite some tools using the different API's of search engines, and always found them quite useful. When I was implementing my sitewide search function, one of the things that bothered me that it was a bit slow. I knew that I had seen some …Read: "PHP-APC: Speed up your web applications!"
Those of you coming to this site more often might have noticed a small change in the search box. It's now implemented sitewide, and I've built a sitewide search functions using the Yahoo! API. It was quite nescessary because I found that people were searching for "sortable.zip" on the blog, and they wouldn't find anything …Read: "Implementing a sitewide search function"
I'm doing some work on a site which has like 4,500 pages indexed with a PHPSESSID in the URL, causing some major duplicate content problems. I got the server admin to disable the PHPSESSID's by adding the following to the vhost config: I also wanted Google to get a clean URL when it decided to …Read: "PHPSESSID in your URL? Learn to 301 redirect them with PHP"