WordPress.org

Support

Support » How-To and Troubleshooting » Search Field Code

Search Field Code

  • 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!!

  • The topic ‘Search Field Code’ is closed to new replies.
Skip to toolbar