1
vote
0answers
14 views

How do I get all of a single taxonomy's terms that have a particular sibling term?

How do I get all of a single taxonomies terms that have a particular sibling term? For example, let's say I have the following taxonomies. Terms are listed underneath the taxonomies, and the ...
0
votes
1answer
20 views

List all posts from custom post type by taxonomy

Having custom post types with taxonomies. Lets say I have a custom post type "Products" with taxonomies "new", "old", "fashion". Now I have a Nav where I can click on ...
0
votes
1answer
19 views

Custom Taxonomies not appearing in Admin

I've made a plugin of a custom content type and taxonomy. The CPT is showing fine, but the Taxonomies are not. There's a lot of code, but the taxonomy information is parsed below: Full code can be ...
0
votes
1answer
11 views

Change existing taxonomy settings when using custom taxonomy

For a plugin I have created a new custom taxonomy for attachments using the function register_taxonomy() and parameters like "show_admin_column". When this parameter is set to true, it shows the ...
0
votes
1answer
47 views

How to Set Taxonomy Object Description?

I noticed when dealing with Post Type Objects (Using get_post_type_object();) and Taxonomy Objects (Using get_taxonomy();) there's a property called "description". How do you set this description ...
-1
votes
1answer
31 views

Issue On Listing Woocommerce Parent Tag List

