• 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

Remove 'You are here' from breadcrumbs in Genesis MagazinePro

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 › Remove 'You are here' from breadcrumbs in Genesis MagazinePro

This topic is: not resolved

Tagged: breadcrumbs

  • This topic has 4 replies, 2 voices, and was last updated 2 years, 8 months ago by EugeneHunt.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • July 2, 2020 at 1:58 pm #499849
    EugeneHunt
    Participant

    Greetings,

    I enabled breadcrumbs on my site Moneysaurus.com (not sure if they are necessary, but they are said to be good for SEO) but can't ged rid of 'You are here' phrase you have as an opener of any breadcrumb by default.

    I have tried to insert a code into function.php following the suggestion in this article (link) to delete the 'You are here' phrase but I get 'Nonce Check Failed' message each time I try to update the function.php file.

    Tried to disable 'Optimizer' plugin to see what can be an issue. Also read somewhere that it can be a question to the hosting provider although I don't get how this can be related to hosting. Deleted all cache. Nothing works.

    Would be grateful for suggestions.

    https://moneysaurus.com
    July 2, 2020 at 4:09 pm #499851
    Anita
    Keymaster

    Remove what you added and try this in the functions. Make sure you clear your cache.

    //* Modify breadcrumb arguments.
    add_filter( 'genesis_breadcrumb_args', 'sp_breadcrumb_args' );
    function sp_breadcrumb_args( $args ) {
    	$args['labels']['prefix'] = '';
    return $args;
    }
    

    Source - https://my.studiopress.com/documentation/snippets/breadcrumbs/modify-the-breadcrumbs-display/.


    Love coffee, chocolate and my Bella!

    July 3, 2020 at 4:37 am #499857
    EugeneHunt
    Participant

    Hi Alice,

    Thank you for the tip. When I try to include the code with "[ php ] [ /php ]" (added spaces so that the text is shown here) I get this (screenshot): https://www.screencast.com/t/zwkm4MBt

    I have tried to include the code without "[ php ] [ /php ]" and got the same 'Scrape nonce check failed' (screen): https://www.screencast.com/t/meoo4BSf

    I am clearing the cache before editing the code. After I paste it in function.php, I can't empty the cache since I need to update the file before accessing any buttons or the changes are lost.

    After spending some 1-2 hours yesterday and spending your time on this, I think I can live with 'You are here' phrase in breadcrumbs if there is no short solution. Thank you anyway.

    July 3, 2020 at 9:07 am #499865
    Anita
    Keymaster

    When you receive this message "Scrape nonce check failed" that means it's not saving to the database. Try editing the function.php in the file manager of your hosting account or set up FTP and use a code editor.

    That's an indicated that your hosting provider is not allowing you to edit the files in the dashboard.


    Love coffee, chocolate and my Bella!

    July 3, 2020 at 10:04 am #499866
    EugeneHunt
    Participant

    Anita,

    Thank you for explaining, that makes perfect sense to me. Will try to check if I can fix it with my hosting provider.

    You've been a great help. Thank you!

  • 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

© 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