[HELP] How to display only the first tag on homepage

I wonder if it’s possible to list posts only by their first tag in order to avoid repetitions on the homepage using the mostly used handlebars.

So if we have four articles tagged like (1) #love, (2) #love #fun, (3) #fun #love and (4) #music:

  • #love will show posts (1) and (2)
  • #fun will show (3)
  • #music show (4)

Is that possible? :)

Yes. What theme? Can you edit it?

2 Likes

Oh, sure. I like to use Headline or Basho, one from the Core Team and other from a third party dev.

I like to learn and customize myself. Thanks!

Right, so if you take a look at headline, it’s already basically set to do that. You’ll just need to adjust the get request filter attribute to be looking for primary_tag, instead of tag. (I suspect Basho is similar.)

1 Like