rankmath / seo-by-rank-math

Rank Math is a revolutionary WordPress SEO Plugin that combines the features of many SEO tools and lets you multiply your traffic in the easiest way possible :bulb: :chart_with_upwards_trend: →
https://rankmath.com
107 stars 52 forks source link

Breadcrumbs don't show WC categories on product pages? #32

Closed CodeBradley closed 3 years ago

CodeBradley commented 3 years ago

Describe the bug

When I go to the product page, I only see a link back to the homepage and not a breadcrumb going to the category page. How do I include the woocommerce category? Seems to work with my blogs, but not woocomm.

So breadcrumbs are

<a ...>Homepage</a>

Instead of the preferred

<a ...>Homepage</a> >> <a ...>Category</a> [>> <a ...>Sub Category</a> >> Product Name]

To Reproduce Steps to reproduce the behavior:

Create custom theme builder template for all woocomm product pages with Elementor -> Drag in code section ->

Expected behavior

This output for breadcrumbs: <a ...>Homepage</a> >> <a ...>Category</a> [>> <a ...>Sub Category</a> >> Product Name]

Screenshots

Rank Math settings: math-rank-issue

Theme builder settings:

Screen Shot 2020-11-20 at 4 13 55 PM

Desktop (please complete the following information): n/a

Additional context n/a

CodeBradley commented 3 years ago

Oh and what does that notice mean at the top of my screenshot?

We detected new post type(s) (wc_product_tab), and you would want to check the settings of Titles & Meta page and the Sitemap.

Google didn't have any results

Thanks all

surajv commented 3 years ago

Hello @CodeBradley,

This is not a bug, please select the primary taxonomy for the Product Post type from the Rank Math's Titles & Meta Settings, here is the screencast https://i.rankmath.com/tbNA2h

About the notice, whenever we detect the new Custom Post Type added by any newly activated plugin, we show that notice asking the admin to configure SEO settings for that Post type.

surajv commented 3 years ago

Closing for inactivity.