• 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

Adding genesis simple sidebar support to genesis cpt archive settings page.

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 › Adding genesis simple sidebar support to genesis cpt archive settings page.

This topic is: not resolved

Tagged: genesis cpt archive settings, Genesis Simple Sidebars

  • This topic has 3 replies, 3 voices, and was last updated 5 years, 5 months ago by Victor Font.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • December 21, 2017 at 5:31 pm #214721
    hortonsart
    Member

    I'm using the genesis simple sidebars plugin on a site I'm developing and was wondering if anyone has a solution to adding the sidebar selection box to the genesis cpt archive settings page?

    I've added the support for individual posts i.e.:
    add_post_type_support( 'myposttype', 'genesis-simple-sidebars' );
    but I can't seem to figure out how to add support for a cpt archive?

    Any help would be greatly appreciated.

    December 21, 2017 at 8:34 pm #214724
    ᴅᴀᴠɪᴅ
    Member

    add_action( "{tax}_edit_form", 'ss_term_sidebar', 9, 2 );

    replacing {tax} with the name of the taxonomy.

    eg...

    add_action( "people_edit_form", 'ss_term_sidebar', 9, 2 );

    if people was the name of the taxonomy.


    I love helping creative entrepreneurs build epic things with WP & Genesis.

    Follow on Twitter

    December 21, 2017 at 11:39 pm #214727
    hortonsart
    Member

    That seems to only work for a custom taxonomy not a custom post type archive settings page.

    December 22, 2017 at 5:40 am #214733
    Victor Font
    Moderator

    See if this helps: https://gist.github.com/nciske/6e2cc398f270d34207d5


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 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

© 2023 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