In WordPress, terms are itens set to a taxonomy, i.e. when you create new categories or tags you create new terms.

learn more… | top users | synonyms

2
votes
0answers
188 views

How to display term description in empty terms archive?

I list all terms from a taxonomy, even the empty ones, but I found out that at least in 2010/2011 themes I got a 404-like message, the default seems to only display the term description when at least ...
1
vote
0answers
15 views

Create Search Form to Filter Through Terms

I have pages that displays a list / grid view of all my taxonomy terms. Over 200 terms. The page is paginated since there are so many terms, however, I would also like to include a "search" box at the ...
1
vote
0answers
78 views

Use custom walker to add taxonomy terms to main nav menu

I created a Custom Post Type: Product and a Taxonomy assigned to it: Products So under that Taxonomy I can add different types of products (terms if i'm not mistaken). When adding new products I get ...
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
0answers
42 views

Admin ajax add tag callback

Is it possible to add an additional callback to admin ajax? Basically, I'm trying to increment the value in an input field of the add form for a custom term after the form is submitted. After the form ...
1
vote
0answers
132 views

Add term to custom post type on draft

I'm trying to automatically add a custom taxonomy term to custom post type when the custom post type of property is created. The action is firing but it is not adding the term. I know it is firing ...
1
vote
0answers
173 views

Same term from custom taxonomy in two different custom post types?

I use a front end form to insert custom post types, an input is used for inserting terms (keywords) to a custom taxonomy for this custom post type. I just noticed in the back-end when I view the ...
1
vote
0answers
204 views

Get posts under a category with SQL

How can I retrieve posts under a category with plain SQL with out using WordPress native api's like get_pages? My Wordpress table wp_terms contains a term named Restaurants. I want to list the post ...
1
vote
0answers
40 views

Ordering taxonomies by rank

I'm using a function (copied and modified a bit from this question ) which displays taxonomies in order by rank with » between parent and child and | between terms, but I get a mistake in the html ...
1
vote
0answers
154 views

get_terms not returning any custom taxonomies

I have a custom post type called project with custom taxonomy called tagportfolio I use this code to generate both: add_action('init', 'project_custom_init'); /*-- Custom Post Init Begin --*/ ...
1
vote
0answers
90 views

sql select for post_title and a term name

I'm having trouble trying to think out this SQL select I need to write; here's the gist: I'm programmatically creating posts by importing an excel file, so I'm in 100% sure of post titles, etc, since ...
1
vote
0answers
192 views

Listing all term items alphabetically / sorting loop

I have my own custom post type and it has its own taxonomy and terms. Whenever user visits http://example.com/mytaxonomy/myterm I want the page to display all items within this term alphabetically. ...
1
vote
0answers
296 views

List Posts For Terms Of A Custom Taxonomy For Any Post Type

The function is great and i am using this function with these filter to just display selected taxonomy term posts by id, but what result i am getting is like this Child Taxonomy 1 - Child Taxonomy 1 ...
1
vote
0answers
292 views

Exclude posts with taxonomy term from appearing on home page query

I am really confused about this one, I am usually pretty good at working out basic queries but I can't seem to work this one out. Please see below my index.php query. Now it is not your basic query ...
0
votes
0answers
35 views

Foreach inside shortcode not working as planned

I have a loop inside a shortcode to display the list of posts for each category (schedule-day) in a custom post type (schedule). The first category lists the posts in said category just fine, but ...
0
votes
0answers
9 views

Default metadata for Custom Taxonomy when using Add New Item on Post Edit

I have created a custom post type, that has a hierarchical custom taxonomy. This taxonomy has extra custom fields tied to it that save to a custom table in the DB. These fields have default values set ...
0
votes
0answers
38 views

Get Metabox taxonomy value and create metabox for termmeta

I got a big problem here. What I want to do is: Create Taxonomy meta box in the post edit screen, lets call it "text_from" Then Depending on the value of the "text_from" meta box display a field ...
0
votes
0answers
37 views

How to group by custom posts by child taxonomy term

I have registered a custom post types named "property" , a custom taxonomy "city" is associated with that post type . I have couple of city like Ontario Toronto street 1 street 2 ...
0
votes
0answers
20 views

wp_set_object_terms bugging

I'm working on a plugin where I set custom terms for posts on save. I use the save_post hook. It all works fine except when I for example also change the title of the post, the custom terms setting ...
0
votes
0answers
21 views

Sort WP Taxonomies

Is there a way to sort a custom taxonomy term list in order of recent updates to posts inside that taxonomy? Example: Custom Post Type: Research Custom Taxonomy: University Research Custom Tax ...
0
votes
0answers
8 views

Order Terms by Custom Field

I have a custom post type that I am trying to order by terms. Each term has a custom field "order" associated with a number. I am trying to order the posts by term, in numerical order based on the ...
0
votes
0answers
15 views

Display Child Term if it exists

I have a page that lists all the members of my band. The members are categorized into 'sections'. There are a few child sections, and I'd like to display the child section (if it exists) for each ...
0
votes
0answers
32 views

How to get list of posts with specific tag in separate category

I have a custom search function in my functions.php. And I need to change it, so that it will search also by tags in a specific post category (with ID 6 for example). For example someone search ...
0
votes
0answers
65 views

Remove Custom Taxonomy Slug only without removing Custom post type slug in permalinks

I have a problem currently that is related to permalinks. I have a custom Post type "workshop" and two taxonomies named "manufacturer" and "models". What i want to get and tried is this URL pattern. ...
0
votes
0answers
51 views

How to filter the terms to a special custom taxonomy?

I do have a custom taxonomy called "countries". With the code below I get for each term (country) the number of its published posts in brackets, like the following: Canada (3) USA (5) Italy (2) ...
0
votes
0answers
33 views

get_term_link not showing

I've built a widget that shows a listing of products by category in WooCommerce. I can't seem to get the widget title to link to the product cat page. The title of the category shows up fine but I ...
0
votes
0answers
19 views

2 Different Taxonomy with Hierarchical Term Relationship

I'm searching a way to combine two different taxonomy by it's term. Here is a picture of what I'm trying to achieve I will used this later in a drop down select box with Ajax, if it choose Make ...
0
votes
0answers
80 views

Assign Taxonomy Term from Post on media upload?

First off let's begin at the code: add_filter('upload_dir', 'set_destination_folder', 999); function set_destination_folder ( $upload_data ) { if ( ! isset( $_REQUEST['post_id']) ) return ...
0
votes
0answers
31 views

Sanitize Term Custom Field - apostrophe problem

Alright guys, before posting I've searched the similar questions but I couldn't find the answer. Problem: I've added custom fields to a custom taxonomy, when I'm saving the options using ...
0
votes
0answers
41 views

How to display proper parent child heirarchy with custom taxonomy in front end

Right now I have a front end form that lists 4 separate taxonomies in checkbox inputs that a user selects. I can list all of the terms one after the other but I can't figure out out to list them with ...
0
votes
0answers
91 views

How to display list of taxonomy terms of all posts in taxonomy archive?

I have 3 separate taxonomies, all with their own terms. When a term is clicked and the user is taken to that archive, I want to display a list of all the taxonomy terms associated with all the posts ...
0
votes
0answers
56 views

Cannot get the categories of a single custom post

I'm trying to display in a class all the categories each custom post is part of. So for example the wanted output is : <ul> <li><a href="" ...
0
votes
0answers
75 views

Translate custom taxonomy terms

I got one problem about translating taxonomy terms. Situation: I have multisite instalation with many sites in different languages. I am using broadcast plugin that broadcast some post types and ...
0
votes
0answers
24 views

How can I assign two post term with each other?

I have a custom taxonomy named "ingredients" which have terms "salt","egg", "sugar". And another taxonomy "measurements" which have terms "1 spoon", "500 gr", "one ons". I want to assign terms to ...
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
63 views

display specific term based on custom post type in custom taxonomy metabox

I am using a custom taxonomy 'Categories' for more than one custom post types. While adding/editing a post in one of the custom post type, I want to show only specific TERMS under custom taxonomy ...
0
votes
0answers
32 views

Extra meta for a taxonomy list

I have a created a taxonomy for my wrdpress theme with check-box 3 parent each has 3 child and want to ad an extra input if user don't want my option then he can give his/her custom option can any one ...
0
votes
0answers
27 views

How can filter terms by custom meta data

I have terms and i get data like :- $cat = get_terms( "progamdvideo_c", $args ) ; foreach ($cat as $term) { echo $term->slug; } Now i have metadata for this term ...
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 ...
0
votes
0answers
12 views

Display authors Whos write in category

i have block that display all category in custom post type of my site like this:- $cat = get_terms( "progamdvideo_c", $args ) ; now in post type i add article, each article have authors, how can ...
0
votes
0answers
50 views

How to include specific post terms in Facebook share?

So I already added the necessary scripts to add a Facebook share button in my posts <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = ...
0
votes
0answers
76 views

How to use if statements to check and echo terms by hierarchy in a post?

I'm seeing a lot of posts on here with helpful snippets to resolve my problem, but nothing has been specific enough to help me - or I just don't understand how to make those solutions work for my ...
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 ...
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
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
0answers
141 views

Get term_taxonomy_id from return of wp_insert_post

I am trying to get the term_taxonomy_id from the returned array of wp_insert_term. Below is my code. The term is correctly added to the db, but it fails when i try to get the id and save it to a ...
0
votes
0answers
27 views

Make taxonomy terms appear in the order they were made

IS it possible to make taxonomy terms appear in the order they were made, in the backend? They keep appearing in alphabetical order. I tried using sort but it doesn't seem to be working. This is my ...
0
votes
0answers
93 views

Custom post type URL returns 404 error page

I have a post_type called "products" and inside it have two taxonomies "destinations" and "types". Inside destinations i have a list of countries as terms and inside types i have (hotels, cruises). ...
0
votes
0answers
43 views

Sideways8 Taxonomy Images add term issue

I'm using the Sideways8 Taxonomy Images plugin (latest version), with WP 3.7.1. I also use the woocommerce plugin (latest version). It all worked well till some point, where I really don't know why, ...
0
votes
0answers
71 views

Combining / Merging two queries?

So I am working on an isotope filtered portfolio page that pulls any attachment tagged with the term "digital-interactive". Each attachment is also linked to a custom post_type called "work". On one ...