Home New Guten › Forums › WoodMart support forum › Search widget elemtor Search widget elemtor This topic has 5 replies, 2 voices, and was last updated 3 months ago by Luke Nielsen. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts May 20, 2025 at 10:34 am #661795 jordiParticipant Hi is it possible search pages, posts and products with search widget? Like search from header. Thanks May 20, 2025 at 11:40 am #661807 Luke NielsenKeymaster Hello, You can try to use the “Ajax search” element – https://prnt.sc/PxGkuiaXzDiO If you have any additional questions, let me know. Kind Regards May 20, 2025 at 11:43 am #661808 jordiParticipant I used but I can’t select all pages, posts, products… like search in header. May 20, 2025 at 12:51 pm #661832 Luke NielsenKeymaster Hello, Please add the following code snippet to the functions.php in the child theme to switch to “All post types” for search forms added to pages. add_action( 'elementor/frontend/before_render', function ( $element ) { if ( $element->get_name() === 'wd_search' ) { $settings = $element->get_settings(); $settings['search_post_type'] = 'any'; $element->set_settings($settings); } } ); Kind Regards May 20, 2025 at 12:53 pm #661836 jordiParticipant Perfect, thank you very much May 20, 2025 at 12:54 pm #661837 Luke NielsenKeymaster Hello, Thank you for confirming that the solution works for you. If you have any more queries or need further assistance, feel free to reach out to us. Regards Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to create new topics. Login / Register