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

Wordpress: Custom Taxonomy Not Consistently in URL

I have a custom post type and custom taxonomy set up using the code below in functions.php. The URL writes correctly when clicking through on the archive pages on the front end and when clicking "View Post" in the admin edit screen. But when the…
jlibs
  • 13
  • 7
0
votes
1 answer

WordPress: generate new post by adding new category

I have costom post type (a-posts) and custom hierarchical taxonomy (a-tax). Now, question: is it possible automatically generate new custom post when user add new custom category. Im searching for some hooks last two days but can't find…
wpanin
  • 25
  • 1
  • 9
0
votes
2 answers

Invalid Custom Taxonomy when adding to menu

I've just created a custom taxonomy to add a 'page type' to different pages in a WordPress site. They can be added to a page fine but unfortunately I cannot add these taxonomies to any menu in the CMS. Each page will be set to 'Male', 'Female' or…
Chuck
  • 119
  • 3
  • 20
0
votes
0 answers

Use Taxonomy Checkbox to add Custom Post Type to Main WordPress Loop & Feed

I have a problem with WordPress Custom Post Types that I can't seem to wrap my head around. I would like to have a category or a custom taxonomy checkbox on my custom post type, and if this one is checked, then display the post in the WordPress main…
0
votes
0 answers

Populate second dropdown using Selectize

I was using the Chosen plugin to populate a second dropdown based on the selection of the first. I would like to change over to the Selectize plugin for performance reasons now, but am having trouble doing so. My setup is as follows: 1st Dropdown =…
Guit4eva
  • 151
  • 1
  • 9
0
votes
1 answer

Hook taxonomy template to category template

I've created a plugin which registers a custom post type and a custom taxonomy for me. Now, whenever I visit: www.mysite.com/events_categories/category I should get a list of all the posts under that category. I want to use my own template and not…
Stefan
  • 218
  • 1
  • 4
  • 13
0
votes
1 answer

How to include archive template file through plugin

I have registered a custom taxonomy wfa_book_genres through plugin and the slug name for this taxonomy is genres. Now i want to include archive template from plugin folder for my custom taxonomy. I tried to use below examples code but it shows…
Mehedi Hasan
  • 77
  • 1
  • 9
0
votes
0 answers

Wordpress - Add custom fields to custom taxonomies

Mates, I'm trying to add some custom fields to a custom taxonomy. I've created the taxonomy, all functions according to this tutorial: https://pippinsplugins.com/adding-custom-meta-fields-to-taxonomies/ But the custom fields are not showing up, and…
Pablo
  • 1,173
  • 4
  • 18
  • 46
0
votes
1 answer

Change URL of category using add_rewrite_rule method in wordpress

Hi i have custom post type called "downloads" and custom taxonomy called "download_category" so when i am open any category page like i have one category call "Avro" so current URL of page is http://domainname/downloads/category/avro/now i want to…
0
votes
1 answer

Wordpress - saving custom fields data of custom taxonomy

Forgive me if this answer is easily found in the Codex function reference. I have looked at the reference page for add_action( $hook, $function_to_add, $priority, $accepted_args ); but I have not been able to find the information I need. What I have…
DrewT
  • 4,983
  • 2
  • 40
  • 53
0
votes
0 answers

Whats the best way to list out all custom taxonomies in Wordpress

Ok so I have a custom taxonomy called "Types" for a custom post type of "Products". Now I have a lot of different "types" for that custom post type. I want to list out all of the different types with a link to those specific types that displays all…
Lucas Santos
  • 1,359
  • 3
  • 24
  • 43
0
votes
0 answers

Multiple dropdown search for multiple custom taxonomies on Wordpress

I've been trying every code I can find on the internet to achieve a multiple drop-down search with custom taxonomies on Wordpress 4.0. I have created the custom taxonomies. I am building an education directory and want to achieve something like…
0
votes
1 answer

Conditional logic with WordPress taxonomy in wp-admin area

Is it possible to add conditional logic to taxonomy in admin post area (I mean while creating new post)? Like I have two taxonomies Destinations with terms (a, b, c, d) and services with terms (1, 2, 3, 4 etc) How to show services taxonomy in post…
krozero
  • 5,929
  • 3
  • 21
  • 33
0
votes
0 answers

WordPress - Custom Post Type and Taxonomy

Currently i have create : One new taxonomy : project One new post type : task And i want to have : // 1- List of all project www.example.com/projets/ // 2- See one project and list task www.example.com/projet/un-projet/ // 3- See one task of…
0
votes
2 answers

How to create taxonomy archive that can display list of post of that taxonomy

I am creating wordpress template that can use custom taxonomy(like categories). i want that every time i click the post's category it shows the list of post of that category. here is my category.php.