- This topic has 4 replies, 2 voices, and was last updated 9 years, 4 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Home › Community Forums › Ally Theme Support › Any idea what I did wrong?
Here is a link to where I am using the Theme:
http://capturethemagictraining.com/
I am using an event plugin to sell access to events and it uses a CPT called Event, so I added the following to the functions.php file:
/** Add Genesis Layout options to Event edit screen */
add_post_type_support( ‘event’, array( ‘genesis-layouts’ ) );
And it shows up on the edit page for the custom post type but when I choose a different layout and save, it reverts to the default.
I haven’t really got into CPT’s with Genesis just yet, so I have no idea why it’s not working. I googled and came across a couple tutorials. Here is one – http://wpsmith.net/2011/custom-post-types/understanding-custom-post-types-add-genesis-seo-and-layout-options-to-my-custom-post-type/ I believe @wpsmith wrote a couple more tutorials on the topic.
Let me know if that helps or not.
His code looks a little different, but I’m not sure if that has anything to do with it or not.
Thanks Wes, I tried his version but it still resets to the default after I choose a layout different than the default and click save.
I tried taking a look a little bit more, but I’m still not sure what it is. I’d try SP forums (if you haven’t already)….hopefully someone knows.