Support » Plugins and Hacks » home.php, index.php and pagination

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

Viewing 1 replies (of 1 total)
  • Resolved (I think), changed
    if ($ctr == "0") {
    if (($ctr == "0") && ($paged == "1")) {
    I’ve been hacking at this for the last week and then solve it within 45 minutes of asking for help. Oh well 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘home.php, index.php and pagination’ is closed to new replies.
Skip to toolbar