Sometimes you want to display the taxonomy value for post type and this next bit of code will do just that. Just put this where you want the value to appear in your WordPress themes template file and it will bring back the taxonomy category name. This snippet can go in single.php, archive.php etc and must be within the WordPress loop.
<?php $terms = get_the_terms( $post->ID , 'yourtaxonomyname' ); foreach ( $terms as $term ) { echo $term->name; } ?>
How do you go about growing your agency? Do you rely on repeat business and…
Following on from yesterday's post “if you want to be tougher, be tougher”, this is…
We were recently asked by someone why we relatively expensive and charged more than someone else…
We are pleased to announce that our first e-book is now available to download on…
A nice mix this week of Wordpress guides and e-commerce posts make up this weeks…
GDPR features today and this is going to be a hot topic in WordPress and…
This website uses cookies.