Homepage Slideshow Number of Sldes
URL to the page in question:
-
Hi,
Can I add more than 5 images to the home page slideshow?
We have 10 in but only 5 seem to be appearing.
Chris
Chris,
You can use more than 5 slides. The current version of the theme (2.1.5) has an unlimited number set as the default. You can update an older version to do the same. Here’s how:
- Go to the appearance section and select edit to open up the theme editor.
- From the list of files on your right, choose home.php and look for this spot:
<?php $loop = new WP_Query( array( 'post_type' => 'slide', 'posts_per_page' => 5, 'orderby'=>'menu_order', 'order'=>'ASC' ) ); ?>
- Replace that with this:
- Save your changes.
If you run into any trouble, let me know,
Bill
- The topic ‘Homepage Slideshow Number of Sldes’ is closed to new replies.