[resolved] "Latest Articles" at bottom of Home Page/Index (3 posts)

  1. sq2f
    Posted 2 years ago #

    Where in the CSS can you manipulate the number of Latest Articles to be previewed on the Index page when you have made it your static home page?

    By default, mine only shows four - however, all of the previews/demo's I've seen of the Elisium theme have shown 5. I have tried Chrome "Inspect Element" to search for this but any place it leads me back to the CSS does not result in any changes on the live site.



  2. We Create Web Designs
    Theme Author

    Posted 2 years ago #

    You need to go to the index.php template file and there you'll be able to change the code to show the number of articles. It's not a CSS thing, it's in the .php

    <?php $recent = new WP_Query("showposts=4"); while($recent->have_posts()) : $recent->the_post();?>

    Change the number of showposts from 4 to 5

    So, you'll have

    <?php $recent = new WP_Query("showposts=5"); while($recent->have_posts()) : $recent->the_post();?>

  3. sq2f
    Posted 2 years ago #

    AWESOME! Thanks :)

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic