Display different sidebar based on search results from one category April 25, 2023 by Tarik Billa You need to make changes in search.php page and call the sidebar you need to show over there.