Speed up your Oxygen workflow

with Swiss Knife Pro

A true Oxygens Editor Enhancer
Lifetime Deal Only $40

Display list of custom taxonomies that are related to a particular post on your single page

<?php

	global $post;
	$terms = get_the_terms( $post->ID, 'projekte_cat' );
		foreach ($terms as $term) {
	    $term_id = $term->term_id;
  		$term_name = get_term( $term_id )->name;
		$term_slug = get_term( $term_id )->slug;
  	echo '<div class="'.$term_slug.'">'. $term_name . '</div>';
}

?>

Replace "projeckte_cat" with your taxonomy slug.

If you need help with custom scripts or you are not skilled enough to implement something from the tutorial?

HIRE ME

Stay up to date with latest post and updates.