– Using Ajax Search Pro to replace default search in Navigation header.
Issue Replication:
1. Type acbi in the searchbox and press enter. URL up top uses parameter of ?phrase=
2. Go to any other page Type acbi in the searchbox and press enter. URL uses ?s=
3. ?s= returns results page while phrase= does not (it refreshes page).
4. Summary .. Search function in global header is using a bad parameter in the url for producing the search results page
Attached is a screenshot of the nav-search.php file in my theme that is replacing the input field with the wpdream shortcode.
For debugging purposes
– it is in main theme (not child)
– I also inserted the wpdream shortcode in a row below the main search header to show that it has different reactions.
I have been going back and forth trying to determine if it is theme or plugin related. Removing the shortcode from nav-search.php therefore reverting back to default search works properly using s= .. so I thought I would start here.. any help you can provide would be greatly appreciated. I have been banging my head against the wall.
Laura