I’m having trouble calling the wp_get_archives function using the “postbypost” type. It’s returning duplicates and I’ve tracked it down to the query joining on the wp_term_taxonomy table where there are multiple entries in this table per post. This appears to be because I have multiple categories assigned to some posts. Those assigned to just one category display twice whereas those assigned to multiple categories show even more times.
Here’s how I’m calling the function for my left sidebar/column:
Is this supposed to work this way?
Any ideas greatly appreciated!
- The topic ‘wp_get_archives, postbypost, duplicates – taxonomy?’ is closed to new replies.