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

learn more… | top users | synonyms

0
votes
0answers
38 views

Display navigation for the category I just came from when a post is in multiple categories

This is a problem that has plagued me for a while, and I've used various methods to try to get around it. The typical Scenario where I get this problem is: I have a bunch of posts in the standard ...
0
votes
1answer
31 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
0answers
41 views

Saving the current state of a checkbox that I have added to my admin 'edit a category' page?

I have been struggling with this for two days. I've added an input(checkbox) to represent "Featured" categories on the 'Create a category' and 'Edit a category' pages. My problem is that when I update ...
0
votes
0answers
25 views

Get parently level taxonomy based on published posts that have child taxonomy?

I have a CPT Properties and a taxonomy Regions. So a Region is something like: Florida South Gulf Coast Anne Marie Islands Cape Coral Generally only the third level will ever be selected in a ...
0
votes
1answer
49 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
1answer
46 views

Categories and tags for custom post types

I'm having a hard time explaining this, so bare with me. Category and tag links for my custom post type aren't working as I expected them to. Instead of getting ...
1
vote
2answers
1k views

Get posts of ONE taxonomy term of custom post type

I am going crazy here as I assume it is quite simple, but I just cannot get it to work. I have a custom post type called 'portfolio' and a taxonomy called "locations'. In the taxonomy I have various ...
1
vote
3answers
72 views

Taxonomy and Date in same query?

Is is possible to combine a tax_query with a date_query in the most recent Wordpress? Here's my attempt to do so: $args = array( 'post_type' => 'job', 'tax_query' => array( array( ...
3
votes
1answer
4k views

How does Woocommerce store variation attributes, and how can they be retrieved per-variation? [closed]

I am trying to pull out a list of product variations from a Woocommerce installation, with their attributes - something like this: product id variationid name color size 5 1234 ...
0
votes
2answers
66 views

Taxonomy term count

I have a custom post type called "RESOURCES" which I used to create a directory of resources on my website. This CPT has the taxonomy called "PRICES". There are three terms free free trial premium ...
0
votes
0answers
15 views

term in multiple taxonomies?

Is it possible to have a term (e.g tag1) that is in multiple taxonomies (e.g. tax1, tax2, tax3)? Is it a good approach to have the same term associated with multiple taxonomies? or it's better to have ...
0
votes
3answers
155 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
0answers
21 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
20 views

Loop through posts and get the list of all terms for a taxonomy [duplicate]

I'm within taxonomies (a) archive and I want to loop through all the posts and retrieve a list of terms for taxonomy (b) then echo that list out with no duplicates. Here's what I have so far in my ...
0
votes
0answers
63 views

Change taxonomy for categories

I am using a plugin called "Recent posts widget extended" with a directory theme where i have directory listings showing as adverts in a sidebar on specific pages. The plugin allows me to show posts ...
0
votes
1answer
83 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
1answer
126 views

How do I display two separate taxonomy archives for two post types that share a single taxonomy?

I have a custom content type, "products", which shares the category taxonomy with posts. We're using posts to discuss and review products. The idea is to have two separate URLs: ...
0
votes
1answer
138 views

Retrieve taxonomy terms in order of their post's date?

I'm building out a custom taxonomy archive page that needs to list terms in order by their associated post's post_date. I wrote this, it's working, but I hate resorting to custom SQL: global $wpdb; ...
0
votes
0answers
34 views

URL-parameters and RewriteRule gives 404

In Wordpress I have a template (lets call it template.php) that has content on the following page: example.com/template This page should be able to handle URL-parameters like. I got this to work. ...
0
votes
0answers
39 views

A pagination-sort-of-thing on single.php view for the custom post type

First, a quick demonstration of what I need to achieve: It would work similarly to <?php previous_post(); ?> and <?php next_post(); ?>, but also include an actual "reel" indexing all ...
0
votes
0answers
85 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
1answer
67 views

Get all the posts from the category in a dropdown list in a custom field

In wordpress I have have a custom post type. Lets say it is movies. Inside movies I have a list of posts with different movie name. Now in each post I want a custom field of dropdown. Where all the ...
0
votes
1answer
217 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
64 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
0answers
49 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
29 views

How are terms connected with posts in database?

In a multi-site environment, I have a special need to get post terms (on a custom taxonomy) without the expensive operation of "switching blogs". I thought I might write my own query to get terms ...
0
votes
1answer
93 views

