This code snippet enables you to add a different custom logo for each category archive page in any Genesis child theme.
The code is dependent on the use of the ACF plugin for uploading unique logos on each Edit Category screen. You can also use the code to add a unique logo on any taxonomy type including category, tag custom post type and custom taxonomy type archives.
Note : You can use ACF to add your logos and then remove the plugin.
Demo Video #
Shows unique logos uploaded to each Edit Category page otherwise the default logo added to Customize > Site Identity is displayed.
Tested using the Genesis Sample child theme by StudioPress however should work without the need for modification in any Genesis child theme which supports custom logos.
Installation Steps #
There’s 2 steps :
Step 1 – Install the ACF plugin ( free or premium version ) and import the acf.json file using the Custom Fields > Tools > Import File like you see in this screenshot :
Step 2 – Copy ( without the opening PHP tag ) & paste the PHP code to the end of your child themes functions.php file.
You can then upload different logo’s on any Edit Category screen as seen in the demo video.