Select Individual Featured Posts In Genesis

This code enables you to choose individual posts from a drop down menu on any Edit Post screen for display in any Genesis hook position.

In this case, we use the genesis_entry_footer hook to show the 3 posts selected from the above screenshot after the content on a specific single post, as seen in the demo video.

You can easily edit this code to display pages & custom post type entries rather than standard post entries simply by changing the value for the post_type parameter.

Example :

'post_type' => 'portfolio',

Demo Video

Shows the select posts drop down field on Edit Post screens enabling you to highlight multiple posts for display on single posts.

Tested using the Genesis Sample child theme by StudioPress however will work in any Genesis child theme.

Note : This solution does NOT use the Genesis Featured Posts widget.

Installation Steps

  1. # Copy & paste the PHP code ( without the opening PHP tag ) from functions.php to the end of your child themes functions file.
  2.  

  3. # Copy & paste the CSS to the end of your child themes style.css file and clear caching.
  4.  

  5. # Using the Advanced Custom Fields plugin, go to custom fields > tools > and import the file named acf-106705.json
  6.  

Download Folder

Related Tutorials

Join 5000+ Followers

Get The Latest Free & Premium Tutorials Delivered The Second They’re Published.