Over the last couple of weeks I have been dealing with the fine art of CSS. Although that is not my daily business anymore - because I lead the website review team here at Yoast - I really enjoyed mastering SCSS and using that for an actual design. During this field trip, I encountered several …Read: "Breaking up responsive design"
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.
I've been working on integrating our SEO plugins more deeply with Genesis the last few weeks and something dawned on me. Ever since I wrote my post on Genesis 2.0, I've been thinking: Genesis started a small revolution, but we should open that up. More theme developers should start doing a Schema.org API and if …Read: "Standardising WordPress theme hooks"
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"
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"
When you change domains, for instance using my moving WordPress to a new domain guide, you'll usually redirect your visitors with something looking like this: The only issue with this is that people might not notice that you've moved to a new domain, and thus might not update their links to you. As Matt Cutts …Read: "Change domain, and warn your visitors"
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"