WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Eleven
[resolved] show more recent articles in showcase (3 posts)

  1. Francis Penny
    Member
    Posted 1 year ago #

    So, in Recent Articles in Showcase I have the excerpt of the most recent and then the title of four most recent articles.

    How do I display more than four?

  2. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    you might need to edit showcase.php in your Twenty Eleven child theme, and add a 'posts_per_page' parameter to the $recent_args in this section:

    // Display our recent posts, showing full content for the very latest, ignoring Aside posts.
    					$recent_args = array(
    						'order' => 'DESC',

    example (for a total of 10 recent posts):

    // Display our recent posts, showing full content for the very latest, ignoring Aside posts.
    					$recent_args = array(
    					'posts_per_page' => 10,
    					'order' => 'DESC',
  3. Francis Penny
    Member
    Posted 1 year ago #

    Worked perfectly. Thanks for the assistance.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic