Forums

Archives, Multi-List UL by Year > Month (+ Classes) (3 posts)

  1. George Wiscombe
    Member
    Posted 3 years 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

  • lerizzle
    Member
    Posted 2 years ago #

    did you ever find a solution?

  • lerizzle
    Member
    Posted 2 years ago #

    and would you share your sample code, I'm trying to to the same thing

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags