Pages and Sidebar *Confused*
-
Hello,
I managed to get my theme to work. ??
Now that’s done. I can’t seem to get the navigation sidebar to collaborate with the pages using PHP.
For example, I want to create four more pages (about, credits, styles, and contact). In doing so, I would need to influence the sidebar and the pages. Apparently, I only have sidebar.php:
<!-- begin sidebar -->
<div id="gantnav"><ul>
<li class="homea"><a href="index.html" title="Home">Home</a>
<li class="about"><a href="about.html" title="About">About</a>
<li class="styles"><a href="styles.html" title="Styles">Styles</a>
<li class="credits"><a href="credits.html" title="Credits">Credits</a>
<li class="contact"><a href="contact.html" title="Contact">Contact</a>
</ul>
</div>
<!-- end sidebar -->Not only that, but when your on a different page, the navigation image must be set to the corresponding page. For example, this page has a different navigation image: https://gantdesigns.com/wordpress/?page_id=2
I know it’s pure XHTML, but I don’t know where to start. I read some documents about the sidebar and the pages, but I am still confused.
I hope someone is willing to assist me on this issue, thanks.
- The topic ‘Pages and Sidebar *Confused*’ is closed to new replies.