• 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

Add A Button To The Genesis Featured Posts Widget

This tutorial provides the PHP code which enables you to add a button to any Genesis Featured Posts widget.

This solution works without editing the code for the widget which is included in Genesis.

Here’s one example which also includes a corner ribbon.

genesis-featured-posts

The code uses your child themes default button CSS however you can easily change the class in the code to use custom CSS for a different button.

The code also enables you to exclude specific posts from displaying the button by using any conditional tags so its highly flexible.

Basically, this solution enables you to make the genesis featured posts widget look like the new author pro widget generated by the author pro plugin by StudioPress.

Here’s the PHP code you simply copy and paste at the end of your child themes functions.php file using a code editor.

Register for full access

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
 

Loading Comments...
 

You must be logged in to post a comment.