Overriding front page post display in php
-
I know how to set the number of posts to display on the main page on the options/reading page (20 posts / 30 days / 10 posts, paged / etc. / etc.)
Is there any way to override this choice in the php file that displays the page? For example, I want to make a different front page file (index2.php) which shows a different view. I can’t have two different values for my blog saved in the same database, so I need to override this value in one of the files. Is there an easy way to do it? Or a hard way?
Thanks!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Overriding front page post display in php’ is closed to new replies.