As per comment I also see some trouble understanding album
and album media
essence. You are also mixing up terminology a bit with terms
and taxonomies
(term
is item in taxonomy
).
So I am going to focus on your summary and leave to you how to put parts together:
-
multiple taxonomy query – taxonomy queries got much improved in WP 3.1 and now you can construct very elaborate things with taxonomy parameters.
-
loop within a loop – easier to say secondary loop, it doesn’t matter where secondary loop is. because it shouldn’t influence surroundings in any case. For secondary loops either
WP_Query
object orget_posts()
function are appropriate. -
custom taxonomies and post types a little to generic point, there are plenty of nifty related functions. I suppose
wp_get_post_terms()
sees a lot of usage, when taxonomies are involved.
Related Posts:
- Query for posts in 2 taxonomies
- ‘category__and’ for custom taxonomy?
- Separate Posts and Custom Post Type in Custom Taxonomy archive template
- Show a Category X’s custom post type on Category X archive page?
- Listing all term items alphabetically / sorting loop
- Control content before and after custom post type loop
- How do I query a custom post type with a custom taxonomy?
- Display all posts in a custom post type, grouped by a custom taxonomy
- Retrieving 3 latest post from each of 5 different custom post types
- how to group custom post type posts by custom taxonomy terms
- Posts per Page on custom Taxonomy Template
- Order custom posts by taxonomy?
- How to get the parent’s taxonomy?
- Query posts by custom post type and custom taxonomy
- Conditional two level dropdown filter for custom post type
- Show all custom post type posts sorted by custom taxonomy then by another custom taxonomy
- List all posts in Custom Post Type but group dynamically by Custom Taxonomies
- Taxonomy posts on Archive page
- Randomly placed sticky custom posts complemented by blog posts
- How to display the rest of categories on Portfolio filterable
- Should unaltered default loop/query return a list of custom posts belonging to a custom taxonomy?
- 404 error PageNavi custom type taxonomy | wordpress
- How to get only one category of custom post type?
- pre get posts changing the query
- How to get current post id of a custom post type in a loop using template singel-{custom type}.php?
- List custom post type by custom tax term as page title
- wp_query to find posts by year and month
- Custom Post Type Taxonomies -Posts not showing in Category or Tag pages
- how can i get posts from custom post type particular taxonomy category
- Custom Post Type Loop within Shortcode
- How to insert content from another Custom Post type into Post?
- get_template_part for each level of taxonomy term
- Filter by custom taxonomy slug on a custom post type
- Normal pages as children of my Custom Post Type
- Only show posts from a certain category?
- Change or update WordPress loop based on dropdown selection
- Display CPT posts based on specific taxonomy
- How to query custom post types posts filtered by multiple custom taxonomies through a form selection
- WordPress Genesis custom taxonomy archive shows 3 repeats of each post
- Am unable to reset a query properly
- Query/list all terms and their custom post count
- get_attached_media() on author page not working
- Archive for custom taxonomy lists all posts instead of current taxonomy
- Get next and previous 3 posts in a term in single post page
- Loop custom taxonomy to get lists of cutom post types?
- Custom loop with multiple taxonomy queries
- How to use custom taxonomies to reference complex relationships?
- Query Custom posts of same taxonomy as the post itself
- Custom post type multiple loop by taxonomy term
- Conditional Query of Custom Post Type and custom taxonomy
- List custom taxonomy specific to one custom post type
- Display all taxonomy terms, add class if term applies to current post
- Return the latest post from a custom Taxonomy and Post Type
- Displaying CPT and custom taxonomy side by side in Bootstrap 4 component
- Group CPT posts by custom taxonomy
- What’s the WP way to load remaining custom posts?
- How to edit this code to get the categories in achieve page?
- Display Custom Taxonomy Alphabetically
- Full Custom Post Type List Organised by two Taxonomies
- Display related custom taxonomy posts in sidebar
- pagination not working for category.php (custom post types in categories)
- Only show posts with date of today or in the future (i.e don’t show past posts)?
- How to display Related Posts based on number of taxonomy terms matched
- Custom Post Type Category Link
- Custom Post type category pages template and loop
- Three Most Recent Posts, One Per Term
- get_the_title() is returning results from previous loop
- How to make WP_Query not to show irrelevant posts?
- Main query not querying any posts in custom taxonomy template
- Custom query – get_the_terms not work
- 3 random images from custom post type, each in a div with a diffrent class
- Custom post type, custom taxonomy, query posts only from taxonomy (children of)
- Display custom posts randomly in custom taxonomy archive
- Not able to export large no. of posts in csv
- attach CPT data to a taxonomy
- looping though custom post types and only return results in a given taxonomy
- Dynamically insert code to custom post type loop
- Pagination not working on custom query on a page
- Loop through posts of only 2 statuses
- Targeting custom post type via functions.php doesn’t work
- Pull in taxonomy field of custom post type in new query
- display posts of custom post type with custom taxonomy
- Custom Post Type not showing in main loop
- My custom taxonomy is only displaying 1 of 3 terms
- Custom Post Type and Taxonomy Loop Output Is Wrong
- postsperpage value not being applied
- get_terms() parent, child and grandchild
- List all Custom Post Type posts excluding certain Taxnomy term
- List all posts in taxonomy term
- Query all post types but limit to parents
- Compare Two Custom Post Types Using The Same Custom Taxonomy
- Looping through custom taxonomy and display custom post types (Custom Post Type UI)
- Create a custom taxonomy template that loops through child categories in term order?
- Cant’ Display Custom Post Type Title Base on Tax Terms
- Query Multiple Custom Post Types & Exclude a Taxonomy Term
- Custom Post type showing up in loop, regular posts are not showing up
- Loop and add Specific Categories and Products Images
- Loop for custom-post-type comparing taxonomy terms for “related” posts?
- How do i display post from a taxonomy term?
- Displaying Posts Using a Custom Query with a Custom Field and a term_id