I am having some issue on getting top level terms of product_cat Taxonomy of WooCommerce First of all I have a code which list all Terms in product_cat as: $terms = get_terms("product_cat"); if ( ...
0
votes
1answer
26 views

wp_query args adding muitiple tax_querys

i am creating a custom search system which search my custom post type recipes, in the search it searches the taxonomies terms that people have selected. Now due to the way it can hard code all these ...
0
votes
1answer
28 views

Set a taxonomy as private

I created the taxonomy VAT and set public to false. But in frontend I can get posts by .../?vat_tax=22. How can reserve this taxonomy anly for internal use? Below the code I created for this taxonomy. ...
1
vote
1answer
24 views

Reverse traversing taxonomy based on term_id

Is it possible to do a reversed traversing up the hierarchy, if a child term id is known? For example, I might have a taxonomy that looks like this: Cars - Pink - Blue - Grey - Silver ...
0
votes
1answer
21 views

Display taxonomy term slugs

I'm looking to display a slug list of the taxonomy term for the current post within the loop. <?php $terms = get_the_terms( $post->ID, 'wpsc_product_category' ); if ( !empty( $terms ) ){ $term ...
2
votes
1answer
31 views

wp_options table value

I am trying to understand a wordpress behaviour. When I add a tag in the admin panel mysql does a sequence of queries. Essentially: update wp_terms update wp_term_taxonomy and udate wp_options with ...
0
votes
2answers
32 views

Get taxonomy names by post id

I'm trying to create a single page where I display a few posts on one page. So far so good. Works all fine. Now I display posts in a foreach loop where I check if they are connnected to the page. ...
0
votes
2answers
30 views

Displaying taxonomy icon outside archive page

Here is my problem. I'm working on a video website and we have different categories for each video. We have setup a custom post type called "videos" in which we use the different taxonomies to ...
1
vote
1answer
76 views

Display empty taxonomy terms with get_terms()

I have a function setup as follows: <?php $terms = get_terms("wpsc_product_category"); if ( !empty( $terms ) && !is_wp_error( $terms ) ){ foreach ( $terms as $term ) { ?> ...
0
votes
2answers
42 views

get_terms() doesn't return empty terms even though hide_empty is false

I can't manage to make get_terms() to return the empty terms and I've tried it in a number of ways. Here's the code: $terms = get_terms('device',array('hide_empty' => 0)); foreach($terms as ...
1
vote
0answers
31 views

How can I edit the 'Most Used' tab in the categories meta-box to show another custom taxonomy?

The 'Most Used' tab in the categories meta-box is the one that can be seen in the Edit Post section. I want to replace the Most Used tab, with a tab that lists another Custom Taxonomy, or edit the ...
0
votes
1answer
67 views

“show option all” on list categories doesn't display taxonomy

I have a wp_list_categories list set to display my custom taxonomy. Everything works fine, and now I want to add a show_option_all link. However, when the link is clicked it displays all default ...
0
votes
0answers
15 views

Combined Category+Tag Archive Page

I am currently developing a music blog. I am using Wordpress categories for the artists and the Wordpress tags for featured artists. I want to combine the archive pages for artists and features into ...
0
votes
0answers
41 views

Sorting a list of users by a user taxonomy with Pods

I’m trying to use user taxonomies to sort my userbase into categories and then show a list of taxonomies in the sidebar that on click expands to show the users within each taxonomy. I’m struggling a ...
1
vote
1answer
38 views

display taxonomy slug from term ID

I'm trying to display the taxonomy slug from the term ID, thus my current code is like so: <?php $catinfo = get_category(array_pop(get_sub_field('sector_selector'))); ?> <?php print ...
0
votes
1answer
29 views

How to add images to taxonomies?

Q: Is it possible to add images to all of my taxonomies (default and custom ones)? Note: I do not want to use any plugins (not my favourite solution for design related matters). Usage: I want to ...
0
votes
2answers
36 views

Custom post type post taxonomies

I created simple custom post type with few taxonomies. I <?php $query_params = getQueryParams(); $query_params['post_type'] = 'client'; if(isset($query_params['search'])){ ...
1
vote
1answer
80 views

Make a taxonomy column sortable in the admin?

I have a taxonomy term I have set to show as a column in the admin UI for my custom post type: add_action( 'init', 'create_asset_tax' ); function create_asset_tax() { register_taxonomy( ...
3
votes
3answers
120 views

Display posts the match taxonomy term linked from wp_list_categoies?

This should be simple, but it escapes me. I have a custom post type and a custom taxonomy. The taxonomy is named "asset_type" and the slug is "type" I am using wp_list_categories to provide a ...
0
votes
1answer
40 views

Extra fields on categories that is available via the WP-API?

I want my posts to belong to a taxonomy with a couple of extra fields such as category_icon, category_quick_facts etc. I want this taxonomy (with all of its fields) to be available via the WP-API. How ...
0
votes
0answers
18 views

How to set specific values for a taxonomy via IXR_Client?

I am trying to create posts using IXR_Client. I am already able to do that, but now I am facing a problem were I don't know how to create sub-categories for the posts I am creating. The way I am ...
0
votes
0answers
22 views

Change taxonomy to metabox?

I created a custom taxonomy, but I need the taxonomy values in a metabox within the same post. How can I archive this? I tried several plugins for taxonomy management, but none of them could do what ...
0
votes
0answers
35 views

Can I use multi (sub) levels of relation (AND | OR) on custom query?

I'm tryng to do the equivalent of: $args = array( 'post_type' => 'post', 'tax_query' => array( 'relation' => 'OR', array( 'relation' => 'AND', ...
0
votes
1answer
30 views

Connecting multiple post types? Or linking “News” posts with “Game” posts how?

I am building gaming news and tutorial website. But i don't know how to link multiple post types with one specific post. For example, i created post types called Games News Tutorials Videos Reviews ...
0
votes
0answers
54 views

How to display custom taxonomy

I have created city taxonomy in back end and i have added mumbai,pune,nashik city in city taxonomy like bellow snipe. My problem is that when i click the city for example mumbai i want display the ...
2
votes
1answer
110 views

Get list of terms of current taxonomy archive for another taxonomy

I have a Custom Post Type named 'Real estate' which has (amongst others) two different taxonomies: 'Purpose' (hierarchical; terms used are 'Living', 'Working' and 'Holidays') and 'Location' ...
-1
votes
1answer
104 views

Custom Search only for my Custom Taxonomy Page - data

First of all, my post is related to : Link 1 and Link 2 I made my custom taxonomy page. My Custom Taxonomy Page link is //localhost/myproject/?motion=aamir-khan This page is custom taxonomy ...
0
votes
1answer
43 views

Sort by Custom Post Type (Multiple Loop)

I have changed my set-up slightly to have 2 separate post types "Premium Listing" and "Free Listing" and a taxonomy for Listing_category. Here is an example of my Loop The idea is to display Premium ...
0
votes
2answers
40 views

Variable not working in WP_Query

I have used this technique before and cannot work out why this time it is not working. 'news_category' is a custom taxonomy of my custom post type 'News'. I am getting the taxonomy of the current ...
0
votes
1answer
53 views

Add custom taxonomy as a css class

On a custom post type archive I'm trying to add the custom taxonomy terms slug as a css class to the tag. I've managed to get it to output the page->ID but struggling to get the $term->slug to work. ...
0
votes
0answers
31 views

One taxonomy for multiple post types or not?

I am working on a website where I have a post type for "products". On this same website a user can find 3 information types about these products. Inspiration Manuals Reviews These are also 3 ...
0
votes
1answer
25 views

Querying posts globally based on custom taxonomy with its own taxonomymeta table

I have gone through the process of creating a custom taxonomy + admin panel for a custom post type in my site. These taxonomies store various meta data in a wp_taxonomymeta table and use ...
0
votes
1answer
30 views

Index page of posts tagged with two separate taxonomies

I have a custom post type Book which has three custom taxonomies: Genre Fiction Non-fiction Media Type Book eBook Audiobook Audience Kid Teen Adult My goal is to create index (aka archive) ...
0
votes
1answer
48 views

Displaying Custom Taxonomy without a hyperlink

I would love some help on how I can best display the custom taxonomy of a post as text only (and not as link within an tag). I have a small template file that is called by a few other pages, and the ...
0
votes
3answers
130 views

Hide meta box for everything BUT a certain custom post type

I need to retain tag taxonomy for a single custom post type, but am struggling with it. Is there a way to remove this meta box for everything BUT? remove_meta_box('tagsdiv-post_tag', 'post', ...
0
votes
1answer
76 views

Child Pages and Custom Taxonomies

I have been stressing over this for a while. I have figured out how to call pages in a loop using custom taxonomies. I have also figured out how to call child pages of a parent page in a loop. ...
0
votes
0answers
60 views

Change post category via MySQL

I'm currently building a management program that works separately from Wordpress but interacts directly with the Wordpress MySQL database. I have it working updating, adding and deleting posts and ...
0
votes
0answers
46 views

Taxonomy archive page not displaying multiple results

I'd like to have a filter-widget which givs me an advanced search for my custom post types. I tried several plugins: "Query Multiple Taxonomies", "Search & Filter", "Taxonomy Picker" and the ...
0
votes
1answer
150 views

Custom Taxonomy Not Saving in Front End Post

I am trying to create a front end posting form that will allow users to create a post when schools are closed. I have 4 custom taxonomies closed_schools, study_open, safe_arrival, hour_delay. each has ...
0
votes
1answer
54 views

Archive templates based on taxonomies

I have a custom post type, service-provider, with two taxonomies, area and service. I wanted to make a template based on the taxonomies. function template_taxonomy($template) { if (is_archive()) ...
0
votes
1answer
55 views

Taxonomy archive template that shows posts from more than one taxonomy

I've had a fair amount of experience with WP, but this continues to make issues and could be on the brief for my next website. I'm looking for a "good" way to accomplish this task; the post screen ...
0
votes
1answer
18 views

Custom taxonomy query showing more than 4 posts

I have a custom taxonomy query setup that shows posts from the same post type and share the same taxonomy term. The markup looks as follows: <?php $terms = wp_get_post_terms( ...
0
votes
1answer
26 views

Custom taxonomy - query returns an error

Web page in question: http://www.cambridgesca.org.uk/ExternalDirectory/searchdirectory/ Plug-in used: Search & Filter Frequencies is a custom taxonomy. Code, as follows, inserted at the end of ...
0
votes
1answer
20 views

Taxonomy page shows category in title

I have a custom taxonomy called 'Genres' within that I have various taxonomies: 'Paintings' 'Drawings' etc. I use the code below to create my page titles. When viewing the taxonomy page for ...
0
votes
0answers
40 views

Modify taxonomy-$taxonomy-$term.php to include posts from all blogs in multisite

How should I modify the taxonomy-$taxonomy-$term.php template to include posts from all sites in the network? I've been looking into the query_posts method from the Custom Queries Codex article, and ...