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

    To create an archive that works like this

    • Year
    • Month
    • Month
    • Month
    • Year
    • Month
    • Month
    • Month
    • 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

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Archives, Multi-List UL by Year > Month ( Classes)’ is closed to new replies.