Prose Theme: Adding a widget area under subnav

Community Forums Forums Design Tips and Tricks Prose Theme: Adding a widget area under subnav

This topic is: resolved

This topic contains 7 replies, has 2 voices, and was last updated by  braddalton 1 year, 5 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #24598

    Tulie
    Participant
    Post count: 7

    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–Tulie

    #24623

    braddalton
    Participant
    Post count: 9334

    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.


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #24669

    Tulie
    Participant
    Post count: 7

    Hey Brad,

    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

    #24686

    braddalton
    Participant
    Post count: 9334

    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.

    Content Hooks

    genesis_before_content_sidebar_wrap Hook

    This hook executes immediately before the div block that wraps the content and the primary sidebar (outside the #content-sidebar-wrap div).


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #24701

    Tulie
    Participant
    Post count: 7

    Brad,

    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

    #24748

    braddalton
    Participant
    Post count: 9334

    No worries Tulie. We’ll find the right solution that works.


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #25932

    Tulie
    Participant
    Post count: 7

    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.

    #26093

    braddalton
    Participant
    Post count: 9334

    No worries Tulie.


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Prose Theme: Adding a widget area under subnav’ is closed to new replies.