Select All not working in a WordPress search filter

I am trying to create a Search Filter within WordPress to filter through all the custom taxonomies within a Custom Post Type. I have created a function that generates the dropdown so I can output ...
0
votes
0answers
19 views

how do I know the term used for accessing my taxonomy page?

In a custom taxonomy, using the taxonomy.php, how can I work out for the terms associated within that taxonomy? E.g. A taxonomy of three elements, I need to list all of them. Thanks Andrea
0
votes
1answer
57 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
0answers
63 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
1answer
65 views

How to Display Child Taxonomy Posts

I am trying to show items on a page grouped by child taxonomies in something that looks like this... Child Taxonomy 1 (h2) Item 1 Item 2 Child Taxonomy 2 (h2) Item 3 Item 4 I did manage to get ...
0
votes
1answer
22 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
28 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
0answers
46 views

Access WordPress Tag Function From Modal

I am currently working on a plugin that will require the use of the Tag library inside the given WordPress installation. From a page, the user can click a button from the editor, which then opens a ...
0
votes
0answers
14 views

Wordpress bool(false) means taxonomy compare not working [duplicate]

I have a loop pulling in a wordpress content page 'peopleformat'. Here is that loop <?php // Start the Loop. while ( have_posts() ) : the_post(); ...
0
votes
0answers
96 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
1answer
21 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
44 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 ...
0
votes
0answers
42 views

Assign Custom Taxonomy to Imported Articles

So I'm importing a few hundred HTML files as posts into wordpress. I've created a custom taxonomy field called 'authors' (this is different to whoever published the post) and I wish to have the author ...
0
votes
1answer
144 views

Add Taxonomy Values Within a Custom Post Type RSS Feed

I would like to display taxonomies within an RSS feed. I am able to display my custom fields as per Add Custom Fields to Custom Post Type RSS (Thank you to all the contributors of that post), but I am ...
0
votes
2answers
372 views

Custom Post taxonomy template

Friends I need help. Am extending the Mayashop theme for a friend & I ran into a problem. Created a custom post type named watchdog, created a taxonomy for it called watchdog-brand ... now the ...
0
votes
1answer
2k views

wp_list_categories, Add class to all list items with children

I'm using wp_list_categories(); to show a list of all the terms within a custom taxonomy but I need to style list items that have children differently to those that don't. Is there a way, PHP or ...
0
votes
0answers
86 views

Query Distinct Taxonomies of Custom Post Type

I have a custom post type called "coupons". These coupons can then be drilled down by "city". City is a custom field that is defined for each individual "coupon". I am then trying to modify a sidebar ...
1
vote
1answer
43 views

Post taxonomy from exif data

Whenever I post a post with a featured image, I want to extract the exif data from that image and attach it as a term for a taxonomy. I already got a plugin which can extract the relevant info, but I ...
2
votes
4answers
3k views

show tags of custom post type ONLY

I have a custom post type with tags included as a taxonomy, I am trying to display a list of all the tags that are in the custom post type only. I initially used: wp_tag_cloud(); which generates ...
2
votes
3answers
822 views

Child Terms not Displaying on the Taxonomy Term Admin Screen

I am experiencing an issue where terms with a parent are not being displayed in the category admin screen. The screen gives the total number of terms that should be there (i.e., 32), but only displays ...
0
votes
1answer
93 views

tax query between operator like

I have a custom post called person and a taxonomy(like tags) called age. As far I have search tax query doesn't seem to support the between operator like meta query does. Is there a way to accomplish ...
0
votes
1answer
21 views

Show taxonomies from specific CPT

I want to show a simple list of taxonomies associated with my CPT. The taxonomies are "skills". I have the following code: <h4>Skills</h4> <?php $taxonomy = ...
0
votes
0answers
45 views

Query_posts using two custom taxonomies not returning posts

If I remove 'relation' and one of the taxonomy arrays the corresponding posts are returned for each taxonomy but when I add the 'relation' = 'AND' no posts are returned. Is there a problem in my ...
0
votes
1answer
37 views

GET Taxonomy ID

I have this line where "5" is the taxonomy ID. <?php echo function xyz (5,'product_cat'); ?> How can I change this to make it auto recognize always the taxonomy ID of the current page? Tried ...