A taxonomy is a generic "category" used to organize posts and custom post types

learn more… | top users | synonyms

0
votes
2answers
347 views

Get custom taxonomy term url on archive page

This is driving me crazy, so please help me guys with this. I'm trying to add a metatag to custom taxonomy ter archive page header which contains the url of the term archive page of a custom ...
0
votes
2answers
61 views

How Can I Change The Tax Query For The Main Loop For Taxonomy Archives?

I am trying to change an argument in the tax query in the main WP_QUERY object for creating the archive view for my the archive of my hierarchical taxonomy. My goal is to change one of the arguments ...
1
vote
0answers
12 views

Multi Taxonomies same terms

Is it possible to have multi taxonomies that shares the same terms ? What I would like to achieve : I have a taxonomy which contains all the languages as terms. Then I have second taxonomy called ...
1
vote
3answers
226 views

Menu Multiple Taxonomies

I have a post_type "products" which has both "Category" and "Brand" taxonomies. Each product has exactly 1 Category, and exactly 1 Brand. I would like to display a menu which first lists the ...
0
votes
1answer
11 views

Output Taxonomy Title as Part of Result

I have a list of product details in pdf format. There are about 300 of them, and each one is a post within a custom post type of "details". Each post is linked to any combination of 3 taxonomies: ...
1
vote
1answer
196 views

Connecting Wordpress gallery to custom categories (taxonomy)

I want to use the Wordpress gallery to show all pictures of one category in a gallery (on a fixed page), which I do not have to update all the time by inserting the pictures manually. So I added the ...
-1
votes
1answer
630 views

Notice: Trying to get property of non-object in : custom fields category

I have custom fields in my category. I'm using this tutorial to add custom fields to my categories. I'm trying to output one of the custom fields on my category.php template but I'm unable to do so. ...
0
votes
0answers
13 views

Filter terms bases on multiple taxonomies - operator not in? [duplicate]

Building a function for filtered taxonomies. How to use 'operator' => 'NOT IN' or 'operator' => 'IN' inside the query to only show tax_query terms that are connected to all taxonomies instead of ...
0
votes
1answer
54 views

relation OR instead of AND - Filtered term ID's in loop

Question not related anymore.. First I tought about the relation OR/ AND for results, but I believe I should work with 'operator' => 'NOT IN'. I would like to query the results that meet multiple ...
1
vote
2answers
66 views

Taxonomy archive + query attachments = duplicate results

I'm trying to get the attachments of a specific term (in its archive page). But the results are showing the resulting images 5 times instead of one. I have multiple loops in this page - one to show ...
1
vote
1answer
110 views

Redirection to taxonomy posts list after post submit.

I am able to redirect the user back to the edit.php admin page after they have successfully created/updated a post. However, is it possible to redirect them to the taxonomy term posts page? This ...
0
votes
1answer
211 views

How to completely disable a taxonomy archive on the frontend?

I have registered three custom taxonomies. All three of these custom taxonomies are attached to my custom post type. There is only one taxonomy out of the three registered, that I would like not ...
0
votes
1answer
113 views

How to show only Standard Format post in my custom taxonomy page -wordpress 3.8.1

