Jump to content

display search criteria in summary post page

Recommended Posts

squarespace help recommended this forum for advice.  

I want to display what  criteria were used to create a summary page. Ie, If I select archive search:  Cat a, I want the summary page to show that Cat a was the search criteria.

Any ideas?  I want to minimize coding, but am willing to put some in if needed. 






Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

Hi. Site is still not published.

  Right now I put in a code block that has a button that  just pops up the url.  The url shows the criteria.  Ugly but at least it is a start 🙂

Code copied tutorial republic

 <!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<title>Get Current URL in JavaScript</title>
    function getURL() {
        alert("The URL of this page is: " + window.location.href);
    <button type="button" onclick="getURL();">See page criteria</button>


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...

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.