开发者

Alternatively presentation of the archive

I'm searching for an alternativ view of the archiv output page.

So if you click on a archiv link you get a view e.g. of the Month. And exactly this Page where i 开发者_如何学JAVAget the filtered output i want to apply some changes.

So i mean not:

wp_get_archives()

Best regards Illu


If you just want to make a few small changes, then just filter it with the wordpress function is_archive(), e.g.

<?php if (is_archive()) { ?>
Say hello to the archeologist users
<?php } ?>

...otherwise, if you want to have a completly different template for that page, then just create a file called archive.php in your theme directory. Hope I understood your question right :)

Some more resources for the is_archive() function is to be found here - well explained examples. And some more information about template files are here

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