WordPress.org

Support

Support » Themes and Templates » [Resolved] show more recent articles in showcase

[Resolved] show more recent articles in showcase

  • 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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Michael

    @alchymyth

    Forum Moderator

    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',

    Worked perfectly. Thanks for the assistance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] show more recent articles in showcase’ is closed to new replies.