Support ForumHave image for header on Category Archives – Support Forum https://support.ishyoboy.com/forums/topic/have-image-for-header-on-category-archives/feed Fri, 14 Mar 2025 09:18:08 +0200 http://bbpress.org/?v=2.5.12-6148 en-US https://support.ishyoboy.com/forums/topic/have-image-for-header-on-category-archives/#post-7663 <![CDATA[Have image for header on Category Archives]]> https://support.ishyoboy.com/forums/topic/have-image-for-header-on-category-archives/#post-7663 Fri, 10 Apr 2015 18:44:20 +0000 womble Hi,

I have been through all the options but I can’t see how to have an image on the top of the category archives. I just get a grey banner:
https://www.newageteacher.com/category/classroom-programs/

How would I put an image as the header like this:
https://www.newageteacher.com/blog/

I can’t work out what/where the default page template is.

]]>
https://support.ishyoboy.com/forums/topic/have-image-for-header-on-category-archives/#post-7676 <![CDATA[Reply To: Have image for header on Category Archives]]> https://support.ishyoboy.com/forums/topic/have-image-for-header-on-category-archives/#post-7676 Mon, 13 Apr 2015 05:00:58 +0000 IshYoBoy Hello,

Since the categories are “Virtual Pages” (just a list of existing items) they do not have a featured image field so it cannot be attached.

When a category is displayed the “archive.php” is used. You could however duplicate it and remove the unnecessary parts and “hardcode” the header with the correct images in a “stronger” template according to the template hierarchy:

As you see from the image, you could use the “category.php” file to control all categories only or even “category-$catID.php” to control an exact category via template.

This all should however be done via child theme to avoid losing your changes in the next theme update. Hope all is clear.

Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>