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

learn more… | top users | synonyms

0
votes
0answers
9 views

How to get the last term from taxonomy?

working on a scholar journal in which publisher add issues to the "issue" taxonomy assigned with articles. i need to put a button (Current Issue) so when visitor clicks on it a page of posts assigned ...
0
votes
0answers
12 views

Taxonomy Term Variable within Foreach Loop

I have a foreach loop that cycles through all the terms of a specified taxonomy (product_cat in this case). I have the terms in a variable called $productTerm but I cannot get it work in one section ...
-1
votes
0answers
14 views

Rewrite Rules for Custom Post Type Taxonomy Archive by Date

I am looking t this page here and it works pretty well for standard taxonomy archive rewrites and custom post type date archives. Archive page for custom taxonomy grouped by month How would I make ...
1
vote
1answer
16 views

Get and loop posts with all taxonomy terms

I created a page that displays the posts orderby comment_count. I have a custom taxonomy named 'authors'. I would like to display only the posts with taxonomy values. Not a specific term but simply ...
0
votes
1answer
16 views

Display custom_post_type with current taxonmy of a page

I've associated a taxonomy to pages and a custom_post_type. When i'm on a page with a said taxonomy term, I need to display a list of custom_post_type associated twith the same term. I'm using this: ...
0
votes
0answers
23 views

Showing list of custom posts of a custom taxonomy

I have a custom post type Movie and a custom taxonomy Genre with some terms (like Sci-fi). I want to create a custom template for show all the movies of a particular genre. I read that it's just a ...
0
votes
1answer
19 views

List sub-taxonomies from current taxonomy

I have a custom taxonomy called book with terms: 'science fiction', 'romantic', 'history' Each of these Taxonomies have 4 sub-taxonomies, that I need to display as a sub navigation. I'd like first to ...
0
votes
0answers
7 views

No results for taxonomy archive page

So, I'm making a taxonomy template page for a plugin, but I'm not getting any results from my query. I'm loading the template with this. function projects_categories( $taxonomy_template ) { if( ...
-1
votes
0answers
41 views

Show only one subcategory

I am showing for my posts only subcategory, but some posts are in multiple subcategories. But I want to acomplish that each post will shown only one subcategory. For example my post is in 3 ...
1
vote
1answer
38 views

Taxonomy terms sort by… Last name!

I have a custom Taxonomy named 'authors' where I insert additional authors. My question is: is it possible to list all the taxonomy terms order by "Last Name". If I order by name clearly it looks ...
0
votes
0answers
25 views

add_action priority and taxonomy used in plugin

