Questions tagged [taxonomy]

The classification, or categorization, of things

1570 questions
7
votes
2 answers

Sharepoint 2013 - Taxonomy- Microsoft.SharePoint.Taxonomy.TaxonomySession.GetTaxonomySession”

I am updating manage meta data field using C#. Following is code to get TermId for term. string termId = string.Empty; try { TaxonomySession tSession = TaxonomySession.GetTaxonomySession(CC); …
Banng
  • 531
  • 1
  • 6
  • 19
6
votes
4 answers

Cladogram, tree of life, cladistics, taxonomy in JS or canvas?

Good people - I need some help to find a way to create an interactive cladogram or phylogenetic tree (yes, I have read all related posts, and do not find what I am looking for). The thing is, I need the nodes to be name-able. An example would be…
benteh
  • 2,218
  • 4
  • 31
  • 41
6
votes
4 answers

Hierarchical (categorical) data to tree plot

Data I have the following (simplified) dataset, we call df from now on: species rank value 1 Pseudomonas putida family Pseudomonadaceae 2 Pseudomonas aeruginosa family …
CodeNoob
  • 1,988
  • 1
  • 11
  • 33
6
votes
1 answer

Content Classification from URL

Given n number of raw URLs, I'd like to be able to classify them by: news, blog, photo and video. An example would be if a link directs a user to a photo, would it be enough to say that the raw link contains file extension for images to be able to…
eunique0216
  • 875
  • 1
  • 16
  • 28
6
votes
1 answer

programmatically insert child post into Wordpress

I need to programmatically create a post (or page) for each Wordpress post created or updated by a user via the dashboard. I added a hook add_action( 'publish_post', 'create_details_page'); An auto post is created only if the user creates or…
jprusakova
  • 1,557
  • 3
  • 19
  • 31
6
votes
3 answers

Wordpress Filter multiple drop-down taxonomies to display custom field via ajax

I currently have a custom post type named newcpt. This has 2 taxonomies, regionand city. In region i have regiona and regionb, and in city i have citya and cityb. I currently am using the wp_dropdown_categories to get a drop-down of regiona. Is…
user2209033
6
votes
2 answers

drupal taxonomy term path to return alias

Taxonomy term path: http://api.drupal.org/api/function/taxonomy_term_path Returns the unaliased path. I used pathauto to give the term alias, how can I return the aliased version? Thanks.
Jourkey
  • 33,710
  • 23
  • 62
  • 78
6
votes
1 answer

wordpress tax_query where taxonomy is blank

Im using multiple taxonomy query to get relevant posts $tax_query[] = array( 'taxonomy' => 'transfer_type', 'field' => 'id', 'terms' => $page_terms['type_term'], 'include_children' => false ); …
lior r
  • 2,220
  • 7
  • 43
  • 80
5
votes
1 answer

How do I make a Wordpress archive page for custom posts and taxonomies?

I'm a trying to set up an archive page with custom post types and custom taxonomy in Wordpress. I have created the custom post type: “package” and the custom taxonomy: “software”. My problem is that when I try to look at…
Thomas
  • 579
  • 1
  • 9
  • 19
5
votes
5 answers

Wordpress custom taxonomy pagination not working

I’m using the WP PageNavi plugin for pagination. This particular problem in not getting the taxonomy-portflio-category.php page to paginate is also a problem when WP PageNavi is turned off. I’ve had a heck of a time getting pagination to work on the…
Justin Carroll
  • 51
  • 1
  • 1
  • 3
5
votes
1 answer

How to limit the number of taxonomy values in a Wordpress post?

I have defined a series of custom post types (namely "PortfolioPage" and "PortfolioGallery"). Each of them uses a custom taxonomy called "Artist". Is there any way to limit the end-user to enter AT MOST ONE artist per PortfolioPage /…
Francesco Gallarotti
  • 1,221
  • 1
  • 16
  • 39
5
votes
1 answer

How to translate tags (taxonomies) in Hugo?

I am trying to translate tags in Hugo. My tags are only declared in the metadata of my posts: --- author: arthur.sw date: 2007-01-01T00:00:35Z tags: - experiment - reflection --- ... post content ... I translated them in my language…
arthur.sw
  • 11,052
  • 9
  • 47
  • 104
5
votes
6 answers

Show taxonomy description on wordpress

I'm making website about movies. Taxonomy is using to for a cast. For example: Cool yeah? :D But i want to show the description on this page. I'm talking about this: How to make it? Here is a code of taxonomy.php:
dawidurusek
  • 113
  • 1
  • 1
  • 11
5
votes
3 answers

How to remove taxonomy slug from custom post type url?

I have a custom post type(product) with taxonomy product-type. One of my url like this: http://www.naturesbioscience.com/product-type/immune-support-supplements/ I want this like: http://www.naturesbioscience.com/immune-support-supplements/ I…
DevzValley
  • 115
  • 1
  • 1
  • 11
5
votes
2 answers

WooCommerce Brand taxonomy terms list in a dropdown selector

I do not wish to use any plugin to complete this task as I've experienced conflicts recently with a similar project that broke a site. So I wish to create this functionality from basics. I require a dropdown list on the product category pages to…
Adam Fletcher
  • 1,021
  • 1
  • 10
  • 18