
I’ve been building a custom WordPress theme this week for a web development client, so I haven’t been able to make it over to the shop to work on shoes.
Actually the project is more about using WordPress as a CMS than simply building a theme. After days of research this week, I’ve learned the two following things:
The Archive page can be passed a date with a specific category and it will only display posts from that category for that date. Try if for yourself. The Archive Widget though can’t be made to pass a category, and unfortunately there aren’t really any good flexible widgets for doing this either. I had hoped to find a snippet of code that would do this somewhere and put it place of the get_sidebar() call, but no luck (and it would take too long to code it myself / I’m too lazy to try). wp_get_archives can’t be passed a category either. This is all very strange because otherwise WordPress is surprisingly flexible.
WP_Query is the best friend that someone could have when trying to do some non-standard wordpress templating, such as creating a page to display posts belonging to only one category.
Ok, so all of this is really boring. There’s a reason that I don’t post about my web development work. I’m thinking though that a custom template for this blog might come out of all this research at some point. That’s sort of fun, right?








