Enable Breadcrumbs in Generatepress WordPress Theme(Guide)

Hello Bloggers, I am using Generatepress Theme for all my WordPress websites. Generatepress is one of the best WordPress theme because of Lightning Speed, Features, and Much more.

Do you know? “Breadcrumbs” is not enabled by default in the Generatepress theme so you have to enable that with the help of PHP code.

generatepress breadcrumbs

Actually, I am using the theme for the past three months. I am not aware of this suddenly one day I realized that Breadcrumbs in the most important feature.

I did a lot of research to find the code to enable breadcrumbs. Most of the bloggers are using the “Yoast SEO” plugin so I am using that plugin to enable breadcrumbs.

Guide to Enable Breadcrumbs in Generatepress Theme

Actually, I am using the GP Premium plugin(Paid). I will update this article as soon as possible with a free method to enable breadcrumbs.

  • Goto Appearance->Elements
  • Click Add New Button
  • Choose Element Type as “Hook”
  • Paste the below code
  • Check “Execute Shortcodes” & “Execute PHP”
  • Navigate to Display Rules and choose the location as “Post”
  • Finally, Publish the element
generatepress element
Generatepress Element
if ( function_exists('yoast_breadcrumb') ) {
  yoast_breadcrumb( '<p id="breadcrumbs">','</p>' );

The first step is completed. Now, You have to enable breadcrumbs in Yoast SEO plugin for that follow steps I have mentioned below.

  1. Navigate to “Search Appearance”
  2. Click the “Breadcrumbs” Tab
  3. Enable the button and Choose “Category” for Posts
  4. Leave other options default
  5. Finally, Save the changes
Yoast SEO Breadcrumbs
Yoast SEO Breadcrumbs

That’s it guys, Now check your website whether breadcrumbs is enabled or not. If you face any issues while following these steps please let me know via comments. I glad to help you. Also, check out the “Networx Bandwidth Monitor Tool” which is very useful for Bloggers.

Breadcrumbs Example

Frequently Asked Questions About Generatepress

Which one is best Generatepress or Genesis?

Do you know? Breadcrumbs feature is enabled default in the Genesis theme but as per my perspective, Genesis is outdated compared to Generatepress.

Is it compulsory to use Breadcrumbs?

Breadcrumbs help search engines to understand the concept of the post and it helps the users to navigate to the categories easily so I will recommend you to use breadcrumbs but the choice is yours.


I hope breadcrumbs will increase your website ranking. Test the breadcrumbs features and let me know the results. Share this article with your friends and other bloggers to help them.

Leave a Comment