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

learn more… | top users | synonyms

0
votes
0answers
47 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
27 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
79 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
24 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
356 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
37 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
133 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
429 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
98 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
32 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
47 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
122 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
84 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
53 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
14 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
23 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
145 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
31 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
216 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
66 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
27 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 ...
0
votes
0answers
12 views

Custom terms in custom category taxonomy

I have a Custom Post Type called 'directory'. I have a custom category taxonomy assigned to the post type called 'directories'. This custom taxonomy has several custom terms (e.g. one is 'art ...
-1
votes
1answer
723 views

How to query posts from specific authors and categories using WP_query?

I currently have a WP_query where I am getting posts from a specific set of authors. To this, I want to add specific categories as well. $args = array( 'author__in' => $authors, 'posts_per_page' ...
0
votes
1answer
35 views

Help me add Taxonomy to byline

The following is my code for adding a byline to a post. Can you please explain how I can get my taxonomy onto this. The taxonomy is destination. /********************* CLEAN BYLINE ...
0
votes
0answers
30 views

Website page structure

How can a get my website link structure like this: mywebsite.com/products/vegetables/carrot Where vegetables is the taxonomy term and carrot is the post slug from the custom post type products. ...
0
votes
2answers
28 views

Display posts from tagchildren of taxonomy tagparents

Firstly, I'm trying to display all tags from a taxonomy called 'group'. However, this taxonomy currently contains two tags, from which one of of them has multiple tagchildren. I'd lik to display all ...
0
votes
2answers
594 views

wp_update_nav_menu_item() to insert categories

In the script below, I'm attempting to dynamically add categories to a custom menu. Everything works great, except for the fact that the categories do not have hyperlinks. What am I missing in ...
0
votes
0answers
16 views

How to make taxonomy both hierarchical and not

I need my taxonomy to be a checklist, so I set hierarchical => false. However, I also need a search functionality similar to when hierarchical is set to true. Is there a way to "combine" both? Or ...
1
vote
1answer
54 views

Custom taxonomy [year] is directing to yearly archive

My custom taxonomy is linking to yearly archive instead of the post linked to it. I have created a custom taxonomy named "year" containing int (i.e 2008,2009,2010 etc). Have registered the custom ...
0
votes
0answers
52 views

Hiding an Advanced Custom Field based on Taxonomy Field selection

I am trying to to show/hide one advanced custom field based on the ACF taxonomy field without any luck. I have tried reworking this example a bit to fit my needs but nothing happens. Any ...
-1
votes
3answers
144 views

How to perform a search inside a specific taxonomy category

My problem is this: I have 3 custom taxonomies, let's say 'author', 'title' and 'editor', each one applied to regular posts. Let's say I have post_1 that has in the 'author' field 'jorge borges' and ...
0
votes
2answers
166 views

Remove category from query (show all posts in archive.php) pre_get_posts()

I am using pre_get_posts() to allow all posts to be displayed on any category archive. This is because I will provide a javascript sorting and filtering method using isotope.js. Any category page will ...
4
votes
1answer
45 views

WP query taxonomy input differs to output?

I'm trying to build a custom query and I need to include the current category ID. I previously had the WP_Query args as: Array ( [post_status] => publish [posts_per_page] => -1 ...
0
votes
0answers
17 views

WP query taxonomies not the same as output

I'm trying to build a custom query and I need to include the current category ID. I previously had the WP_Query args as: Array ( [post_status] => publish [posts_per_page] => -1 ...
0
votes
0answers
24 views

Custom search function not finding posts with tax terms even thought the association exists

I have a custom hierarchical taxonomy called "destination_category" with terms like so: Cultural Museum Historic I have a custom post type with posts associated with all three "Cultural" ...
0
votes
0answers
41 views

Taxonomy for costum post type not found

I'm trying to use taxonomies to create categories for my costum post type. I registered the necesary components: add_action( 'init', 'create_post_type' ); function create_post_type() { ...
0
votes
0answers
38 views

Get current terms info when querying by multiple taxonomy terms

I'm currently using the following in my archive template to create a menu of taxonomy terms and add a 'live' class to the term that's currently being queried. $termsA = get_terms('MYTaxA', array( ...
0
votes
1answer
130 views

Add current class to queried term on taxonomy term archive

I'm currently using get_terms to list terms of a certain taxonomy. I would like to add a class to the term currently being queried via the archive template. I tried putting together the below code ...
0
votes
1answer
34 views

Archive-posttype.php isn't loaded

I created a custom post type add_action('after_setup_theme', 'cptui_register_my_cpt_packaged'); function cptui_register_my_cpt_packaged() { register_post_type('packaged', array( 'label' => ...
0
votes
1answer
55 views

Set terms in a custom post

I have a custom post "artist" and a taxonomy/category "artist category", and i want to create (by development) a new post and set the category of the artist but it doesn't work. I have tested it with ...
0
votes
1answer
78 views

How to display elements of different post types?

What happens is: I have a custom post type called "placas" and have an associated custom taxonomy called "firmas" and this taxonomy is the terms "LG", "AOC", "Panavox". I want to show a certain ...
1
vote
1answer
176 views

Conditional statement for if archive page has posts which contain certain taxonomies/categories/tags, show those terms

I am using Isotope to filter posts on the fly from my archive pages. I have a Custom Post Type called "art". On the sidebar, I've created links to yearly archives on my sidebar, i.e. 2014, 2013, ...
0
votes
0answers
10 views

Organize a content site - should I use cpt and taxonomies or the theme?

I have built a content site which includes several types of posts: text article, video post, image gallery / presentation, audio, etc. I am using a theme for the front-end. the theme includes a page ...
0
votes
1answer
737 views

ACF: Display category name using taxonomy field

I'm currently using the taxonomy field in ACF, with the aim of printing the category name in the front end. Using it like so: <?php $term = get_sub_field('category_selector'); if( $term ): ?> ...
1
vote
1answer
78 views

Adding a class to tag list in a function

How can I add a class to the function so I can style the output tags as boxes in css? <?php if(get_the_tag_list()) { echo ...
0
votes
2answers
175 views

Register custom taxonomy from a Advenced custom field option page

I have a website with products (shoes), i have some shoes models registered as taxonomy on the function.php file like so: function add_custom_taxonomies() { register_taxonomy('mod-nike', ...
0
votes
1answer
53 views

Custom Post Type + Custom Taxonomy = Archive Listing Page Problems

I have a custom post type that uses a custom taxonomy. It's working, from what I can tell, in the sense that I can create a post, and assign the custom taxonomy terms to it. Debugging shows the terms ...
1
vote
1answer
30 views

How can I setup a relationship using categories in WordPress?

I am trying to setup a relationship between a "People" post type and a "Work" post type. For example, I want to have a structure like this Person 1 - Work - Work 1 - Work 2 Person 2 - Work ...