WordPress.org

Support

Support » Themes and Templates » [Resolved] "Latest Articles" at bottom of Home Page/Index

[Resolved] "Latest Articles" at bottom of Home Page/Index

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

    frc.sparq2flame.com

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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();?>

    AWESOME! Thanks 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] "Latest Articles" at bottom of Home Page/Index’ is closed to new replies.