Questions tagged [custom-taxonomy]

Custom criteria that allow categorization, identification, nomenclature, and classification of various entities in software.

Custom defined criteria that allow categorization, identification, nomenclature, and classification of various entities in software and programming.

Custom taxonomies are commonly used in WordPress and Drupal as a methodology to group and organize content entries.

1187 questions
0
votes
1 answer

Replacing the title of a post with a custom taxonomy on wordpress

Using filters/hooks, how would I replace the title of a wordpress post with whatever term has been selected from a custom taxonomy. Hopefully the attached image will explain what I'm trying to do. Let's say I selected 'Powerchrono' - I would like…
Nick
  • 715
  • 2
  • 7
  • 10
0
votes
1 answer

Previous and Next Post in Same Taxonomy in wordpress

I have created a custom post type called staff and have a custom taxonomy called staff-categories which has terms like Broker, Admin etc etc . I have created the single page single-staff.php. Im stuck in the navigation part where I need the…
rahul251
  • 68
  • 1
  • 2
  • 13
0
votes
3 answers

Wordpress Page for custom taxonomy

I'm a newbie in WordPress and I've just created a new custom-taxonomy called categories under a custom post type called arts. Is there a way I can create a custom page to display the 'categories's custom type? Such that a user can navigate to…
sammyukavi
  • 1,501
  • 2
  • 23
  • 51
0
votes
1 answer

Exclude post type from custom taxonomy template

I have setup a custom taxonomy called "video_categories" and have set it to two different custom post types - "videos" and "locations". I am using the template "taxonomy-video_categories.php" to display the posts that have related taxonomys but I…
0
votes
1 answer

How to display custom posts from a related custom taxonomy

I created two different custom post types: "Videos" and "Locations." I then created a custom taxonomy called "Video_Categories." I have assigned this custom taxonomy to both of the custom post types. What I want to do is display the Videos that have…
0
votes
1 answer

WP custom taxonomy description by term

Seen a lot of posts elsewhere, but nothing quite hitting the mark. I need to echo the description of a specific term of a custom taxonomy related to a custom post type. Right now, I'm doing the following loop successfully to pull content for related…
RooWM
  • 583
  • 9
  • 23
0
votes
1 answer

Wordpress custom taxonomy page

I've got a question that I've seen being asked before, but none of the answers solved my problems. It's something I've run into before, but never managed to solve. I've got a clean Wordpress installation and in the functions.php file I've created a…
Crinsane
  • 818
  • 3
  • 16
  • 28
0
votes
3 answers

Get term id of current taxonomy in wordpress

I am trying to create a function which adds additional custom data fields to my taxonomy pages, I have found this plugin which add this capability. Now I can get the saving the custom data works fine.. however trying to get the metadata on edit form…
InvalidSyntax
  • 9,131
  • 20
  • 80
  • 127
0
votes
1 answer

Storing terms in post array and returning corresponding posts on form submit

I have a list of taxonomy terms with checkboxes that post as an array on form submit to a page template called Post List. My goal here is to list taxonomy terms with checkboxes, then on form submit, display the corresponding posts that have the…
dcd0181
  • 1,493
  • 4
  • 29
  • 52
0
votes
0 answers

Sharing a taxonomy between two post types

I have two custom post types, genres and movies. I'd like to list the genres with checkboxes next to them, and when submitted, I'd like to list the movies tagged with genres previously selected, so genres can belong to multiple movies and vise…
dcd0181
  • 1,493
  • 4
  • 29
  • 52
0
votes
1 answer

Wordpress taxonomy template

I have a custom taxonomy called productcategory that is declared like this register_taxonomy( 'productcategory', 'product', array( 'hierarchical' => FALSE, 'label' => __('Kategorier'), 'public' => TRUE, 'show_ui'…
Anton Gildebrand
  • 3,641
  • 12
  • 50
  • 86
0
votes
1 answer

Conditional Tags for Custom Taxonomy in Custom Post Type

I do hope you give me a practical answer for this (maybe simple problem for you). I have crated a Custom Post Type named (example:) "Cuspost" and I have Custom Taxonomy inside Cuspost named "Custax". Then I have taxonomies: "A Custax" and "B Custax"…
0
votes
2 answers

custom taxonomy terms page not found Wordpress

I’m getting a Page Not Found message when clicking on the link to display the terms in a taxonomy Scenario: I have a custom post type called "glossary" Attached is a custom taxonomy called "section" with the rewrite set to…
dorich
  • 1,059
  • 1
  • 17
  • 25
0
votes
1 answer

Wordpress Taxonomy Terms - foreach(): not working as expected

I want to create a link for each term in a custom Wordpress taxonomy. I don't get why this isn't working. A var_dump($artwork_media) returns the full array but putting var_dump($artwork_medium) within the foreach loop returns only the first item.…
Adam Elsodaney
  • 7,722
  • 6
  • 39
  • 65
0
votes
1 answer

wp_query not filtering tax_query correctly in pre_get_posts

I'm having a problem with the following situation: I am creating a custom form for searching my custom post type (immobiliare) and attached to this I have 2 custom taxonomies: location and tipologia. My searchform.php is:
PirosB3
  • 1,961
  • 1
  • 17
  • 21