Genesis Child and Custom Post Type

i can’t test this as a child theme of Genesis, but i just tested it on a child theme of Thematic and it worked fine. there isn’t anything in the code that should prevent it from running. that said, i don’t like registering post types as part of a theme… what if you change the theme down the line…. do you just want to lose (not lose since it will still be in the database, but won’t display anymore). i’ve read a few posts about moving the registration of taxonomies and types to a site mu-plugin

see
http://justintadlock.com/archives/2011/02/02/creating-a-custom-functions-plugin-for-end-users

basically you will create a my-custom-functions.php file and put it in /wp-content/mu-plugins

and drop this code into that file. that you’ll always have the tesimonial type regardless of what theme you are using. i think it is good to keep themes focused on display and not adding important site-wide functionality.

Leave a Comment