Loop Custom Content based on the taxonomy term they are in

by WSW   Last Updated December 07, 2017 10:07 AM

I created a taxonmy vocabulary, added 3 terms in it Term1, Term2, Term3

Then I created a custom content type, and I associated it with that vocabulary term, so now everytime I create a page I check to which Term they belong to,

What I want to do is Loop the name of the Term + all the pages titles and body that belong to that term

For example:

<h1>Term1</h1>
<ul>
 <li>Page 1 title </li>
 <li>Page 2 title </li>
 </ul>
<h1>Term2</h1>

Thanks



Related Questions


Could convert node page as term page drupal 8

Updated August 16, 2017 08:07 AM

Drupal 7 nodes and taxonomy term query

Updated September 13, 2017 17:07 PM

Taxonomy child terms as Select options in CCK form

Updated October 24, 2017 07:07 AM

Add Vocabulary when node it's save

Updated July 09, 2017 12:07 PM

Create taxonomy terms from content type field

Updated August 10, 2017 14:07 PM