Archived topic
primary catergory only
5 replies · Started by johnzoro on September 12, 2021
you know how when you click on an article, if it's catergorised in 2 categories, both of the categories are highlighted in the navigation.
is there a way for the navigation to only have the primary category highlighted?
Hi there,
Can you link us to a sample page in question where this occurs?
You can use the private information text field to provide the link. Let us know. :D
ok sure!
Hi there,
Is the infoalways the second category?
Or there're other combinations in terms of the post categories?
Let me know :)
there are other combinations. that's just an example
Can you explain a bit more on how your site's primary category determined? Is it from a plugin? (example: Yoast can assign a primary category)
This information is crucial as that's what we're going to use if we need to PHP filter it.