Forums

Archives, Multi-List UL by Year > Month (+ Classes) (1 post)

  1. geenius1985
    Member
    Posted 7 months ago #

    I am using this code
    http://upload.geenius.co.uk/sample.txt

    To create an archive that works like this

  2. Year
  3. Month
  4. Month
  5. Month
  6. Year
  7. Month
  8. Month
  9. Month
  10. I want to add a class to the year & month that is being viewed...

    I was thinking something like
    <?php if ( is_archive($arc_year) ) { echo ' class="current"'; } ?>

    But I can't figure it out, any help would be really appreciated!
    Cheers,
    George

    The # as the archive link is due to an accordion jQuery module

Reply

You must log in to post.

About this Topic

Tags