Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm using Breadcrumb NavXT for displaying breadcrumbs trail of given page, based on category tree.

This works fine half of the time - the problem is I (ab)use categories to assign specific properties to given pages, which are then interpreted in post.php to render given post in a specific way, e.g. hide the title or format in a specific way. And Breadcrumb NavXT sometimes picks these "meta-categories" to render the breadcrumbs, instead of the main category.

Is there a neat way to either get the plugin to include/exclude certain category trees, or make given categories "preferred" or replace the plugin altogether with something that would handle the problem better?

share|improve this question
add comment

1 Answer

That plugin represents a fair bit of code to read through but I did not see any obvious way to prioritize/eliminate/ignore categories in the way you want.

I would suggest that you stop abusing categories and convert your code to use post meta (probably) instead of categories to " to assign specific properties to given pages".

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.