Ready to get started?Download WordPress


Twenty Fourteen
Featured Posts Grid Increase to >6 (8 posts)

  1. ravikalaga
    Posted 7 months ago #

    Can the total number of featured posts be increased to more than 6? Say 12 or even 30?

    Tried doing below but it did not work. Will try the child theme later on if this works.

    // Add support for featured content.
    	add_theme_support( 'featured-content', array(
    		'featured_content_filter' => 'twentyfourteen_get_featured_posts',
    		'max_posts' => 12,
    	) );

    Site: http://ravikalaga.com/photography/

    I want all the posts to show in the grid with featured images.


  2. Pioneer Valley Web Design
    Posted 7 months ago #

  3. Rush Peak
    Posted 6 months ago #

    Does not work when increasing max posts as earlier said.

  4. dorusdevries
    Posted 6 months ago #

    would like to know this too!

  5. esmi
    Forum Moderator
    Posted 6 months ago #

    @dorusdevries: If you require assistance then, as per the Forum Welcome, please post your own topic.

  6. dorusdevries
    Posted 6 months ago #

    @esmi: Thank you. I did create my own topic. But I am looking around and I comment + click the notify me of follow-up posts via email button.

  7. esmi
    Forum Moderator
    Posted 6 months ago #

    Please do not do that. Many of the other posters in that topic will receive copies of your posts by email, so you are, in effect, spamming them. If necessary, subscribe to the topic's RSS feed using the link on the upper right of each topic's sidebar.

  8. kc66
    Posted 3 months ago #

    I got more than 6 posts working by commenting out two lines in inc/featured-content.php - lines 154 and 190.

    // $featured_ids = get_transient( 'featured_content_ids' );
    // set_transient( 'featured_content_ids', $featured_ids );

    You also need to increase quantity on line 475 of that file. I also made the change pointed out in the first post here.


You must log in to post.

About this Theme

About this Topic