• Resolved Jackson Walker

    (@jaxshores)


    Hi everyone,

    I have searched through the forum and read the sidebar documentation, but I am still unsure how to include different sidebars on different pages. In other words, I have 3 pages that use the page template, and I need to have different content in the sidebars depending on the page.

    I had read Customizing your Sidebar that mentions that you can include different sidebars, but since every page uses the same template, I am unsure how to include different sidebars depending on the page.

    Another idea I had was to have php in the sidebar template that says “If page is the contact page, display the following content. Else if this page is the about page, display this content,” and so on.

    Is this possible? Any advice or help on this topic is greatly appreciated. Here is a link to the blog I am working on:

    https://olivares4santarosa.com/wordpress/

    Thanks again,

    Jack

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Different Sidebar Content for Different Pages?’ is closed to new replies.