Since WordPress 2.3, plugin and theme authors have had the ability to create custom taxonomies-- essentially specialized "categories"-- to help organize information.

learn more… | top users | synonyms

1
vote
1answer
773 views

RSS feed for dynamic set of custom taxonomies terms

I've got a CPT called 'Job' and three different taxonomies associated with it: location, type (permanent/contract) and expertise. I've got a filter on the website that allows to search for jobs of ...
0
votes
0answers
14 views

Get archive of posts separated by taxonomies and subtaxonomies

I'm making a website that lists hotels by region and sub-regions. I made a custom post type called Hotels and a custom Taxonomy called Regions. I've inserted countries as parent regions and states as ...
0
votes
1answer
23 views

Custom Taxonomy Archive Page for Parents AND Children?

I have a custom taxonomy called Product Category, which has a range of parent categories, then each parent one has subsequent child categories. Is it possible for the archive page i/e ...
2
votes
1answer
531 views

Adding Custom Taxonomy Archive Link to Nav Menu Shows Up As (Invalid)

I have a custom post type "packages" with a taxonomy "Celebrations" that has a few terms in it. When I try to add a link to my wp nav menu through Appearance > Menus and choosing the term I want from ...
0
votes
1answer
629 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 ...
1
vote
2answers
39 views

Set object terms not working on plugin activation

I am trying to create a couple of custom posts and set a custom taxonomy term to it on plugin activation. I am using the register plugin activation hook to do it. The posts are created properly, but I ...
0
votes
1answer
619 views

Filter by Custom Taxonomy AND Custom Field

I'd like to give my users the possibility to filter the posts by Taxonomy Terms AND Custom Field values. Like so: [tax]Country:[terms] [tax]Company:[terms] [field]Price:[values] Filtering by ...
0
votes
0answers
8 views

Grouping posts by Custom Taxonomies and wording by date

I have already figured out how to create a loop that pulls posts from a Custom Posts Type that I created and grouping them by terms of a Custom Taxonomies. Sorting of terms Alphabetically works ...
1
vote
1answer
1k views

How can I make a custom post type sticky?

