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:
You need to pay to fully access this tutorial.
Enjoy unlimited access & coding support by registering.