Display The Same Featured Image On Genesis Archive Pages Overriding Single Post Thumbnails For Each Taxonomy

This code snippet enables you to add a default featured image on each Edit Category admin page which is displayed on category archives even when a featured image has already been added to the Edit Post screen.

The code works based on how you configure the featured image using Customize > Theme Settings > Content Archives settings.

This tutorial has been published based on this question :

Demo Video

Shows the category image added to the Edit category screen overriding the default featured image on the category archive page. WIll also work with other taxonomy types.

Tested using the Genesis Sample child theme by StudioPress however will work in any Genesis child theme

Installation Steps

There’s 2 steps :

  1. # Copy & paste the PHP code from functions.php to the end of your child themes functions file.
  2.  

  3. # Install the free or premium version of the Advanced Custom Fields plugin ( ACF ) and go to Custom Fields > Tools > Import Field Groups and import the file named acf-103451.json.
  4.  

You can then upload images for each category on the Edit Category page as seen in the demo video.

Download Folder

Related Tutorials

Join 5000+ Followers

Get The Latest Free & Premium Tutorials Delivered The Second They’re Published.