Jump to content

Excluding Blog posts in summary grid by "featured" or "category" tag

Recommended Posts

Posted (edited)

I'd like to use code to hide any future blog post labeled as "featured", but not always the first post (nth child).  I currently have the first post hidden using the nth child css code, but as the client chooses to add future posts, we may not want to always feature that new post, but will want to choose which posts are "featured" on the summary header manually.  So that means we'd need to be able to hide that post in the summary grid below it, even if its not the "first" post entry.  

If we toggle the "featured post" designation on in the post settings, how can I use css to then filter out those articles from the summary grid so they do not show up?

Screenshot 2024-06-04 at 4.10.52 PM.png

Edited by kristindb76
Link to comment
  • Replies 0
  • Views 246
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Posted Images

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.