• 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

Code Snippets Pages Missing Parts Of Code

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 › Forum Bugs and Suggestions › Code Snippets Pages Missing Parts Of Code

This topic is: not resolved

Tagged: broken code, code snippets, missing end tags

  • This topic has 4 replies, 3 voices, and was last updated 12 years, 4 months ago by nickthegeek.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • March 8, 2013 at 2:40 am #24958
    ShanG
    Member

    On the code snippets pages, the code boxes that we copy the code from is missing parts of the code such as ending tags, etc. I caught this, but newbies won't and it will break their themes.

    For example, the code to enable the Author Box on individual posts is this:

    /** Display author box on single posts */
    add_filter( 'get_the_author_genesis_author_box_single', '__return_true' );
    

    It is missing the ending ");" This isn't the only code snippet I've found that had this problem. I'm using FF 19.0.

    Please fix this. 🙂


    Shan

    LastShredsOfSanity.com
    SkewedDesignStudios.com

    March 8, 2013 at 3:02 am #24960
    Brad Dalton
    Participant

    Good pick up Shan.

    Some friendly advice, please read FAQ No.5 about how to post code snippets in forum replies. Thanks.http://www.studiopress.community/faq/


    Tutorials for StudioPress Themes.

    March 8, 2013 at 3:28 am #24961
    ShanG
    Member

    I thought I could only use the tags listed in the box. LOL
    https://gist.github.com/5115275.git


    Shan

    LastShredsOfSanity.com
    SkewedDesignStudios.com

    March 8, 2013 at 3:35 am #24962
    ShanG
    Member

    The gist cloning doesn't work, either.


    Shan

    LastShredsOfSanity.com
    SkewedDesignStudios.com

    March 15, 2013 at 6:08 am #27099
    nickthegeek
    Member

    where is the gist cloning not working?

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

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