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

WP SITES

2662

Original Genesis Tutorials & 5000+ Guaranteed Code

Snippets

  • Support
  • Newsletter
  • Videos
  • Log in

Premium Member? - Request custom code

Add Caption & Image Description Below Genesis Featured Posts Image

This tutorial provides the code which enables you to add both a caption and/or description below the featured image using the Genesis Featured Posts widget.

When you upload a featured image to any post, you can add a caption and description to your featured image using the following fields:

However, when you display the widget in a widget area, neither the caption or description display. To show both, you’ll need to add some PHP code to your child themes functions file so they display below the image like this:

The above imahe shows the Genesis Featured Posts widget displaying the featured image, caption, description and entry title.

Here’s the PHP code for logged in members:

Register for full access

Related Tutorials

  • Show Featured Image Description on Image Hover

Genesis Featured Posts

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