• 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

Foodie Pro Featured Posts Widget – Manually Add Which Posts You Want Featured

The code in this solution is based on this question from a member of the StudioPress Community Forums:

I’m wondering if there’s a way to edit the ‘Foodie – Pro Featured Post’ widget so that I can manually add which posts we want featured… In other words, right now I have the option to choose by ‘Category’, but I would like to be able to manually add by post id or even title.

Solution

There’s no setting enabling you to select one or more single posts to include in the featured posts widget. To add a setting to do this would require a significant amount of code and understanding of all the code in the default widget which is a custom version of the Genesis featured posts widget.

The solution in this tutorial is very simple and requires the addition of a tiny amount of code to one of the Foodie Pro child themes files.

Note: You can also use this solution in any other Genesis child theme by using the Genesis Featured Posts Pro widget.

Here’s the exact location you need to edit in the file:

Register for full access

Foodie Pro Theme Genesis Featured Posts

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