Use Loop from Homepage on another Page
-
Hi
Hope someone can help, been searching for ages for a solution but can’t find one.
Can the ‘Reading Settings’ that control how the latest posts are displayed on the homepage (index.php) be used on another page? I’ve duplicated and renamed the index.php file and made a new page to use that template file, but it doesn’t show all the posts as the homepage does, it only attempts to show one, which is just the page’s title.
So is there a way I can add a query string or something to the renamed index.php file to get it to use the same settings? I will need to customise this after as I want it to list the posts by number of comments rather than by most recent, but I think I’ll be able to do this once I can at least get it to show all the posts as on the homepage.
Hope that lot made sense!
Really appreciate any help you can give me.
Thanks.
- The topic ‘Use Loop from Homepage on another Page’ is closed to new replies.