Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Austin Treutel

    (@austintreutel)

    Right, so back to my original question: Is there any plan on incorporating logic for the primary category of a post to have priority in the breadcrumbs?

    Thread Starter Austin Treutel

    (@austintreutel)

    I understand how parent-child categories work but that’s not the issue. The issue is when multiple categories are applied to a single post. Which category shows in the breadcrumbs?

    Thread Starter Austin Treutel

    (@austintreutel)

    Another example is this sites post. They use a modified version of AccessPress Mag but the breadcrumbs function is untouched.

    https://coverthespread365.com/mlb-picks/cincinnati-reds-vs-miami-marlins-8-28-2019-free-mlb-expert-pick/

    You can see that the categories for that post are Cincinnati, Cincinnati Reds, Miami, Miami Marlins, and MLB. The primary category for the post is MLB but the breadcrumbs show Cincinnati.

    Thread Starter Austin Treutel

    (@austintreutel)

    What I’m saying is that if a post has multiple categories there is no logic as to which will display in the breadcrumbs.

    In my example there were 3 categories applied to the post, and the category shown in the posts breadcrumbs is “all recipes” because it comes first alphabetically. It doesn’t have to do with parent – child relationships.

    Thread Starter Austin Treutel

    (@austintreutel)

    Hey Suvechchha,

    To explain further, as an example lets say you have a cooking blog website and you have a category of “all recipes”. Underneath “all recipes” you also have child categories for “dessert recipes” and “spicy recipes”. You write a blog for a spicy dessert recipe and you set the categories for the post to all three: all recipes, dessert recipes, and spicy recipes.

    The logic for the breadcrumbs right now is that it grabs all of the posts categories in alphabetical order, then shows the first category. In the case of this example the breadcrumbs in the post would show as just “all recipes” because that’s the first category alphabetically. In reality the breadcrumbs for the post should display either “all recipes > dessert recipes” or “all recipes > spicy recipes”.

    One way around this would be utilizing the posts “primary category” field but that logic isn’t considered in this theme. Hopefully that explains my issue.

    -Austin

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