WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Paged Content Template? (3 posts)

  1. MarkMichon
    Member
    Posted 6 years ago #

    I'm looking to have a separate template file for paged content.

    Basically my index template takes care of my front page, but I am looking to have /page/2 /page/3 etc when users browse via previous and next links to have a different template file.

    I'd like to avoid using is_home, as there is just too much to if/else out from the main index.

    Thanks in advance.

  2. MarkMichon
    Member
    Posted 6 years ago #

    Well, I found a workaround by using is_paged to include a template I made on my own.

    Still no idea if there is an actual pre-determined template file that solves this.

  3. Samuel Wood (Otto)
    Tech Ninja
    Posted 6 years ago #

    Mark: paged.php is the template you're looking for. Doesn't seem to be documented in the codex for whatever reason though. Annoying.

Topic Closed

This topic has been closed to new replies.

About this Topic