• 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

Cook’d Pro – Show 2 Featured Images Inline For 1st Post In Home Top Widget Area

This tutorial includes the code which enables you to display 2 images inline in the home top widget area of the Cook’d Pro child theme by Shay Bocks.

The 2nd image on the right is always the same which you add to the Cook’d Pro themes images folder.

Here’s the demo image which shows the featured image for the most recent post displayed on the top left and the static image displayed on the top right which never changes.

Here’s what happens when a new post is added using a image of a bbq chicken. Note the top right image of a cabbage remains the same.

The larger image below the 2 is generated by the featured posts widget in the home middle widget area.

CSS for Media Queries are included.

There’s 3 different solutions included which produce exactly the same result. All use the same CSS.

Here’s the code for logged in members:

Register for full access

Related Code Snippets

  • Multiple Featured Images Per Post

Cook'd Pro Theme 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
 

Loading Comments...
 

You must be logged in to post a comment.