March 6, 2013 at 1:51 pm #24598
Hello, I would like to add a widget area in Prose Theme under the subnav for a static rectangular image instead of in the header area. I tried following Brian Gardner’s tutorial How to Add a Welcome Text Widget, but nothing happened when I pasted the code into my custom functions area.
I noticed on the comments at the bottom of Brian’s post that someone else with Prose couldn’t get it to work either, but was going to get back to Brian about it. I didn’t see any follow-up comments about it though.
Could someone advise/direct me as to what I need to do to create a widget area? I am inexperienced with code and would appreciate any help.
My site is at http://historyvagabond.com/
An example of what I am trying to do is at http://www.nobhill-nm.com/
Thanks–TulieMarch 6, 2013 at 3:38 pm #24623
I’ve written a tutorial about how to do this recently as the Prose theme is a bit different.
I placed the code into the child themes init.php file and it works.
March 6, 2013 at 6:52 pm #24669
I went to your tutorial Adding A Home Page Slider To The Prose Theme and copied the code via the Github link. Nothing happened though. I noticed that you use the phrase ‘child-before-post-box’ on the Github site and ‘child-before-content-sidebar-wrap’ on your WP tutorial site. Don’t know if this makes a difference.
For right now, I just want a widget area below the subnav that I can put an image widget into. I’m just trying to do something simple like this site: http://www.nobhill-nm.com/ My site is: http://historyvagabond.com/
Thanks for all your help–TulieMarch 6, 2013 at 7:36 pm #24686
Tested the code again and it works however it includes a conditional tag so it only displays on the homepage for a slider.
Another option is to use the Genesis Simple Hooks plugin and paste the HTML for your image into the hook field where you want the image to display.
This hook executes immediately before the div block that wraps the content and the primary sidebar (outside the #content-sidebar-wrap div).
March 6, 2013 at 8:19 pm #24701
Don’t know what I was doing wrong with the code, but it sounds like what I need right now is the Genesis Simple Hooks plugin. I will have to work on it tomorrow though. Thanks for all your help today–TulieMarch 7, 2013 at 2:19 am #24748
No worries Tulie. We’ll find the right solution that works.
March 13, 2013 at 2:05 pm #25932
Just wanted to say that the Content Hooks on the Genesis Simple Hooks plug-in did exactly what I wanted and was very easy to use, even for someone as clueless as me. Thanks, Brad! P.S. Sorry it took me a week to respond.March 13, 2013 at 7:54 pm #26093
No worries Tulie.
The topic ‘Prose Theme: Adding a widget area under subnav’ is closed to new replies.