Support » Fixing WordPress » Reorder posts from an RSS feed

  • Hey all,

    Is it possible to chnage the order of posts in an RSS feed that I wish to display on my website? They are ordered by date, where as I require them to be ordered by Post Title.

    $max_items = 0;
    if($feed !== '') :
    	$rss = fetch_feed($feed);
    	if(!is_wp_error($rss)) :
    		$max_items = $rss->get_item_quantity($num_posts);
    		$rss_items = $rss->get_items(0, $max_items);
    	endif;
    endif;

    Thanks

  • The topic ‘Reorder posts from an RSS feed’ is closed to new replies.