• I’d to create a custom feed to set post number, type and category. So I used this trick

    function do_feed_custom() {
        $cats = "4,5,6,24,25,26";
        query_posts( array( 'cat'  => $cats, 'post_type' => 'news', 'posts_per_page' =>60 ) );
        load_template( TEMPLATEPATH . '/custom-rss2.php' );
    }
    add_action( 'do_feed_custom', 'do_feed_custom' );

    Everything seems fine in domain.tld/?feed=custom. Post excerpts are shown instead of full content. Now I want to include thumbnail image for each post into RSS feed.

    I’ve tried several tricks, Ex This one. But no luck. can you suggest me any way?

  • The topic ‘WordPress custom feed with thumbnail images’ is closed to new replies.