• I’ve been trying to find a solution online for this;

    I’m showing only a single post on my index page,
    therefore I want my archives.php to function as index.php would normally do.

    I’m using wp_query and the Post Image Plug-in
    and only want to show the title and one image for each post.

    How do I go about this, should I be using something else than wp_query?

    (I’m using wordpress 2.7)

Viewing 2 replies - 1 through 2 (of 2 total)
  • One way would be to make sure archives.php is a page template (e.g. has the appropriate Template: tag in the top of the file somewhere), then make a page in WP, select the page template to be your archives template, then configure WP to use a static home page and set the static home page to be the page you created. That’s it in a nutshell.

    Thread Starter Lars M

    (@hrstuks)

    So in ‘Reading settings’

    Front displays a static page:

    Front page: a page that shows only one post
    Posts page: a page that shows several posts, like index.php would normally do

    Is wordpress able to process both these requests or only one of them?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to use archives.php as an index?’ is closed to new replies.