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

WP SITES

2784

Original Genesis Tutorials & 6000+ Guaranteed Code

Snippets

  • Consultation
  • Full Access
  • Log in

Customize The Display of Featured Images On Single Posts

This code enables you to override your Genesis > Theme Settings > Content Archive settings.

The PHP code overrides the single post display of featured images.

You can override the:

  1. Image size
  2. Image alignment

You can also control the image position – Before or after entry title.

Alignment

Simply change the class in the code from aligncenter to alignleft or alignright or align none.

Position

The code also enables you to add your featured image before or after the single post entry title.

If you want to display your images before the entry title, simply change the 15 in the first line of the code to 5. Thats it!

Size

If you want to change the size of your image, simply change the size in the code from full to something like thumbnail, medium or large as well as any custom size you have added.

Here’s the code you simply copy and paste to the end of your child themes functions.php file using a code editor.

Register for full access

Related Code

  • Link Featured Image To Custom URL

Featured Image

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