• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Add page layouts to custom post type

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Add page layouts to custom post type

This topic is: not resolved

Tagged: add_post_type_support, custom post types, page layout

  • This topic has 2 replies, 2 voices, and was last updated 10 years, 1 month ago by Brad Smith.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • April 27, 2015 at 7:21 am #149289
    Brad Smith
    Member

    Trying to add page layouts to a custom post type called "resources".

    Added this line but not seeing the page layout option in the post editor on refresh. Is the syntax incorrect?

    add_post_type_support( ‘resources’, ‘genesis-layouts’ );

    Using Magazine theme

    Reference: http://brianlis.com/genesis-layout-options-for-custom-post-types.htm/

    http://www.toastmasters-d58.org/resources/speakers-bureau-front-end/
    April 27, 2015 at 9:44 am #149298
    DTHkelly
    Member

    Your ' are curved. For the actual code they should be straight.

    add_post_type_support( 'resources', 'genesis-layouts' );

    April 27, 2015 at 3:25 pm #149331
    Brad Smith
    Member

    Hey Kelly thanks for the suggestion.

    Found out the issue was something different. Using Easy Content Types from Pippins Plugins requires "genesis-layouts" to be added to this plugins 'Advanced Supports' field.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble