How to use a taxonomy template page in wordpress to display its posts?

In the previous tutorial you have learnt that how to get custom taxonomies name, desc and images.
CLick Here. if you missed.

In this post i will tell you how to create a taxonomy template file to display its posts..

Suppose we have a custom post type still and the taxonomy name is still_category.

Then the template name would be taxonomy-still_category.php. Yes the name must be same with the post type created.

And then copy the archive page to display the content with using the simple query.

See below.

With the above code you will be able to display the TAXONOMY name at the top as i shown in the <h3><?php echo get_queried_object()->name;?></h3>

and its post that are selected in this category. Its name, title, images etc………

Ankush chhabra

My name is Ankush Chhabra and I’m a 28 years old web developer and blogger.I have 5 years of experience in this field.