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

display search criteria in summary post page


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. 






Share this post

Link to post

2 answers to this question

Recommended Posts

  • 0

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>


Share this post

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