Are you using GeneratePress WordPress Theme and having a problem with adding Breadcrumbs for your website? All right, you are in right place. Please read this article carefully. In this article, we are describing two different ways to add Breadcrumbs into your website, if you are using the GeneratePress WordPress theme. Let’s see, How To Add Breadcrumb In GeneratePress WordPress Theme.
However, GeneratePress doesn’t have built-in breadcrumbs. Don’t worry about it, it is so easy to add breadcrumbs from a third party plugin using hooks.
We will use Yoast SEO free WordPress plugin for the examples below but the method should apply to any breadcrumb plugins. You can use any third party breadcrumbs. There is no single issue. All other plugins will be working as usual.
Enable Yoast SEO Breadcrumbs
Yoast SEO offers a breadcrumb feature. This feature is disabled by default. To use the Yoast SEO plugin’s Breadcrumbs, you must have to “Enable” the breadcrumbs feature from your dashboard.
go to SEO → Search Appearance → Breadcrumbs and enable the breadcrumb feature.
Enabling Yoast SEO Breadcrumbs:
Follow These Steps:
- Log in to your WordPress website. When you’re logged in, you will be in your “Dashboard”.
- Go to Yoast SEO => Search Appearance => Breadcrumbs
- Then Enable the breadcrumbs settings and click the Save Changes button.

Adding Breadcrumbs In GP Using Hooks Element
If you have GP Premium, then the easiest method is to use our Hooks Element. Just follow these steps to Adding Breadcrumbs Using Hooks Element.
Follow These Steps:
- Go to Appearance => Elements. Click Add New and select Hook to create a new hook element.
- Add the shortcode provided by Yoast: “Home / “
You can read Yoast SEO official article if you want to know more details about their shortcode: Implementation Yoast SEO Breadcrumbs - In the Hook dropdown list, select the desire location for the breadcrumbs to show using the visual guide. The usual option is the
"before_entry_title"hook. - Make sure Execute Shortcodes checkbox is checked.
- Go to the Display Rules tab and select Post under the Location dropdown list.
After this hook element is published, the breadcrumbs should now display in posts.
Adding Breadcrumbs In GP Using Functions
If you don’t have GP Premium, then the PHP code below is required to display breadcrumbs. Please copy this PHP code and past it into the bottom of the functions.php file.
Follow These Steps:
- From dashboard, go to Appearance => Theme Editor => edit functions.php file
- Then copy the PHP code and past it into the bottom of the funtions.php file
add_action( 'generate_after_header', function() {
if ( function_exists('yoast_breadcrumb') ) {
yoast_breadcrumb( '<div class="grid-container grid-parent"><p id="breadcrumbs">','</p></div>' );
}
} );
You can move the breadcrumbs by replacing generate_after_header hook with the desired hook. Read the article to know about all hooks that are using GeneratePress Theme. Check here The visual guide for all Generatepress theme hooks.
You May Also Read Our Recently Published Articles:
- Google AdSense Eligibility Checker Tool – Check Your AdSense Status
- How to activate Windows 10 without product key
- What is DA and PA? How to increase DA and PA of a Website?
- 15 Best Free Plagiarism Checker Tools in 2020
- Grammarly Review 2020: Write Better Article With Grammarly
- Quetext Review 2020: The Best Plagiarism Checker Tools
- ProWritingAid Review 2020: The Best Grammar And Plagiarism Checker Tools
- The Importance of Using Plagiarism Checker Tools
- Top 15 WordPress Caching Plugins for Speed Up Any Websites in 2020
- 15 Best Free Copyscape Alternatives Plagiarism Checker Tools
- How To Get Google AdSense Account Approval Easily?
Our Small Request, Please, Subscribe to Us!
We will send you notifications for every new blog post. You can unsubscribe at any time.

Leave a Reply to This Post