• 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

Add Image To Custom Post Type Archive In Genesis

This PHP code can be placed at the end of your functions file to hook in a image to any custom post type archive.

Simply change the word portfolio in the PHP code to match your CPT name.

You can also change the hook position from genesis_after_header to any other genesis hook.

The CSS needs to be pasted at the end of your child themes style.css file before the Media Queries. It also includes a hover effect which you can also remove or modify.

More On Custom Post Types

  • Adding A Title To A Custom Post Type Archive Page

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