Static Sidebar - Pages Only Change (2 posts)

  1. vbcruiser
    Posted 6 years ago #

    How can I code a theme so that the sidebar stays static and only the pages change. This is an example on a WordPress.org page:


    Click in the sidebar on the above page and you see the page only change.

  2. Lucian Florian
    Posted 6 years ago #

    You make sure you have page.php setup like that with a sidebar and a main content where you will have the loop. From admin control panel, you create the pages, and add different content for each of them. The content will change but sidebar will stay.

Topic Closed

This topic has been closed to new replies.

About this Topic