Wow, that title got me all dizzy. It's okay though, it's not that complicated, right? I just wanted to get this posted before I forgot what I did and where I did it. Since I use custom post types and custom taxonomies quite a bit, I need to reference this code quite a bit. On the current site I'm working on, here's what I have: Custom post type: Portfolio ( 'portfolio' ) Custom taxonomy: Portfolio Categories ( 'portfolio_cat' ) Portfolio category term archive: Media Analyst ( … [Read more...]
Remove The Comma Between Categories And Tags In Genesis
I often like to style my category and/or tag list differently then just a comma separated list (see the bottom of this post for an example). I've always done a bit of hacking using the_tags or the_category, which is okay... but not the fast, simple, and Genesis (affiliate link) way. The Genesis Way Enter Genesis Shortcodes. There is simple code already available on customizing the meta. Below is a gist from Brian Gardner: Notice the "post_categories" & "post_tags" shortcodes in … [Read more...]
Using Custom Post Types And Meta Fields To “Client-Proof” Adding New Content
In the website I recently launched, my client wanted to have the ability to add new videos to the portfolio section of their site. With the need to make this as streamlined and easy to use for a non-techie (and a person new to WordPress) to update, I decided to use custom meta fields on top of a custom post type. The client's need was also a bit tricky as they had some of their work on YouTube along with other videos being displayed on HBO's website. HBO has their own custom player so it … [Read more...]