• Hello team,
    In my wordpress website i have selected multiple categories on single post.

    Ex: 3 categories in wordpress 1. beginner, 2.intermediate and 3. expert

    when I go to beginner category and opened post breadcrum shows
    Home>beginner>article title

    when i go to intermedidate category and open post it show same breadcrumb
    Home>beginner>article title

    so here i need Home>intermediate>article title

    So how can i fix this breadcrumb issue if i m selected multiple categories on single post

    Please let me know

    Thank You

Viewing 1 replies (of 1 total)
  • Breadcrumbs logic would generally not have enough logic in it, to know how the user landed on a particular URL. In your case, it would just try to show one of the categories of that post, which is “beginner” either based on the first category that’s added or first alphabetical one.

    If you really want to show the category from which they came, it would have to be done by modifying the logic of breadcrumbs, and track the user journey so that you know what category to show in there. Here is a similar thread, which has a code snippet to choose category based on HTTP referrer.

    Hope that helps.

Viewing 1 replies (of 1 total)
  • The topic ‘Breadcrumb issue when select multiple category in single post’ is closed to new replies.