Forum Replies Created

Viewing 1 replies (of 1 total)
  • @james2lek

    Here is what you need to do in order to display non-featured posts in Carousel and in standard blog list at the same time.

    1. Go to Appearances–>Editor
    2. From the ‘Templates’ list on the right choose ‘loop-featured.php’
    3. On line 10 make the following change:

    Replace:
    $featured_posts = boston_get_featured_posts();
    with:
    $featured_posts = boston_get_posts;

    4. On line 18 make the following change:

    Replace:
    <?php foreach ( $featured_posts as $post ) : setup_postdata( $post ); ?>
    with:
    <?php foreach ( $posts as $post ) : setup_postdata( $post ); ?>

    5. Save changes by clicking ‘Update File’ below the Editor area

    What this change does is to tell the Carousel function to pick normal (non-featured) posts from your blog instead of featured posts. For this change to work you should not tag your posts as ‘featured’, otherwise they will not come up in Carousel.

    Hope this helps your case!

    LG

Viewing 1 replies (of 1 total)