This code enables you to create a custom shortcode for a new widget area.
The new widget area is then populated with the Genesis eNews widget which should work with non Genesis child themes as well.
This enables you to add an email opt in form within the text of any page or post like this:
And here’s the post edit screen showing the shortcode for the widget.
This code goes in your child themes functions.php file:
Was This Tutorial Helpful?