I installed the "Sticky Custom Post Types" plugin, and I added this code to my function.php: function wpb_cpt_sticky_at_top( $posts ) { // apply it on the archives only if ( is_main_query() ...
0
votes
1answer
473 views

Getting custom taxonomy posts on archive page

Hi I am not sure if the question is understandable or not but what I am trying to achieve I will explain. I have a custom post type called menu item and custom taxonomy called menu item type. CODE ...
0
votes
1answer
442 views

Get categories and descriptions from custom post type

I'm trying to pull all of the categories associated with a custom post type within a loop, but I'm not sure how to get it so automatically pulls all of the categories automatically from the associated ...
0
votes
0answers
10 views

Custom Post Type - Edit Custom Taxonomy Bases

I'm building a property website in WordPress and I am having an issue with setting up permalinks for my custom taxonomies within a custom post type. Custom post type slug - properties. Url - ...
0
votes
1answer
15 views

Custom Taxonomy and Rewrite URL

I'm fixing some custom templates. There is this custom taxonomies add_action( 'init', 'custom_taxonomies', 0 ); function custom_taxonomies() { register_taxonomy('news_category', 'stfp_news', array( ...
0
votes
1answer
358 views

The next_posts_link() show me a aditional page in blank

The description Hi, I am using a custom post type and a loop through the values ​​I show. I'm using a term ($ term) that comes from a previous page in the loop to only show related items. Just for ...
0
votes
1answer
600 views

Showing the custom taxonomy parent term and child term of a post

Is there any way that you can show a custom taxonomy's parent term and child of a post? I'm currently using get_the_term_list() to display the custom tax terms of the post. The only problem is the ...
0
votes
0answers
19 views

Can I use a second taxonomy when creating a post?

I have created second taxonomy, and can use it when creating a new post. However, on the front-end of my theme, using the wp_terms_checklist function, how do I create a post using 2 taxonomies? My ...
0
votes
1answer
12 views

Get array of current post term ID's

I'm creating a little "Related posts" section on a site and I'm doing it based on terms in a custom taxonomy called "director". How can I get an array of term ID's for the current post so that I can ...
0
votes
1answer
33 views

Custom post type AND custom taxonomy are not connected

I have CPT and Taxonomy (code below). When viewing taxonomy term archive page, it's empty. WordPress doesn't know it has include my custom post type to WP_Query. Am I doing something wrong? function ...
1
vote
1answer
612 views

Custom Post Types, URL rewrite on multiple CPTs

Re: Custom post types, taxonomies, and permalinks by @TheDeadMechanic The solution above works perfectly, and rewrite is great, but can you advise on how to rewrite for more than one custom post type ...
2
votes
2answers
3k views

get_query_var('paged') always returns empty

Putting this up after having hit a brick wall for possible solutions. Have a site with quite a few custom post types and associated custom taxonomies. To help make things easy, I'm using a unified ...
0
votes
1answer
668 views

WordPress import not importing custom taxonomy

I've posted this already in the WP Support Forum hoping to have more luck here. I'm trying to import a custom post type from one blog to another. (126 posts in the custom post type). I've exported ...
0
votes
0answers
25 views

Register new post type in plugin (multisite)

I'm currently trying to create a custom post type inside my plugin. Everything works fine in the back-end but when I try to view the post in the front-end then either it redirects me to the homepage ...
0
votes
0answers
17 views

Taxonomy name in the URL [duplicate]

So I have a taxonomy of Clients linked to two custom post types (Press releases & Case Studies). What I want is the URL of a Press Release or Case Study post to have the client name (taxonomy ...
0
votes
2answers
485 views

Making a Custom Search form

I am creating a custom search form which will search a custom post type called recipes. and it has a load of taxonomies. Now I output these taxonomy's terms into checkboxes which are grouped by the ...
1
vote
6answers
1k views

How to get next previous category in same taxonomy?

Like WP get_adjacent_post function gives the next and previous post data based on the parameters i want to get the next/previous category data is there any WP built in function which does the right ...
1
vote
1answer
993 views

Displaying custom-taxonomy-terms sorted by parent/child-hierarchy?

I have a custom post type with a custom taxonomy (to show some "best practice" examples on my website). On the single-post-page (single-bestpractice.php) I wanted to show all the terms (categories) ...
0
votes
1answer
26 views

Save values generated via API as taxonomy terms

I'm using the IMDB Connecter plugin to grab meta data for movies and I'm wondering if I can save some of the information it generates as terms in a custom taxonomy that already exists. What I want to ...
0
votes
1answer
11 views

How to restrict search on a certain page to only return results against custom taxonomies?

On a specific page, I would like the search to be performed only against the terms from two custom taxonomies. Not the content or title. That is, the user is directly searching taxonomy terms. What ...
1
vote
1answer
36 views

Custom taxonomy & post slug permalink

I have a custom taxonomy and a custom post type. I'm aiming for the following permalink structure: {custom taxonomy}/{custom taxonomy term}/{custom post slug} Or, at the very least, {custom ...
0
votes
1answer
1k views

Displaying Metabox value (custom post type taxonomy)

I have been stuck on this for days, reading articles and articles and nothing works. I am trying to display the value of my metabox on a template page. I successfully added the metabox, and I see ...
1
vote
0answers
20 views

Are exclusive taxonomy terms possible?

I'm creating a site that requires users' content to be exclusive to the user. Ideally I would like this to extend to taxonomy terms. Example: I have a taxonomy "Clients" UserA creates the term "My ...
0
votes
1answer
2k views

Conditional two level dropdown filter for custom post type

I have set up a custom post type and taxonomy. The post type is called Local Services and the hierarchical taxonomy is called Regions. The Regions have child categories called Areas. I have set up a ...
1
vote
1answer
25 views

Updating / Saving items generated by wp_terms_checklist on frontend

I'm displaying a list of custom taxonomies from a custom post type on a frontend page which shows any items that the user has previously selected as checked. I have got it displaying correctly, but I ...
0
votes
1answer
21 views

How to get xml file for a single post type?

Having a custom post type "Articles" with custom taxonomies "volume, issue, authors, Keywords ... etc". I need to add a button on the single post type front-end to let visitors download an xml file of ...
0
votes
1answer
15 views

Custom Tax Archive of Parents Only?

Is it possible to have a page which shows a list of the custom tax parents only and only 1 post per custom tax, i/e link to the parent archive So even though the custom tax may have x number of ...
0
votes
2answers
21 views

Display Post co-authored in Author Page

I am using co-author plus and I have posts in my site that are done by multiple authors. I would like that when I click on the co-author's author page, I will be able to get the posts that he/she ...
0
votes
0answers
7 views

I want to show a list of all the custom taxonomies, and under each a list of some posts that match that

Does anyone know how they might do that? I imagine it would involve getting the list taxonomies, and then iterating through them with php to, and for each taxonomy item, querying the posts and ...
0
votes
1answer
669 views

Get all attachments by custom taxonomy - term

I want to make custom taxonomy (gallery) and terms (name1, name2, name3...) Add images into media tab and then retrieve all images from same term. Look like simple task, but I cant manage it. I ...
0
votes
1answer
19 views

List Taxonomy Terms based on another Taxonomy

I have a custom post type called Resources. Resources post type has two different taxonomies associated with it, Resource Types and Resource Tags. Resource Types sets the format/type of the resource ...
1
vote
1answer
9 views

Custom Taxonomy to dropdown box on adminside wordpress

Can I create a country- location hierarchy using custom taxonomy on admin side. When selecting a country from select box , an another box should see the list of location comes under that country. And ...
0
votes
0answers
9 views

Sort Taxonomy List by Custom Values

I'm trying to make the order of taxonomies adjustable. I've already got the drag & drop working and can put those values to the database. I just don't know how to sort the taxonomy list by other ...
2
votes
2answers
16k views

Display current taxonomy term when inside custom post type

Well, this should be pretty simple, however I couldn't find answer anywhere on the web. all answers I found were close but no exactly what I needed. what I need is to display just the current term of ...
0
votes
2answers
681 views

Category link redirect to custom template page instead of index.php?

I want to make template page for my custom taxonomy. I have custom taxonomy categories listed as navigation links. It's the country list (China, Slovenia, Serbia...). Every of this categories has ...
0
votes
1answer
7 views

How to filter a taxonomy meta field to the 'single_term_title' filter hook

To show terms in Bengali I enabled term meta fields, saving data into options table. I made a custom function (get_term_meta()) similar to post_meta to fetch my taxonomy meta data, that takes term_id ...
0
votes
1answer
308 views

How to filter the taxonomy terms based on another taxonomy term

I have created a custom Post Type called "Tour" which Holds up-to five Taxonomies called "destination", "Types", "Month of Travel", "Year of Travel" and "Led by". Now I brought them as drop-down ...
0
votes
1answer
12 views

How can I list all the categories under a Custom Post Type (taxonomy)?

So I have created a custom post type and under that taxonomy named "Category" which serves for categories. How can I list all the categories from there?
1
vote
1answer
41 views

Creating terms vs custom post meta to save data?

I am making a news aggregation site on wordpress. I've to save domains of source urls somewhere. Sometimes source url could be same for multiple posts. So I'm confused how should I save the data. ...
0
votes
1answer
857 views

Get post terms with hierarchical relationships

I'm having a hard time getting a set of selected terms in a custom taxonomy presented in a specific way. I have a hierarchical taxonomy 'places' and a post with the tagged terms: England (x) - ...
0
votes
1answer
18 views

Returning One custom taxonomy term name

I have a custom taxonomy called cities and right now the only city is las vegas. I am trying to use the code in question to echo "Las Vegas" - for the posts that are associated - on the search results ...
1
vote
2answers
483 views

Include a specific post to the query_posts and remove it if it is already in the returned list

Bare with me. Firstly, here is my whole script for my featured slider articles: <div id="featured" class="<?php if ( $responsive ) echo 'flexslider' . $featured_auto_class; else echo ...