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/
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.
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–Tulie
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).
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–Tulie
No worries Tulie. We’ll find the right solution that works.
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.
The topic ‘Prose Theme: Adding a widget area under subnav’ is closed to new replies.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.