Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Christine,

    Feed items will not appear in the search results by default, as they are nothing but links pointing to their original source.

    However, it depends on what all post types the search plugin searches. If the plugin you are using, allows you to specify the post types, then you can add wprss_feed_item to the list to search through the feed items as well.

    But the search results will only return titles and nothing else.

    In wich file should we add that Chirag.?

    Hi,

    If you are using any search plugin which allows you to specify which posts types to include in the search results, then you can add wprss_feed_item to include the feed items in the search results.

    Alternatively, you can just add the below code to your theme’s functions.php file to include feed items in the WordPress default search results.

    add_filter('wprss_feed_item_post_type_args','wprss_feed_items_search');
    function wprss_feed_items_search( $args ){
    	$args['exclude_from_search'] = false;
    	return $args;
    }
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Search engine for RSS feeds’ is closed to new replies.