Skip to main content
1 of 4
Pravin Ajaaz
  • 3.6k
  • 4
  • 19
  • 37

Group Contents in view by taxonomy

I have a content type called blogs and in which I referred a Taxonomy term which have three different terms in it.

Now what I want to achieve is three blocks with two recent posts for each taxonomy term

Which should look like

||       TERM 1            ||          TERM 2           ||        TERM3        ||

   title1                         title1                     title1
   desc                           desc                       desc

   title2                         title2                     title2
   desc                           desc                       desc
   
            read more...                  read more...              read more... 

I know we can create using seperate blocks each.

I need this to be created in a single block in views is this possible...

I tried group by in field settings:

It yields me something like this

TERM 1

title1 desc

TERM 2

title1 desc

title2 desc

title3 desc

TERM 3

title1 desc

since I specified 6 nodes to be displayed it displays Six recent post irrespective of the taxonomy term..

Pravin Ajaaz
  • 3.6k
  • 4
  • 19
  • 37