Linked Questions

0
votes
1answer
299 views

Transfer taxonomy to custom field

I have a blog with movie critics and I'm using many taxonomies to add some informations about the movies, like director, actors or it's year. Using taxonomies is really useful to display all movies ...
0
votes
0answers
30 views

Ordering posts by custom taxonomy in admin area

EDIT @kaiser - this question is slightly different to the answer you posted in that I am talking about sorting by clicking the column title rather than adding a dropdown to filter by taxonomy term ...
0
votes
3answers
2k views

WP_Query orderby taxonomy term value (numeric)

I have this query... <?php $press = new WP_Query(array( 'posts_per_page' => -1, 'post_type' => 'individual', 'post_status' => 'private' )); ...
0
votes
1answer
119 views

woocommerce - products by category slug?

good morning, I need to display the shop base page in a category layout,meaning first show all the products from category A and beneath it all the products from category B and so on.. I trying to use ...
0
votes
0answers
26 views

Get all the contents of taxonomy and sort by term

I'm doing this in a page template. So far, I can query all the contents under my taxonomy. But I need to sort them in terms of their term. Any idea on how to do this? Providing an example would be ...
0
votes
1answer
58 views

Sort Posts Alphabetically by Multiple Categories [duplicate]

Basically I have an array of posts which I want to sort by title. $categories = get_categories('child_of=4'); $arr_records = array(); $post_data = array(); foreach($categories as $category) { ...
1
vote
0answers
38 views

Sorting main query by custom taxonomy slug

Is there a way to sort posts by custom taxonomy (shoe_color) ASC|DESC? I would like to do this using query_posts and passing the orderby=shoe_color into it. Here is the code I'm trying to work out: ...
0
votes
2answers
101 views

making php value numeric

I used some of this code from this page on Stack Overflow: Using wp_query is it possible to orderby taxonomy? It's about the function to be able to sort a query by a taxonomy value. Although it works ...
0
votes
1answer
133 views

Order custom posts by taxonomy?

I have the following custom post types: books, documents, examples, guidebooks, onlineaids. They were generated by the following code: ...
0
votes
0answers
21 views

How to order posts by taxonomy in WP_Query [duplicate]

Possible Duplicate: Using wp_query is it possible to orderby taxonomy? I have a page template that should show CPTs grouped by taxonomy. I'd like to get all the CPTs in a single query and ...
2
votes
2answers
2k views

Group Custom post type in a page by its taxomony tag

I hope i can write a clear question since i got confused trying to solve this... I got a custom post type... that custom post type has taxomony (category like) and i want to return a structure like ...
2
votes
1answer
216 views

Create a Metabox that behaves Like a Taxonomy Box

I need to show all my custom articles on an archive page but grouped/sorted by subject. So that the result is somewhat like Subject A: A Sample Post Another Sample Post Subject B: List item ...
0
votes
1answer
82 views

Page view: Sorted by categories

I think this might be a really simple problem, but I just don't know exactly what and where to enter the specific code and before I mess up, I thought it's better to ask for help here. I was able to ...
4
votes
1answer
2k views

Sort Custom Post Type Archive by Taxonomy Term

What is the best method (as of 3.1 or 3.2 beta) to sort a custom post type archive by a given taxonomy term? I'm trying to make a staff page and I want to sort employees by department. So the ...