Tagged Questions
0
votes
1answer
23 views
Looping taxonomy in taxonomy?
So I have a CPT of references (like a dictionary kind of format for music).
In it there are two taxonomies: medium_reference and reference_letter.
The reference_letter lists letters A-Z, while ...
0
votes
1answer
71 views
Only display latest custom taxonomy post
I have a custom taxonomy set as a "splash" on my front page, I would like to only display the latest one of these taxonomies as a splash, and any older ones to be returned to the loop and displayed as ...
0
votes
1answer
320 views
Get post-meta value of all custom-posts - lowest to highest year-count?
probably tough to describe:
I have a custom-post-type called wr_event and a custom-field for it called event_date.
I have a lot of posts and each of those posts has set an event_date. Pretty ...
0
votes
1answer
39 views
How to use this $tax_selection variable in this custom loop?
I took this code from this question (which shows how to let users choose which posts to display by choosing categories and tags):
Filter index page plugin
function.php
add_action( 'pre_get_posts', ...
-2
votes
1answer
125 views
Get all active posts that are tied to a custom taxonomy for a custom post type
I need to display all the categories I created for a custom post type then inside of each category I need to loop all the posts that are tied to that category.
I tried constructing my WP_Query a ...
1
vote
1answer
178 views
Displaying terms based on loop posts?
I have a shortcode that shows a loop for a custom post type:
while ( $loop->have_posts() ) : $loop->the_post();
// do something
endwhile;
Some of the posts are in categories ...
0
votes
1answer
176 views
How to get the term description in a taxonomy term archive query?
I'm creating a template for a custom taxonomy for my theme.
At the beginning of the page, before the loop that lists all the posts associated to a term of that taxonomy, I want to output the ...
0
votes
1answer
474 views
Avoid WP_Query's duplicate posts with taxonomies
Given a blog featuring several categories (such as "Sport", "Nature", etc), I've then proceded to create a custom taxonomy, which allows me to show articles in certain areas of my blog with terms such ...
1
vote
1answer
464 views
Exclude custom taxonomy tag from loop
I have the following code at the beginning of a loop:
<?php query_posts('showposts=3&cat=84'); ?>
<?php $posts = get_posts('category=84&numberposts=3&offset=0'); foreach ($posts ...
0
votes
2answers
212 views
Related terms - Terms that feature in post of current term
Not sure how hard this is but i'll try and explain it as simply as possible.
I have a custom post type called: "Movies" with an taxonomy term called "Actor"
For example purposes suppose were on the ...
0
votes
1answer
2k views
How to get posts using category slug in ClassiPress?
I'm using the ClassiPress theme as a base for a new theme. If you have worked with classipress, you should know that classipress handles its own category using the taxonomy ad_cat.
That said, I have a ...
0
votes
2answers
2k views
Loop custom post type by taxonomy (Category)
I created a custom post type in my function.php of the theme and some a taxonomy for them.
I added 2 categories in my taxonomy (first, second) and added some post in my new custom post.
I want to ...
0
votes
1answer
492 views
Change or update WordPress loop based on dropdown selection
I have a Contact Us page which is showing 9 locations on the sidebar by querying the custom post type "Distributors." I want the user to be able to use a drop down that is populated by the taxonomy ...
0
votes
1answer
1k views
Custom Post Type Category Link
I have a loop of posts for a custom post type I built.
How can i call the link of the category/taxonomy for each post?
Thanks
2
votes
2answers
523 views
How to list custom post types?
Here's what I'd like to do:
a) Create a custom post type and write panel for a menu item called "My Stuff."
b) "My Stuff" will behave like a category -- but the content will not appear in the main ...