WordPress.org

Ready to get started?Download WordPress

Forums

Header change each category page? (3 posts)

  1. Roar
    Member
    Posted 5 years ago #

    Does anyone know of any theme that will change headers with each category page?

    Thanks!

  2. Georg Kevin Paquet
    Member
    Posted 5 years ago #

    You can do that manually, and I have been doing this as well, I don't know if there is a shorter way, but this is what I do.

    First of all, collect the category IDs of the categories that you want to have a different header.

    Then create a file category-*id*.php

    Copy everything what's inside the usual category.php to the category-*id*.php of yours.

    Delete the line that calls the usual header.php and open up header.php, place everything that's inside the header.php on top of the category-*id*.php that you made and customize at will..

    I know it sounds complex, but well, it works for me.

  3. MichaelH
    Member
    Posted 5 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic