create a 2nd sidebar

Community Forums Forums General Discussion create a 2nd sidebar

This topic is: resolved

This topic contains 4 replies, has 3 voices, and was last updated by  AC 1 year, 9 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #12700

    kduffey
    Participant
    Post count: 27

    On the eleven40 theme, I’m trying to create another page with a different sidebar than the rest of the site. I know how to register new widgets.. I need to create a new template page and then put the new widget(s) on that new template.

    I’ve tried starting with duplicating home.php and going from there, but I’m unsure of how to add new widgets to it.

    #12709

    braddalton
    Participant
    Post count: 10243

    You could use the Genesis simple sidebars plugin and a different page template under layout settings. On top of this you can style the page using custom body classes and even convert the page template to a post template if needed.

    Not sure this is what you need but its an idea which may help.


    #12719

    kduffey
    Participant
    Post count: 27

    That works very well.

    2nd question: How can I add a new welcome message widget to this page, rather than use the same one for every page?

    #12720

    braddalton
    Participant
    Post count: 10243

    You could simply paste the HTML for the welcome message into the Genesis Simple Hooks plugin using a conditional statement. http://codex.wordpress.org/Conditional_Tags

    http://pastebin.com/mLbRNPvk

    Paste code into the location you want to display your message. Example: genesis_after_header

    or

    Create a widget area using a conditional statement for the specific page.


    #12744

    AC
    Blocked
    Post count: 7712

    Brian Gardner has instructions on adding a Welcome Widget area here – http://www.briangardner.com/welcome-text-widget/.

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

You must be logged in to reply to this topic.