1
vote
2answers
67 views

How do I make a custom taxonomy for a CPT appear inbetween title and editor boxes?

This may be a duplicate of this question - Changing the priority of a custom taxonomy's metabox but I can't work out how to apply that answer. I'm unsure what my custom taxonomy div label would be ...
0
votes
1answer
22 views

Enable the admin to sort custom taxonomy

I added a custom taxonomy (separate categories for a custom post type) like this: register_taxonomy(self::$slug . '_category', array(self::$slug), array( 'label' => 'Kategorien', 'labels' ...
0
votes
1answer
112 views

How to add a date creation field when a custom taxonomy relationship is created?

I need to display a list of posts and order it by date. The date of when the taxonomy term relationship was created. Is this possible? If so, how can I approach it? Thank you. EDIT - SOLVED! ...
0
votes
1answer
166 views

Tax query array terms display out of order

I want my tax_query terms to display posts in the order I have them listed in the array below but it is not following the order listed. $args = array( 'post_type' => 'staff', ...
0
votes
2answers
63 views

Order posts with custom taxonomy array

I am trying to make my loop go through the posts that are associated with these terms. Currently nothing is being output. <?php $args = array( 'post_type' => 'staff', ...
0
votes
2answers
189 views

Ordering Posts with Custom Taxonomy Terms Array

I can't get the order of my posts (organized by custom tax terms) to come out right in my loop. I made a custom post type of 'staff', in staff there is a custom taxonomy of 'staff-title'. I added ...
1
vote
1answer
1k views

Order get_terms() By Custom Field

I want to order my categories like I order my pages. I've added an extra field called Order to my taxonomy, but how do I order my terms by this value? Adding and Saving my Order Value: /** Add New ...
0
votes
1answer
187 views

Sorting Custom Taxonomy in ASC/DESC order?

Before anyone say that I didn't try let me say I tried a lot to achieve this. I even achieved but when I add the following code to functions.php the sorting works but the filters on left side ...
1
vote
2answers
136 views

orderby meta_value breaks taxonomy term archives

I have a People post type with a Person Type taxonomy (e.g. "Staff"). On the Person Type Term Archive pages, I want to sort by a "Sort Name" custom field. To do so, I'm using a pre_get_posts call: ...
0
votes
0answers
222 views

Retrieve name or slug from get_objects_in_term

I have taxonomies set up for users, and on taxonomy-{term}.php I have the following code to "loop" them all out, sorted by ID: $term_id = get_queried_object_id(); // Get taxonomy term ID $term = ...
0
votes
1answer
317 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
1answer
374 views

Order taxonomy terms wordpress

It seems like something really simple, however I can't find a good solution to what I am looking for. I created a page template that shows all my taxonomy term of a taxonomy called "news" eg: paper1, ...
0
votes
1answer
886 views

Allow user to set custom order to a list of custom taxonomies?

I have a custom category checkbox on each individual bio attorney page that shows what practice areas these attorneys are involved in. Currently I have them sorting alphabetically. I am wondering if ...
1
vote
0answers
137 views

group posts by taxonomy terms

I have a site with two CPT's Projects and Artworks. I use scribu's posts2posts for connecting a bunch of artworks to each project. In a single Project view, I want to display all connected artworks. ...
0
votes
1answer
413 views

WP_Query -> sort results by relevance (= most tags / taxonomy terms in common)

I'm trying to write a new "related posts" widget (for the single post view) for my custom post type, filtering by custom taxonomy terms that the related posts should have in common with the current ...
2
votes
1answer
434 views

Order posts by (hierarchical custom) taxonomy terms and term children

The scenario a custom post type wiki a (hierarchical) custom taxonomy topics a page template archive-wiki.php The situation Posts show up and get ordered by post_date (which is the default). The ...
0
votes
1answer
280 views

Custom WP_Query breaks default behaviour of viewing right post associated with tax-term!

I have a custom-taxonomy for a custom-post-type just like categories. I've used the standard loop in my taxonomy-event_type.php template so far … if ( have_posts() ) : while ( have_posts() ) : ...
1
vote
3answers
1k views

How can I set a default listing order on the admin page for a custom taxonomy? (without plugins)

I'm researching this problem for days without any success... What I want is very simple: to see my custom taxonomy terms sorted by ID on the admin page. I can't believe that something this simple ...