Home › Forums › Support › Search Box in the header This topic has 5 replies, 2 voices, and was last updated 1 year, 10 months ago by Leo. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts April 24, 2020 at 4:18 am #1253061 Ram Hello, I would like to show the search bar in the highlighted area. PFA screenshot Thanks https://snipboard.io/dPC3Nh.jpg April 24, 2020 at 6:24 am #1253293 DavidStaff Customer Support Hi there, if you want to use the Default WP Search field then add this PHP Snippet to your site: add_shortcode( 'search_form', function() { ob_start(); get_search_form(); return ob_get_clean(); } ); Adding PHP: https://docs.generatepress.com/article/adding-php/ You can now add this shortcode [search_form] to your Header Element November 18, 2022 at 11:03 am #2421976 Rafael Hello David: REgarding to this topic………. Is it possible that in the shortcode I limit the search by category?? Apreciate your help about.. Rafael November 18, 2022 at 11:30 am #2422010 LeoStaff Customer Support That’s the default search form from WP core so you would need to check with WP’s support team. November 18, 2022 at 11:35 am #2422021 Rafael Thanks….. November 19, 2022 at 12:52 pm #2423323 LeoStaff Customer Support No problem 🙂 Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In