Thanks for all the previous help. The web script that I'm trying to modify successfully allows for the ability to search the site by keyword, and filters results by category and by sub-category. I am trying to display a search form when sub-category page appears (as a first step in creating the ability to search the sub-category page by keyword). The code I was looking over shows sub-category related code: https://pastebin.com/2hsXVK4e on lines 142 - 155 and lines 215 - 225 (I believe the variable to display the Form on a sub-category page may be 'sub_id'?)
Any help/guidance/comment with triggering the Form to appear, upon sub_catageory page being displayed, is appreciated.
HTML:
<form action="content.php" method="GET">
<input id="search" name="keywords" type="text" placeholder="Type here">
<input type="submit" value="Search" />
</form>
Any help/guidance/comment with triggering the Form to appear, upon sub_catageory page being displayed, is appreciated.
Last edited: