• 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 "Script" section to Custom Post Types?

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 › Design Tips and Tricks › Add "Script" section to Custom Post Types?

This topic is: not resolved

Tagged: Custom Post Type, custom scripts, page-specific scripts

  • This topic has 4 replies, 3 voices, and was last updated 8 years, 2 months ago by Brad Dalton.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • March 2, 2017 at 11:49 pm #202389
    jeremyers1
    Member

    I LOVE how Genesis themes have a custom post-specific "Script" area for each post.

    Is there a filter I can add to functions.php so that I can include this in a custom post type?

    Here is a screenshot of the post editing screen section I am talking about:

    https://drive.google.com/file/d/0BzI6bzElhySZWG5OZWc2UVJzSUU/view?usp=sharing


    Blogger and Author

    March 3, 2017 at 1:50 am #202390
    Brad Dalton
    Participant

    Try this code


    Tutorials for StudioPress Themes.

    March 3, 2017 at 10:02 am #202402
    jeremyers1
    Member

    Thanks! That worked.


    Blogger and Author

    March 30, 2017 at 5:01 pm #204077
    webauthor
    Member

    I say we all get together, round up a few billion dollars and figure out a way to clone Brad!! We'll piss off his old girlfriends but hey - it's worth it!!

    You rock!!! Thanks Brad.

    March 31, 2017 at 12:53 am #204096
    Brad Dalton
    Participant

    Anytime @webauthor.


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Design Tips and Tricks’ 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