• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Appfinite

Appfinite

Premium WordPress Themes for The Genesis Framework

  • Themes
  • Blog
  • Tutorials and Resources
  • Forums
  • Contact Us

Any idea what I did wrong?

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

  • This topic has 4 replies, 2 voices, and was last updated 9 years, 4 months ago by Wes.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • March 4, 2013 at 12:21 pm #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

    March 4, 2013 at 12:39 pm #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.

    March 4, 2013 at 12:40 pm #3032
    Wes
    Moderator

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

    March 4, 2013 at 12:58 pm #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.

    March 4, 2013 at 8:51 pm #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.

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

Primary Sidebar

Search Forums

Affiliate Program

Looking to earn some money? Join our Affiliate program and earn 35% of every sale you refer. Top referrers earn 40-50%.

Join Now →

The Genesis Framework

All of our themes are designed for the Genesis Framework. You will need to purchase Genesis in order to use any of our themes.

Purchase Genesis

Hire a Web Developer

Need help setting up or customizing your website?

Contact Us →

Search Full Site

  • Buy Genesis!
  • Shopping Cart
  • Themes
  • My Account
  • Support Forums
  • Tutorials and Resources
  • Privacy Policy
  • Contact Us
  • Follow Us on Twitter

Copyright © 2022 · Appfinite · Built With The Genesis Framework