If you are using custom post types, and still want to use pages for taxonomies, why don’t you just make the custom post type hierarchical? Unfortunately, what you’re trying to do isn’t really easy to do. The only way I can think of doing this is that you’ll need to add a filter into the get_term_link() function so it returns the URL to the page rather than the term archive.
What do you mean by “only way I can think of doing this is that you’ll need to add a filter into the get_term_link() function so it returns the URL to the page rather than the term archive.” can you give me some more information about this ?
Regards.
Looking at the source for get_term_link()
, it appears there is a filter term_link
which is what you want to hook into. You then would then write a filter that hooks into that filter. The parameters you get are $termlink
, $term
, and $taxonomy
, you should be able to do what you want from that information (plus some sort of look up table to translate between taxonomy terms and pages).