Breadcrumbs and Archive link on term page

  • Resolved Adam Laita

    Hi Rank Math team,
    firstly I want to thank you for your work. This plugin is incredibly good.

    I have just one question about Archives in Breadcrumbs. I have custom post type called “News” and custom taxonomy called “News category”. When I create a post and view it, breadcrumbs are good “Home – News – Post name”. Primary Taxonomy is set to none (in RM plugin on Titles & Meta tab). Also on Archive page it is ok “Home – News”. But if I view the term page (for example “Interviews”) I can see just “Home – Interviews” (Hide Taxonomy Name is set to true in RM plugin on General tab).

    So question is if there some option to get Archive link to Breadcrumbs in term page? The result should be “Home – News – Interviews”. Maybe I’m just blind, but this option could be very useful.

    Thanks for any feedback

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello,

    Thank you for contacting Rank Math.

    The terms/archive pages shown on a post are those assigned to that specific post. All ancestor archives/categories should be added to a post if you have enabled the option to show category.

    If you want to customize your breadcrumbs beyond the option available in Rank math, you can customize the following filter and add it to your theme functions.php file:

     * Allow changing or removing the Breadcrumb items
     * @param array       $crumbs The crumbs array.
     * @param Breadcrumbs $this   Current breadcrumb object.
    add_filter( 'rank_math/frontend/breadcrumb/items', function( $crumbs, $class ) {
    	return $crumbs;
    }, 10, 2);

    Looking forward to helping you. Thank you.


    Hi Michael,
    I’m not writing about post page, but about taxonomy.php where is a list of posts (from CPT) classified into one term. And on this term “page” (taxonomy term page) you can’t see related Archive title/link in breadcrumbs. You can see just “Home – Taxonomy term name” and that’s all and from UX and structure perspective it should be “Home – CPT/Archive name – Taxonomy term name” – where taxonomy is related to that CPT (with Archive enabled of course).

    Maybe I can provide for you real example if you need it.


    Yes, if you can share (in the Sensitive Data section) a real example, it would help us a lot.

    Looking forward to help you.


    I have updated the sensitive data as requested. Can you please check further?

    Thank you.


    We are sorry but we do not have those options to customize breadcrumbs in the way you described.

    In an upcoming version of the plugin, we will have more customization options.

    For now, you can use a 3rd party solution or hire a coder to use the filter my colleague gave you to customize the display of breadcrumbs.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Ok thanks for info.


    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

Viewing 7 replies - 1 through 7 (of 7 total)

You must be logged in to reply to this ticket.