I try to register my taxonomy in my plugin and use it after. So far I have done: function custom_taxonomy() { $labels = array( ... ); $args = array( ... ); ...
0
votes
0answers
12 views

WP Query for newest post of each taxonomie of a custom post type

I'm trying and googleing since 2 days, but cant figure out how I can display my 8 needed posts. Details about my structure: I'v created an custom post type "projects" where all the posts about ...
0
votes
0answers
70 views

Recent posts by taxonomy and filter by tag

I would like to display in the single page sidebar all the posts related with the Current Custom Taxonomy (taxonomy name: authors) and also filter the list of posts by a tag or category. I found this ...
0
votes
1answer
44 views

Display taxonomy posts

This seems super basic but cant find a clear answer anywhere. All I am looking for is the loop to display posts within a taxonomy. Say I have a custom taxonomy called custom_category and within that ...
0
votes
0answers
12 views

Sync Post Categories with Pages while maintaining ancestors

I'm attempting to automatically create post categories and maintain the post category hierarchy so that it mirrors pages that have been created while maintaining the page hierarchy. I have achieved ...
0
votes
1answer
25 views

How to Register and Display Widget for Custom taxonomy

I have registered a Custom Taxonomy Named as Album, Now i want to register and display a custom widget like category to display recent 'x' albums with thumbnail on my sidebar. Below is a piece of ...
0
votes
0answers
18 views

Taxonomy ID change after edit

Here is my problem. After editing a taxonomy - not custom one, just default Categories, ID of that term is changing. I have no idea why, it's not theme problem, it doesn't look like plugin either, ...
0
votes
1answer
19 views

Display Taxonomies in loop with template args

I want to display the taxonomies within the loop but with customized template. Here is my code: if ( have_posts() ) { while ( have_posts() ) { the_post(); $args = array( ...
1
vote
2answers
48 views

Display latest x posts from all categories in Custom Post Type/Taxonomy

I am attempting to display the latest x posts from all categories using a custom taxonomy called 'case-studies' in WordPress. I have managed to output all the category names as heading links I have ...
0
votes
0answers
18 views

WP 4.3 - Categories doesn't show on the menu at all on different accounts

I'm having an issue where the Categories Taxonomy is showing on one admin account but is not showing on another admin account with the same accessibilities/privileges. What could prevent it from ...
0
votes
2answers
22 views

Question on using custom structures for categories

Im trying to create a topics "section" similar to what Justin Tadlock has on his site but i'm not sure how he is doing this. Categories? Tags? or what? I tried changing the Category base to topics as ...
0
votes
0answers
16 views

Custom Post Types sharing same taxonomy

I've created 2 CPT (with Types): rivenditori and articoli. They share the same default WP taxonomy: category. I have been looking for a solution, but still nothing is working. What I get now is that ...
0
votes
0answers
16 views

Taxonomy terms by post type and category?

I'm trying to return the terms of a taxonomy that is used by a custom post type in a specific category, I can return all the terms of the taxonomy but I want just the ones used by that post type and ...
0
votes
0answers
20 views

How can I achieve this site/url structure

Can anyone help me achieve the following. I have two custom post types, 'stores' and 'offers'. stores contain 'stores' one level deep. e.g. site.com/stores/store1 site.com/stores/store2 I then ...
-1
votes
1answer
94 views

Display woocommerce product_cat child terms with thumbnails

I was wondering if someone could give me a hand. I would like to display the child categories of my woo commerce store categories along with the thumbnails I have set for them in my dashboard. I have ...
0
votes
2answers
31 views

Wordpress implode & wp_insert_post question

Just a few days ago I've started working on my new wordpress based website. I have a plugin which provides a Cars Database. I want to auto-fill my custom fields and taxonomies by taking info from ...
0
votes
0answers
26 views

wp_editor doesn't work in taxonomy add page

I have added a custom field in taxonomy create page. $settings = array('wpautop' => true, 'media_buttons' => false, 'quicktags' => true, 'textarea_rows' => '15', 'textarea_name' => ...
0
votes
0answers
37 views

Correct url for categories

In WP 4.2 project I added taxonomy using register_taxonomy function like $labels = array( 'name'=> _x( 'Category Artists&Songs', 'Taxonomy General Name', 'artists_songs' ...
0
votes
0answers
14 views

Can I show the tag admin interface on a post when logged in as an admin?

I have a lot of posts that I'm adding tags to, but it's annoying to have to click the "edit" link on each post to go into the admin and edit the tags. Is there a way I can embed the actual tags panel ...
0
votes
0answers
24 views

Change the taxonomy ID in the main query from pre_get_posts

I've a custom taxonomy in a language and I would retrieve the posts from the same taxonomy but from another language. I've the IDs. My query is SELECT SQL_CALC_FOUND_ROWS posts.ID FROM posts INNER ...
0
votes
1answer
32 views

Search format not matching taxonomy query

I have inherited some code in this project. This search works. I can click on each individual taxonomy and see the results displayed on my page. However, I would like this to extend the search rather ...
0
votes
0answers
11 views

Custom post taxonomy

How can i add category name field for other language for custom post taxonomy?Here are only one field for English.
0
votes
1answer
39 views

Query Custom post type with Taxonomy Custom Field

I have a Taxonomy called Cities. I have created a custom field for this taxonomy, using ACF, called Country So I can create a City and select the Country (select list with predefined options) it ...
0
votes
0answers
16 views

Create a list of Taxonomy 1 terms for Post type in Taxonomy 2

I am trying to create a Select List of Taxonomy terms which are used in by a Post type in a different Taxonomy. I can't get my head around on how to do it. My post type is Game. Taxonomy 1 is Cities. ...
0
votes
1answer
62 views

Exclude posts that only have the 'Uncategorized' category [duplicate]

I want to exclude posts that only have the Uncategorized category (i.e. category id 1), but if a post is (erroneously) categorised as "Uncategorized" but also has other categories, I want to include ...
0
votes
2answers
45 views

Unable to differentiate between two categories under custom post type on single.php

I have created A custom post type as mentioned in my older question When I try to use get_the_category() function to retrieve the category of the post(if it is symphony or noir). It returns "Array". ...
0
votes
0answers
36 views

Taxonomy term ACF issues with post with more than 1 category sometimes

I am trying to get and display values from a taxonomy term on a custom post type for some categories which are under 1 parent category with the ID of 80. Everything works fine when there is 1 ...
1
vote
2answers
22 views

How can I find the taxonomy in edited_{taxonomy}?

How do I find out which taxonomy triggered the save? add_action ( 'edited_' . $taxonomy->name, 'save_taxonomy' ); function save_taxonomy( $term_id ) { $term = get_term( $term_id, $taxonomy ); ...
2
votes
1answer
44 views

what are terms and taxonomy and how they related to post and how these three are stored in database

I am newbie to wordpress. I want to understand terms and taxonomy in wordpress. My questions: 1. What are the terms and taxonomy in wordpress? 2. how terms and taxonomy relates to post and how post , ...
0
votes
1answer
74 views

Retrieve list of taxonomies in json

I have custom taxonomies like that /wp-admin/edit-tags.php?taxonomy=my_cat&post_type=my_poet I want retrieve list of taxonomies in json add_action('init', array($this, 'json_handler')); I ...
0
votes
1answer
65 views

Show portfolio category slug in url ( if exist)

I'm trying to achieve a two level portfolio structure, and it works fine in the breadcrumbs but not in the URL. The idea is to show the portfolio slug (destinations) followed by the portfolio category ...
0
votes
1answer
28 views

Illegal string offset 'taxonomy' in

I'm struggling a bit with the following error Illegal string offset 'taxonomy' in ... on line 175 Trying to get property of non-object in ... on line 177 Trying to get property of non-object in ... ...
1
vote
0answers
15 views

Problem with Query on Taxonomy

I have a CPT (homepage) and a taxonomy for this CPT that has some fields (about, services ,...) I want to display the posts (and the contents) of each category (of custom taxonomy) in my homepage. but ...
0
votes
1answer
44 views

Displaying the category name of a custom post type

So I have a custom query, in which I'm displaying some results posts of a custom post type called "staff". This custom post type is linked to a custom taxonomy called "department". I am able to ...
1
vote
1answer
51 views

Get all terms inside a specific taxonomy in a multisite

I have a father blog / main blog inside a multisite that has a specific taxonomy with 20+ terms inside it. i just need a list of all the terms inside that taxonomy... i dont mind quering using WPDB ...
0
votes
1answer
21 views

How to add a post with new Taxonomy without assigning to default category?

I need your help, I have created new Taxonomy in WordPress (Called Sources) and whenever I create new post and select that new Taxonomy WordPress forces to assign Default category. How to disable ...
0
votes
1answer
79 views

Custom post type - list posts based on meta_key and display them divided by CPT taxonomy category

Shortly: I've custom post type called 'produkty' Inside this CPT I've taxonomy called 'kategorie_produktow' with terms (list of product categories, like in normal posts) - each product has ONE ...
0
votes
0answers
42 views

Order by (sort) taxonmy fields using taxonmy custom field value

I have taxonomy:-shop_vendor with multiple vendors and every vendor have two radio buttons 1)Wellness 2)Dietitian and each vendor have selected one radio button at list. If i have 6 vendors in ...
0
votes
1answer
27 views

How to view WordPress' default category IDs?

It seems that Wordpress has default categories with default (and unchangeable) IDs. For example, the uncategorized category seems to always have an id of 1. Is this always the case? Is there any ...
0
votes
0answers
47 views

Copy/Move selected taxonomy terms to another taxonomy for posts

I've been searching for about 2 hours now on a solution of copying/moving selected taxonomy values for each posts to another. Here's the situation. I'm working on a site that has a post type of ...