Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Hiding Search Bar › Reply To: Hiding Search Bar
November 4, 2024 at 2:53 pm
#51703
Keymaster
With your code variation it happens because the function first checks the page IDs, and when they match, it terminates empty (meaning that the search is not visible).
The search ID is only checked afterwards and at that point it does nothing whatsoever as on both condition the function terminates with the same output.
-
This reply was modified 1 year, 7 months ago by
Ernest Marcinko.