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

WP SITES

2785

Original Genesis & WooCommerce Tutorials & 6000+ Guaranteed Code

Snippets

  • Try Premium
  • Log in

Show Featured Image On First 2 Posts In Any Archive

This code removes or adds the featured image to the first 2 posts in any archive based on this question from a member of the StudioPress community:

I know that this is a strange thing to ask but as the Topic Title I would like to show the featured image only on the first two posts in an archive page. I’ve already used the option in the Genesis panel to show the post images in a page archive but I would like to customize it even more on specific page archives.

Here’s the visual:

Here’s the code for logged in members:

Register for full access

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags
 

Loading Comments...
 

You must be logged in to post a comment.