WordPress.org

Support

Support » Themes and Templates » Sidebar on Different Page

Sidebar on Different Page

  • Sounds simple enough, but have found out it really isn’t. All I want to do is take all of the contents of the side bar, and make them appear on a new page. Users will click a link to reach this page. Doable?

Viewing 1 replies (of 1 total)
  • If I understand well what you are asking then it’s doable:
    Create a Page template in your theme (don’t call it page.php or sidebar.php though!) and put all the code from the sidebar.php into it.
    Then create a Page through the admin panel Write > Write Page by selecting this template for it. Don’t type anything in the content text area. Save it.
    From the Manage Pages panel remember its ID# (or slug).
    Make a link from wherever you want to this newly created Page.

Viewing 1 replies (of 1 total)
  • The topic ‘Sidebar on Different Page’ is closed to new replies.
Skip to toolbar