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.
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.
Leave a Reply
You must be logged in to post a comment.