Here is what I want to do:
- I have a theme with 2 columns: content in the left and sidebar in the right.
- I want to insert some custom widgets before the content in the left column.
Which hook can I use please? Cannot use genesis_before_post, cause it will insert before every post.
for this kind of stuff, use Genesis Visual Hook Guide plugin. It will precisely show you where you could hook stuff.
for now I believe you could use genesis before loop or genesis before content sidebar wrap.
Here is the Visual Markup Guide - http://genesistutorials.com/visual-hook-guide/. You can find the location you are seeking with it.
Thank you, guys. genesis_before_loop and some conditions have resolved my issue.
The topic ‘insert custom widget before posts’ is closed to new replies.
Subscribe to get early access to new themes, discounts and brief updates about what's new with StudioPress!