Per Design

Mostly musings on design

Per Design

  • A very useful WordPress code snippet to know…

    As I was working on a custom WordPress theme (based on _s) I found myself trying to get the slug of a post to use as a class for additional styling. Unfortunately, WordPress doesn’t have a get_the_slug() function or a the_slug() function. Well, not built out like that at any rate. The “why not?” is…

  • October means constent leaf pickup

    So living in Michigan, I’ve now learned that October means constant leaf pickup. I guess I could wait until it all finishes dropping but I would like my lawn to get some decent sunlight and growing prior to it snowing. At any rate, it’s good exercise and the kids are pretty helpful as well.

  • CPT-onomies

    WordPress is great at providing a robust system for managing content. However, one of it’s pain points is trying to create a relationship between posts (i.e. post to post relationship). Yes there’s taxonomies but sometimes you really want to tie specific posts to other specific posts. This gets more complicated when you have three (or…