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' => 'portfolio',
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.
- # Copy & paste the PHP code ( without the opening PHP tag ) from functions.php to the end of your child themes functions file.
- # Copy & paste the CSS to the end of your child themes style.css file and clear caching.
- # Using the Advanced Custom Fields plugin, go to custom fields > tools > and import the file named acf-106705.json