Creating separate archives page? (6 posts)

  1. WillM
    Posted 12 years ago #

    Is it simply a matter of creating a separate page, named as an example: archives.php and plugging the archives function on it?

    Yes. Take your index.php file, get rid of the post loop and replace it with an archive call, save the new file as archives.php. You can do the same thing with links, if your blogroll is getting unwieldy.

  2. randybrown
    Posted 12 years ago #

    Thanks, WillM. That's what I thought. Will do some fiddling this weekend.

  3. melodika
    Posted 11 years ago #

    Hi. Does this apply to wordpress 1.5 too? My index.php file only contains the following code:

    /* Don't remove this line. */

    Do I need to use page.php instead?

  4. SpyderFCS
    Posted 11 years ago #

    so does the archives.php go in the wordpress directory with the index.php? And what if I am using a theme in 1.5, does it go in that themes folder?

  5. SpyderFCS
    Posted 11 years ago #

    sorry for the double post but I keep getting "fatal error: call to undefined function" when I try to run the archives.php. Now I know my code is correct and I know my file paths are right. Can you not have PHP code and WordPress functions on pages I create like archives.php?

  6. cyberkamote
    Posted 11 years ago #

    I also want to know hoe to do this. Anybody pls help. Im a total noobie..

    Ok here's a few info:
    1. Im using WordPress 1.5
    2. Haven't touched anything yet (even my index.php)
    3. I want to have a different "page" that shows ONLY my archives. Because i'll insert this "page" to an i-frame found elsewhere in my site- I do not want my archives beside my index.php like the usual.

    Please help me how to do this. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.