• Hi,

    I purchased a theme for a client and he wanted 4 additional areas to post blogs – not as categories since he wanted them formatted differently – so I created 4 additional blogs onto this theme. Everything is functioning properly.

    However, they will not work as feeds (no idea why) and therefor, cannot use a feed aggregator to have them post onto the main feed on the homepage.

    Is there any PHP code I can include that will be able to capture the recent posts from all blogs and have them display on the homepage?

    This is the PHP calling the recent posts from the main blog to the homepage

    <?php
    		rewind_posts();
    		$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    		query_posts("paged=".$paged);
            while (have_posts()) : the_post();
            // Custom fields
                $post_style = get_post_meta($post->ID, "style", true);
                $excerpt = get_the_excerpt();
                $image =  get_the_post_thumbnail();
            ?>

    You can reference the working site here: https://upthejoneses.com
    – see Artists Submissions, On the Streets, News, Events, Music

    Thank you!

  • The topic ‘Include recent posts on homepage from 4 blogs from same site’ is closed to new replies.