Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Don't show current blog post in summary block


momallo

Question

Site URL: https://tomato-hibiscus-5kcf.squarespace.com/stories/born-to-lead

Hello! I would like to include a summary block on my blog posts that links to "Related Stories"  I can't seem to find a way to remove the current blog post from the summary  block. I've tried some codes that I've found here, changing categories around etc, but none have worked for me. There are hundreds of stories and blog posts to transfer over so it would be very helpful if it was site-wide. Why this isn't an option from Squarespace, I don't know...Can anyone help me out? @tuanphan

https://tomato-hibiscus-5kcf.squarespace.com/stories/born-to-lead

password: Magnolia

Link to comment

4 answers to this question

Recommended Posts

  • 0
Posted (edited)

This has come up before and so far there is no one who has come up with a great way to hide the current blog post in a summary block, that may be due to the fact that when chosen it navigates away from the page the block is on, unlike an index page which keeps the thumbnails at the bottom of the same page where the index item takes you. As a matter of fact Avenue, the template that I use, has the hide active item as an option by default.  

This code has been tried by some, but it didn't have a lot of accolades. It might work for you.  It goes into custom css. 

.collection-type-blog.view-item .summary-item-list .sqs-active-slide {
    display: none;
}

 

Edited by derricksrandomviews
Link to comment

Create an account or sign in to comment

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

×
×
  • Create New...