I am new to custom development. I created a custom post type and printing all the taxonomies tagged to the custom post by

<div class="container">
<div class="col-md-12">
<?php 
$term_list = get_the_term_list( get_the_ID(), 'map_feature', '<ul class="styles"><li>', '</li><li>', '</li></ul>' );
if(!empty($term_list)):
?>
<?php 
echo $term_list; 
?>
<?php
endif;
?>
</div>
</div>

How can i get a list of all the tagged custom posts by clicking on the taxonomies just like we get a particular list of posts when we click on a WordPress category?
Right now if i click on any custom taxonomy it do not show any posts. How can i do this ?
Please help.

Read more here: How to get a list of all relevant custom posts on clicking a custom taxonomy


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: