Any idea what I did wrong?

Homepage Community Forums Ally Theme Support Any idea what I did wrong?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #3030
    jasonhobbsllc
    Customer

      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.

      http://cl.ly/NJj8

      #3031
      Wes
      Moderator

        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.

        #3032
        Wes
        Moderator

          His code looks a little different, but I’m not sure if that has anything to do with it or not.

          #3033
          jasonhobbsllc
          Customer

            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.

            #3036
            Wes
            Moderator

              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.

            Viewing 5 posts - 1 through 5 (of 5 total)
            • You must be logged in to reply to this topic.