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.

So as to get a single index of both internal posts and external links on the same or related topic/subject matter, is it possible to combine post categories and link categories? I would like to be able to drill down through a single hierarchy, and find all collected information on the topic, whether external or internal to the site. Thanks.

share|improve this question
add comment

1 Answer

You can register a custom taxonomy for more than one object type:

register_taxonomy( 'topic', array( 'post', 'link' ), /* more arguments */ );

But be aware that the link manager will be removed in 3.5, so it might be better to use a custom post type for links. You can register a shared taxonomy for that too.

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.