I can’t seem to use functions like wp_get_archives with Custom Post Types. These functions still return all the posts associated with the main blog posts.
Is there any way of filtering out the Custom Post Types for functions like these?
My issue is that I have both a blog and a news section. The blog uses all the standard templates and functions, but my News section is done with Custom Post Types. However, I still want to use all the standard blog features in the News section too.
Is this possible?
- The topic ‘How to get functions like wp_get_archives to work with Custom Post Types?’ is closed to new replies.