WordPress.org

Support

Support » Themes and Templates » Different sidebars on different pages

Different sidebars on different pages

  • I am trying to use the themes primary sidebar on all pages and the secondary sidebar only on the home page and contact us page. The get_sidebar function is in the footer file. It used to read:

    [107 lines of code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    Any suggestions. I’m guessing it is simple. I just don’t know what I’m messing with here.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Different sidebars on different pages’ is closed to new replies.
Skip to toolbar