• thisisedie

    (@thisisedie)


    I’m pretty sure I ran across this somewhere once but I can’t find it now. Sigh. I’m using conditional tags so that when you click on the archives link on my site a little arrow appears below it so you know where you are. If you then click on months, categories, etc, the arrow disappears. I’d like the arrow to stay as long as any archives are being browsed. Any insight into how to make this happen would be appreciated ??

Viewing 1 replies (of 1 total)
  • Thread Starter thisisedie

    (@thisisedie)

    This is what I’m using:

    <a<?php if (is_page('Archives')) { echo " id=\"archivescurrent\""; }?> href="<?php bloginfo('url') ?>/archives/" class="archives">&nbsp;</a>

    I figured out that if I use is_archive it does what I want but doesn’t show the arrow on the actual archive page. Is there some kind “and if” statement I can use? I’ve tried everything and can’t make it work. Heh, I know it’s right there but can’t wrap my brain around it.

Viewing 1 replies (of 1 total)
  • The topic ‘Conditional Archives Tag’ is closed to new replies.