Support » Themes and Templates » Archive template modification – use accordion in archives same as on hompepage

  • Resolved mijk

    (@mijk)


    When building a site using WordPress and Minimalist theme from WP.org theme directory, I needed to list posts when using archive.php template (category, tag and archive post listings) the same way as when on homepage (in a pretty nice accordion).

    It was pretty simple so I am sharing my solution:

    • edit archive.php, and remove tag class=”contentheader” from lines:

      • 11
      • 13
      • 15
      • 17
      • 19
      • 21
      • and23
    • save archive.php and replace the file in Minimalist theme directory on your website ftp
    • all your archive / tag / category listings becomes accordion instantly 🙂

    I hope that someone will find this usefull.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Archive template modification – use accordion in archives same as on hompepage’ is closed to new replies.