The classification, or categorization, of things
Questions tagged [taxonomy]
1570 questions
5
votes
0 answers
Multiple Custom Permalink Structures in Wordpress
I have one Custom Post Type 'story' and two taxonomies, 'artist' and 'writer'.
I have managed to get a Custom Permalink Structure like /%artist/%writer%/%story% by doing this (resumed code):
add_action('init', 'custom_init');
…
user465316
5
votes
3 answers
Gadzooks! Architectures abound! Looking for an embedded processor/controller taxonomy
I am looking for a taxonomy of embedded processors. Which processors belong to which families? Who decends from whom?
Does anyone here know of a simple article that describes it?

Paul Nathan
- 39,638
- 28
- 112
- 212
5
votes
1 answer
Wordpress query using category__and with tax_query
I've been searching for a while for a method that will accomplish usage of category__and while using a custom taxonomy for those categories.
I have a custom post type of "project", inside that project I have used a custom taxonomy "portfolio" to…

GDT
- 304
- 4
- 15
5
votes
1 answer
Changing background image of a Drupal page based on user's selection...?
I'm trying to give my users the functionality to change what the background image used on a page is.
The list of background images will be a small number that won't really change.
I thought I could add a few Taxonomy terms...one for each background…

Sambo
- 1,472
- 5
- 21
- 33
5
votes
3 answers
Woocommerce global product (multisite)
I set in wordpress the property multisite and activated woocommerce on my network.
My network is formed by a primary site and a subsite.
I would like to see from the subsite see the products on the primary site, and products, attributes and…

SavioZ
- 119
- 1
- 1
- 9
5
votes
2 answers
Wordpress, get current level of taxonomy in an archive page
I'm creating a WordPress site to display a catalogue of items using a custom post type and a custom hierarchical taxonomy. I'd like to keep it simple and deal with the items in a single archive page, but I need help how to determine the level of…

kamontander
- 57
- 1
- 6
5
votes
2 answers
Weird Taxonomy migration issue (1.6 to 1.7.2) in Orchard CMS
crosspost: https://orchard.codeplex.com/discussions/484033
I'm migrating from Orchard CMS 1.6 to 1.7.2. To give some background, I've hurdled a prior issue before migrating terms in taxonomies by updating the tables:
UPDATE…

AnimaSola
- 7,146
- 14
- 43
- 62
5
votes
2 answers
Wordpress Notice: Trying to get property of non-object
I have a custom post type set up on my blog and a special page for the taxonomy. On the taxonomy page I am getting the below error. Can anyone give me some tips on how to resolve this error?
The page loads fine and works as I would expect. But I…

user1609391
- 445
- 1
- 9
- 24
5
votes
9 answers
Query multiple custom taxonomy terms in Wordpress 2.8?
I created a custom taxonomy named 'technologies' but cannot query multiple terms like I can with categories or tags.
These querys DO work:
query_posts('tag=goldfish,airplanes');
query_posts('technologies=php');
However, neither of the following…

Chris Voth
- 853
- 5
- 13
- 22
5
votes
2 answers
Drupal 7: Programmatically get the list of tags (taxonomy)
I need to programmatically create a list of the tags used in a Drupal 7 website. I'm browsing through the api/functions, but can't find something like "get_list_of_terms()" :-)
How should I proceed?
Thanks!
J.

Jem
- 6,226
- 14
- 56
- 74
4
votes
1 answer
How to make a block listing taxonomy terms in a hierarchy (Drupal 7)
So I have a taxonomy hierarchy (assigned to blog posts as free tags) that looks, say, something like this (apologies, it's totally arbitrary for testing purposes right now):
I'd like to create a block that simply outputs what I see in this menu:…

persepolis
- 789
- 3
- 12
- 22
4
votes
4 answers
Drupal 7: Pathauto hierarchical taxonomy terms pattern
I have a Drupal 7.9 taxonomy vocabulary according to the following scheme:
category-1
category-1 > subcategory-1-1
category-1 > subcategory-1-2
category-1 > subcategory-1-3
category-2
category-2 > subcategory-2-1
I want to reflect…

Philipp Michael
- 954
- 1
- 11
- 22
4
votes
4 answers
Need an algorithm to find near-duplicate text values
I run a photo website where users are free to enter any tag they like, even tags not used before. As a result, a photo of a tag may sometimes be tagged as "insect" whilst somebody else tags it as "insects".
I'd like to keep the free-tagging…

Fer
- 4,116
- 16
- 59
- 102
4
votes
0 answers
WP: How to delete unused taxonomies and terms from the DB?
while working on my basic website and creating a custom plugin to add different taxonomies and custom post types, I ended up with several entries in the database that are not useful anymore.
I'm wondering if there's a nice way of deleting…

kram08980
- 99
- 8
4
votes
3 answers
Taxonomy image in Drupal 7
I've set up taxonomy in Drupal 7 called Colours. I've added some terms (red, blue etc) and added a colour image to each term.
In a content type I have added a term reference field, so my client can choose colours (the colours in which that product…

user789105
- 41
- 1
- 2