Viewing 1 replies (of 1 total)
  • Plugin Author YummyWP

    (@yummy-wp)

    Hello,

    There should be a ‘search_id’ parameter in the url to alter query by Smart Search.
    In other case you can add the following code to the child theme’s function.php file to set Smart Search widget id for the search results page:

    add_filter( 'ysm_search_page_default_widget', 'alter_search_page_default_widget', 10 );
    function alter_search_page_default_widget( $widget_id ) {
    	// set widget id (you can find it in the plugin settings)
    	$widget_id = 1;
    	return $widget_id;
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Search results’ is closed to new replies.