Create a index.php like page template

  • Author
    Posts
  • #451968

    Hi to all,
    i need to create a page template that works like the index.php.
    I need to have all catgory posts, with pagination (< previous | next >). If i put hte code of index.php in a template, the query don’t work (i think that there is not a query at all).
    If, instead, I make a query that extract all the posts from some choosed category the pagination don’t work. The links NEXT and PREV are shown, but the pages estract alwais the last n posts.
    What can i do?

    Thanks and sorry for my bad english.

    #452129

    supportbot
    Member

    You did not specify a blog address or reason for posting when you created this topic.

    This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.

    If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.

    This is an automated message.

The topic ‘Create a index.php like page template’ is closed to new replies.