Archives not displaying Month in outside page.
-
HI there, I’m running WP 1.2.2 and I’ve had this problem for a while, my solution was simply to take out the section, but I want it back again 😛
I display WP functions on seperate pages on my site etc, all works very well, never a problem, except for listing monthly archives, it only displays the year, not the month, so basically it’s a list of 2005 2005 2005 2005 and so on.
I’ve seen another post about this but there was no solution posted.
now I’ve used the following ways to display the month archives, but with the same result.
<?php get_archives(‘monthly’, ”, ‘html’, ”, ”, TRUE); ?>
<?php wp_get_archives(‘type=monthly&format=html’); ?>
<?php wp_get_archives(‘type=monthly’); ?>
here’s the funny part, if I use format=link (like I do at the top of the document) the month displays perfectly fine. The function also works perfectly fine within the themed blog pages. I’ve tried to find the code that sets the two apart but I’m at a loss, any suggestions?
- The topic ‘Archives not displaying Month in outside page.’ is closed to new replies.