• 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

Remove Featured Images From Archives in Academy Pro

The academy Pro child theme by StudioPress includes 2 lines of code on lines 393 & 394 in functions.php which reposition the featured image on all archive page types.

This means the standard code to remove the post image will not work as the hook has changed from genesis_entry_content to genesis_entry_header so you need to use another hook.

Here’s the code which is tested and works :

This code creates a category.php file which once added to the Academy Pro child themes root directory, removes the featured image on category archives only.

Use the WordPress Template Hierarchy to name your file to target specific archives.

Academy Pro Theme Featured Image

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