WordPress.org

Ready to get started?Download WordPress

Forums

Search Field Code (1 post)

  1. allanfish
    Member
    Posted 1 year ago #

    My WP page is connected to an ecommerce site and I have a small piece of code to append to the search query code. I need to add to all searches the following:
    ?Staging=True

    See below for my current search code. Currently, it is not acknowledging the "?Staging=True". (I tried substituting & and / for the "?", but no success. I use this on all my links and it works fine. Just having this issue in Search queries. Current code:

    <form action="http://store.xxx.com/categories.aspx?Staging=True" method="get" id="searchForm">

    <script src="http://www.nexternal.com/net/StoreFront/JavaScript/AutoComplete.js?cn=tedu&searchType=keyword?Staging=True"></script>

    Thanks!!

Topic Closed

This topic has been closed to new replies.

About this Topic