- This topic has 2 replies, 3 voices, and was last updated 9 years, 3 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Home › Community Forums › Epik Theme Support › Widget area/box under single post
I’d like to add a widget area on single posts ONLY, under the main entry (similar to the author box in the demo: http://demo.appfinite.com/epik/threaded-comments/) but I’d like to put a link to Facebook there or a newsletter opt-in form. Any ideas? I’ve tried using the simple hooks plugin but it’s not getting the results I’m looking for. Any help would be appreciated ๐
Try this tutorial out – http://www.briangardner.com/email-newsletter-signup-box/ and you can add whatever content you need inside of the widget.
There is an approach without using widgets. It can be used to get a newsletter signup form.
You can try the code in this article:
http://www.techlila.com/how-to-add-newsletter-signup-box-genesis/
It will not work as it is. You will need to make one change.
The author of the techlila site has added this code at the end of the function:
add_action ( 'genesis_after_post_content', 'add_newsletter_box', 10, 1);
You will need to replace this line by:
add_action ( ''genesis_after_entry_content'', 'add_newsletter_box', 10, 1);
As far as I have understood, the hook name changed in the latest version of Genesis.
What I am sure of is that it works in Genesis 2.0.