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

Show only Blog Post Title in Search Results, Not Excerpt


adambernnyc

Question

  • Answers 5
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

5 answers to this question

Recommended Posts

  • 0

I don't see search bar.

Can you share link to search page?

You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan, work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. 

Link to post
  • 0
5 hours ago, tuanphan said:

I don't see search bar.

Can you share link to search page?

Here's an example of the search results page:

https://www.spaceflightnewsmedia.com/search?q=spacex&f_collectionId=5dd7fe1484879234de9b7eb2

I would like the search results to show either the Blog Post Title only or the Blog Post Title with the Excerpt Summary, but not a summary that shows every mention of the search phrase within the post, as it does now.

Edited by adambernnyc
Link to post
  • 0

Add to Home > Design > Custom CSS

.sqs-search-container-item .sqs-content .sqs-content {
    display: none;
}

 

You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan, work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. 

Link to post
  • 0
On 2/16/2020 at 6:46 PM, tuanphan said:

Add to Home > Design > Custom CSS


.sqs-search-container-item .sqs-content .sqs-content {
    display: none;
}

 

 

Hi Tuanphan,

I used the above code to limit the amount of material the square space search engine pulls. 

 

However,

Is there a way to have the search function on Squarespace exclude blog posts by date parameters?   I don't want people searching for, say, "Giving," and finding blog posts from 2 years ago.

 The blog post on my site "News from the Congregation" are weekly newsletters.   Each Newsletter title. includes the date published.   

Is there a way to add code to the search parameters so as to exclude blog posts published before x date.  

website: www.saintsaviour.org
search bar in footer

 

Link to post
  • 0
On 10/7/2020 at 7:15 PM, Perses said:

 

Hi Tuanphan,

I used the above code to limit the amount of material the square space search engine pulls. 

 

However,

Is there a way to have the search function on Squarespace exclude blog posts by date parameters?   I don't want people searching for, say, "Giving," and finding blog posts from 2 years ago.

 The blog post on my site "News from the Congregation" are weekly newsletters.   Each Newsletter title. includes the date published.   

Is there a way to add code to the search parameters so as to exclude blog posts published before x date.  

website: www.saintsaviour.org
search bar in footer

 

I think it is possible with custom JavaScript. However, it takes a lot of time to test the code.

You can post on some FB groups

  • Squarespace Customzation Resource Group
  • Squarespace Community

You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan, work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. 

Link to post

Create an account or sign in to comment

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


×
×
  • Create New...