I want to exclude photo and video categories (ID's 1 and 2 respectively) from my custom taxonomy page. Any suggestions on how can I exclude these two categories from the loop? <?php /** * ...
1
vote
0answers
27 views

Exclude posts which have any term in a certain taxonomy from the query

I have a custom taxonomy, and for a certain query I am doing, I want to retrieve all posts which do not have any terms of that taxonomy assigned (for example, they are tag-less). At the beginning I ...
1
vote
1answer
119 views

Hide specific parent categories from post edit

I have many custom post types and they all take advantage of wordpress categories. I therefore have several parent categories for each custom post type. Is there a way to hide the other parent ...
6
votes
1answer
288 views

Add 'Description' to taxonomy 'Quick Edit'

This seems fairly straight forward, but I cannot find a definite guide on how to add the taxonomy description field to the quick edit box. I've followed several tutorials on adding fields to the ...
1
vote
1answer
616 views

display posts with same taxonomy term

I'm trying to display 5 related posts in the loop, those related posts being posts that share the same taxonomy value. e.g. I have a custom taxonomy set up called venues thus each post has a venue ...
1
vote
1answer
77 views

Taxonomy Custom Column - 'manage_{TAXONOMY}_custom_column' filter only passing 2 arguments

I am trying to add a custom column to the tables shown on the Tags & Categories admin pages in Wordpress. I have created a function, and added it as a filter using add_filter( ...
0
votes
1answer
36 views

Taxonomy vs Post Status

I'm building a web app so scalability is one of my main focuses when developing. On the app I am building I have a post type called 'Projects'. A project can be either be: Open In Work On Hold ...
0
votes
1answer
45 views

Is there a WP function to get taxonomy name from taxonomy_term_id?

I need to get the taxonomy name from the taxonomy_term_id. I am currently using the following to get it: global $wpdb; $term_taxonomy_table = $wpdb->prefix . "term_taxonomy"; $taxonomy = ...
0
votes
1answer
174 views

get_term and get_term_by returning null or false eventhough the term exists

I am trying to use the action hook delete_term, delete_$taxonomy, among other hooks that delete a term but they are presenting the same issue. For example: 1234 is an existing term in the favorite ...
0
votes
0answers
33 views

What is the default template for a category/taxonomy query?

I am trying to figure out what would be the default template used for this URL: http://example.com/categories/16/search_type/and/order/default/ It does not appear to be the category.php or ...
0
votes
0answers
79 views

How do I migrate custom post type data to a new format?

I am renovating an old site that has a messy custom post type. Over the years, it has accumulated redundant fields and taxonomies. I have replaced it with a new CPT that reflects the client's current ...
0
votes
0answers
36 views

How to use tax_query other than by slug or id or solve custom taxonomy tags conflicts with pre-existing tags?

I just encountered a problem and realized that all tags must be globally unique. Here is what just happened to me: I created a taxonomy called writer and added each author and collaborator to the ...
0
votes
0answers
21 views

*Add* items in a certain taxonomy to existing posts with pre_get_posts()

I've seen somewhat similar questions on here, but not exactly what I'm trying to do. Assuming I have this: function eg_homepage_pre_get_posts( $query ) { if ( ! is_admin() && ...
0
votes
0answers
50 views

wordpress page filter problems

Hello I been working on post type filter so I can filter my content for taxonomies type but for what ever reason I can never get it to filter when I click filter public function product_filters( ...
0
votes
1answer
23 views

Using a Taxonomy in Two Spots in a WordPress Post

I have a taxonomy called stocks. it has various items such as 'NFLX', 'AAPL', 'GOOG' I want to be able to assign two things to a WordPress Post: Main stock (only one item selected from the Stocks ...
0
votes
0answers
48 views

What method should I use to store my plugin data (multi level menus with options on each item)

So the background on my plugin - it generates taxonomy/term filters to give you a filtering system similar to what you'd see on NewEgg where you filter your results by category/manufacturer/other ...
0
votes
0answers
28 views

Can't fetch custom taxonomies from a plugin file

I set up a custom taxonomy last week and everything seemed to be working correctly, until I realised that from one plugin file I could only fetch some taxonomies, whereas from another plugin file I ...
0
votes
0answers
89 views

Multiple taxonomy drill down filter on a collection of posts

I would like to add a drill down filter to a product catalog site with one main taxonomy, and three taxonomies that serve as additional filter for the main product category. The main plan is to build ...
-1
votes
1answer
25 views

How to display a term of taxonomy

My doubt is how can I show a "term” of an specific taxonomy, the problem is that I have not found an applying example, just short code lines that don’t show me nothing at all. I want please the ...
2
votes
1answer
456 views

Order Posts by Taxonomy and Meta Value

It's possible to order posts by Meta Value. It's possible to order posts by more than one value. And thanks to the code below it's possible to order by taxonomy. But how can I alter the code below ...
0
votes
2answers
40 views

Linking from CPT page to taxonomy.php

I created a CPT which allows the user to add people to the page. I have already created a page template for displaying all people. This page also displays all categories used for people. My problem: ...
0
votes
1answer
171 views

Group list of posts by taxonomy and allow for pagination

There are multiple ways of showing a list of (custom) posts by taxonomy, but none appear to allow for pagination. So, I can easily list all posts like: Page 1 1 2 3 4 5 Page 2 6 7 8 9 10 ...
2
votes
1answer
516 views

wp_insert_term doesn't work with custom post type's taxonomy

Here is the problem I am having: I have a custom post type called "weddingguests" This custom post type "weddingguests" has a custom taxonomy, "friendsof", hierarchic I want to programmatically ...
0
votes
1answer
110 views

Taxonomy.php how to show post only in current taxonomy with wp_query?

Having troubles to get my taxonomy.php working good. I use a taxonomy.php to list all my posts in a specific category but it shows every post I have in all categories. Here is my code: <ul ...
0
votes
1answer
33 views

insert a taxonomy for a custom post type

I have been created a custom post type and create a taxonomy for it, below is the code which i used to create those: //create custom post type of jobs add_action( 'init', 'create_jobs' ); function ...
0
votes
0answers
52 views

Dynamically generate custom post type title from category

I have a custom post type named "event", for which i disabled the title field. This results in the post to be automatically named "Auto Draft" and the slug "auto-draft-x" How can i automatically ...
0
votes
1answer
139 views

Taxonomy.php error appearing in the header of my site

It references line 231 of the taxonomy.php file (See image) and all it says on that line is: * Checks that the taxonomy name exists. * * Formerly is_taxonomy(), introduced in 2.3.0. * * @package ...
1
vote
0answers
98 views

Custom taxonomy/category order

My products are sort by menu_order, but I would like to sort category name too. I tried a few plugins and all doesn't works. Code, which display category name and products list: <?php ...
0
votes
0answers
19 views

Problem with drop down with custom categories

I am having an issue with using a custom category. The category is called counties and includes the following entries: Warwickshire, West Lothian, Westmorland, Wiltshire, Worcestershire and ...
0
votes
0answers
61 views

Add more tables under wp_term_taxonomy

How do I add default fields/columns in the taxonomy terms? I can add custom fields using plugins like ACF but I have no idea on how to query them from the database. I can query the name, slug, and ...
-1
votes
1answer
17 views

Insert taxonomy term to different table

I have different table in the database called "wp_taxterms". How do I insert to that table every time a news taxonomy term under "Clients" is created or if an existing one has been updated/deleted? ...
1
vote
1answer
24 views

How can I modify the loop from a plugin without wiping out other filters?

I am trying to modify the_loop output from a plugin. I've looked into pre_get_posts, which definitely works, but I need to filter the loop by a custom taxonomy. I can do this with ...
0
votes
0answers
181 views

Custom post type with hierarchical taxonomy url structure

Who can help me to reach second permalink structure of my wordpess website: http://www.somesite.com/custom-post-type/some-tax/some-sub-tax/some-sub-tax/post-name/ ...
0
votes
0answers
14 views

404 for some custom taxonomy not ALL taxonomy

i created taxonomy and post type & Metabox using Easy Content Types some custom taxonomy work correctly, but i don't know why one of my custom taxonomy , each time i try to access it , i got 404 ...
0
votes
0answers
32 views

Taxonomy term page being linked a post from another custom post type?

I am building a Wordpress website which consists of 3 different custom post types (using post type UI) and also a number of different custom fields using the ACF plugin. I am getting a really weird ...
0
votes
1answer
235 views

Custom Roll/Custom Post Type - Can't Select Categories

I am using Justin Tadlock's Members plugin 0.2.4. I have a custom user role "Author" that I am granting permission to post a Custom Post Type "blogpost". The Author can post and edit the CPT blogpost ...
0
votes
1answer
70 views

Remove taxonomy menu without removing the metabox?

I'm creating a custom taxonomy for a CPT and I need to remove the ability to create new terms for this taxonomy. I would like to know if there is a way to remove from admin menu (show_ui => false?) ...
0
votes
0answers
31 views

Issue with “Search Everything” plugin

Trying to use this plugin to allow the admin to search uploaded media by tag ... it works fine on the media upload page but finds nothing when searching for the same tag in the Add Media popup. I'm ...