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

WP SITES

2785

Original Genesis & WooCommerce Tutorials & 6000+ Guaranteed Code

Snippets

  • Try Premium
  • Log in

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

  • Custom Block To Select Individual Posts Unique On Each Single Post Type

CSS Grid Columns Custom Fields

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.