• 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

Snippets not working

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 › Snippets not working

This topic is: not resolved

Tagged: child theme, News Pro, snippets

  • This topic has 3 replies, 2 voices, and was last updated 8 years, 2 months ago by Victor Font.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • February 20, 2018 at 2:20 pm #216818
    dkelsen
    Member

    Trying to remove "You are here" and change "Leave a reply". Using most recent version of Genesis w/ the News Pro child theme.
    Copied and pasted a few different versions of snippets, but no luck.
    Neither one changes.

    http://www.ocweekly.com
    February 20, 2018 at 4:43 pm #216831
    Victor Font
    Moderator

    These 2 snippets worked for me:

    add_filter( 'genesis_breadcrumb_args', 'sp_breadcrumb_args' );
    function sp_breadcrumb_args( $args ) {
    
    	$args['labels']['prefix'] = 'You are somewhere: ';
    
    return $args;
    }
    
    add_filter('comment_form_defaults','change_comment_reply_title');
    function change_comment_reply_title($arg) {
        $arg['title_reply'] = __("Don't Leave a Comment:");
        return $arg;
    }

    Regards,

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

    February 20, 2018 at 6:22 pm #216834
    dkelsen
    Member

    Thanks for the quick reply Victor. Oddly, the comments snippet works, but the breadcrumb does not. I've tried a few different things, still no luck. Still testing, but won't be able to until later.
    Thank you!

    February 21, 2018 at 8:30 am #216863
    Victor Font
    Moderator

    Are you sure you're using the Genesis breadcrumbs and not a different one like Yoast?


    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

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