I’ve spent the weekend tidying up the content on my site. The most significant change is that I migrated all code from my posts to GitHub. This may affect some feed readers (some might not include the code), but it makes managing and updating code far easier.
Preventing WordPress from altering code in the post editor has always been tricky, and many older posts contained mangled snippets. By moving code to GitHub, I no longer need to worry about WordPress modifying it. It also gives me a single canonical source of code that I can link to from multiple places—blog posts, code snippet pages, and more.
Other changes:
- Created a Code Snippets section on the site. This area holds small utilities and tips that don’t justify full blog posts but are still valuable to keep and search. A tag cloud at the top makes finding snippets easier. The RSS feed for code snippets remains available.
- Added an “old” category to the blog. Tutorials placed in this category are automatically labeled with a notice indicating the code may be outdated and is no longer maintained. These posts are also excluded from site search.
- Published a Contributions page that gathers all my tutorials, themes, plugins, code snippets, patches, and developer tools in one place. It’s helpful to finally have everything listed together for easy reference.
Take a look around the site and let me know what you think.