Reply To: different sidebar layout on different category archives

Home Forums Support different sidebar layout on different category archives Reply To: different sidebar layout on different category archives

Home Forums Support different sidebar layout on different category archives Reply To: different sidebar layout on different category archives

#195980
Tom
Lead Developer
Lead Developer

You can use the is_archive() conditional to target all archives.

You can combine all of your conditionals into the one function to set different sidebar layouts for different categories etc.. It won’t slow down your website at all.