WordPress.org

Forums

Twenty Fourteen
[resolved] How to not exclude Featured Content from front page? (2 posts)

  1. gloriousnoise
    Member
    Posted 8 months ago #

    In addition to appearing up in the grid on the front page, I would also like the full my featured content to appear below the grid with the rest of the content. Is this possible? Thanks.

  2. gloriousnoise
    Member
    Posted 8 months ago #

    Never mind! Found the answer here:

    http://wordpress.org/support/topic/dont-exclude-featured-posts-from-front-page-query?replies=7

    Added the following code to the bottom of functions.php

    add_action( 'init', 'show_featured_content_on_home', 31 );
    
    function show_featured_content_on_home()
    {
    remove_action( 'pre_get_posts', array( 'Featured_Content', 'pre_get_posts' ) );
    }

    Works like a charm.

Reply

You must log in to post.

About this Theme

About this Topic