Jump to content


Circle Member
  • Posts

  • Joined

  • Last visited

Reputation Activity

  1. Love
    JGrignon reacted to tuanphan in Summary Block for Blogs: How to hide current post?   
    To remove current post, add this to Code Injection Footer
    <script> window.addEventListener('load', function () { function removeMatchingPageFromRelatedPosts() { var currentPath = window.location.pathname; var matchingSummaryItem = document.querySelector(`[href="${currentPath}"]`); if (!matchingSummaryItem) return; var summaryParent = matchingSummaryItem.closest('.summary-item'); summaryParent.remove(); console.log('matching blog post removed'); } removeMatchingPageFromRelatedPosts(); }); </script> Code by @RyanDejaegher 
  • 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.