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.
Thanks, WillM. That’s what I thought. Will do some fiddling this weekend.
Hi. Does this apply to wordpress 1.5 too? My index.php file only contains the following code:
<?php
/* Don’t remove this line. */
require(‘./wp-blog-header.php’);
?>
Do I need to use page.php instead?
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?
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?
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!