• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2665

Original Genesis Tutorials & 5000+ Guaranteed Code

Snippets

  • Support
  • Newsletter
  • Videos
  • Log in

Premium Member? - Request custom code

Different Logo For Posts In Each Category – No Plugin Required

This code snippet enables you to use a different logo for posts in each category as well as the category archive page, no plugin required. If you prefer using a plugin to upload your unique logos, try the links at the end of this post.

Demo Video #

Displays a unique logo for posts in each category using the image attachment id from the WordPress Media Library for each logo.

Tested using the Genesis Sample child theme by StudioPress however should work without modification in any Genesis child theme which supports custom logos or any WordPress child themes functions file.

Installation Steps #

There’s 2 steps :

Step 1 – Copy ( without the opening PHP tag ) & paste the code to the end of your child themes functions.php file.

Download Folder

Register for full access

Related Code Snippets

  • Custom Logo For Single Posts In Each Category & Category Page
  • Custom Logo For Each Category Archive Page

Custom Logo

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

PHP Code

template_include

get_body_class

if else

array

class_exists

foreach

sprintf

add_action

printf

variable

Advertise · WPEngine · Genesis · Log in

  • How Premium Membership Works
  • Sign Up
  • Support
  • Subscription Details/Invoice
  • Tagged Tutorials
  • Access-Download Problems