Wordpress help

Associate
Joined
28 Sep 2004
Posts
1,279
On a theme I'm using the archive information is not displaying in the sidebar. In sidebar.php is the following:

Code:
<?php /* IF THIS IS A DATE-BASED ARCHIVE */ } elseif ( is_date() ) { ?>
			<li id="archive-links">
				<h2>Archives</h2>
				<ul>
					<?php wp_get_archives('type=monthly'); ?>
				</ul>
			</li>
But it doesn't seem to do anything. Doesn't even display the 'Archives' header. :confused:

So does anyone know what's needed to get the archive list displaying, like on the default theme?

There's also an archive.php which I can paste if that might have anything to do with it.
 
my archives are called like this -

Code:
<li class="archive-links">
	<h3><?php _e('Archives', 'marksweb') ?></h3>
		<ul>
			<?php wp_get_archives('type=monthly') ?>
		</ul>
</li>

:)
 
Back
Top Bottom