Custom Post Types – Galleries
-
I’m currently setting up a CPT for a gallery section on a site, this is to separate the meta data from the rest of the WP site and will be using a custom taxonomy for EXIF data and gallery sections (when I figure out how to set this up).
Now the problem lies in that how do I break these galleries down? For example a photographer may have:
Wedding
Portraiture
Children
SeniorsThe reason for setting up the custom taxonomy is to create these galleries based on the category. The problem I have is how do I pull this information across based on that category? My current thinking is to use a custom archive page that pulls the relevant images based on the category chosen. It’s pretty easy to pull all posts in a CPT, but I’m having a brain freeze on how I can do this dynamically based on ‘section’.
The question I’d ask is there a better way to do this or is there a tutorial that covers how to pull specific CTPs based on categories?
Thanks.
- The topic ‘Custom Post Types – Galleries’ is closed to new replies.