Skip to content Skip to sidebar Skip to footer

How To Make And Add Breadcrumbs To The Generatepress Theme

How To Make And Add Breadcrumbs To The Generatepress Theme – a WordPress theme with a built-in Breadcrumb feature becomes more valuable when you are looking for a WordPress theme that is right for your website.

If the breadcrumb is not available on the theme, don’t worry, because you can still use the help of an SEO plugin (Yoast or Rank Math Plugin) to create and add breadcrumbs to the theme.

In this article, we will show you how to add and create breadcrumbs using the Rank Math plugin and the Yoast plugin on Generatepress theme.

Adding Breadcrumb in Generatepress Using Rank Math

If you use the Rank Math plugin as an SEO plugin. Please activate the breadcrumb function in the plugin settings.

  • Rank Math »General Settings» Breadcrumb.
  • Enable the breadcrumb function: On
  • Separator character: »(customize according to taste)
  • Show Homepage: On
  • Home label: Home / Home
  • Home link: https://www.heyapakabar.com (adjust to your domain)
  • The rest is default
  • Click the Save Changes button.

The next step is to install the breadcrumb function or shortcode.

  • Go to the »Elements view.
  • Add new element » Choose element type » Hook » Create.
  • Add new hook: Breadcrumb.
  • Copy the Breadcrumb function (blue box) and input it into the editor field
  • Setting
    • Hook : generate_before_entry_title
    • Execute PHP: on
  • Display Rules
  • Click the button Publish.

Adding Breadcrumb in Generatepress Using Yoast

If your website uses the Yoast plugin, you can follow the steps below. The method is not too different by using the Rank Math plugin.

Here are the steps to make a Breadcrumb using the Yoast plugin.

  • SEO »Search Views» Breadcrumbs.
  • Breadcrumbs arrangement
    • Enable Breadcrumbs: Aktif
    • Bold Last Page: Regular
  • The taxonomy to display on breadcrumbs for content types
  • Click the button Save Changes.

The next step is to install the breadcrumb function or shortcode.

  • Go to the »Elements view.
  • Add new element » Choose element type » Hook » Create.
  • Add new hook: Breadcrumb.
  • Copy the Breadcrumb function below and enter it into the editor field
<?phpif ( function_exists('yoast_breadcrumb') ) {  yoast_breadcrumb( '<p id="breadcrumbs">','</p>' );}?>
  • Setting
    • Hook : generate_before_entry_title
    • Execute PHP: on
  • Display Rules
  • Click the button Publish.

Testing

After all the steps are followed correctly, please clear the cache of the caching plugin that you are using.

Please access one of the articles on your blog or website, it should look like the image below which is marked with a red box.

Conclusion

Breadcrumb is one of the mandatory features on a website whose purpose is to show the location of the posts that are read.

Simple language Breadcrumb is a navigation aid that shows the location of the article being visited or read.

The reason why Breadcrumb is the most important feature is to make it easier for Google to understand the data structure on the website and display relevant content on your website.

Hopefully, this article can help the success of your website or blog. If you need Generatepress Premium, you can contact me via Facebook or the contact page, the problem is the price is safe.

.