home.php, index.php and pagination
What I am trying to achieve is the latest post as full content, with the following posts displaying excerpts only. I am using home.php to hold code to do this, and was expecting that when the ‘next page’ link was clicked, index.php would be called and display excerpted posts only. But the paged page still works off home.php.
I also tried messing with the is_paged tag, but to no avail as the home page seems to be counted as a paged page.
So, the question is can pagination links be made to switch from home.php to index.php?
Current relevent code section from home.php is:
[The obvious thing is to remove the next/previous nagivation, avoiding the problem, but I want to keep them].
(no URI either as said files are on my local machine).
- The topic ‘home.php, index.php and pagination’ is closed to new replies.