Support » Fixing WordPress » how to avoid hard-coding changing sidebar

  • Hi folks,

    I’ve created a wordpress theme for a site I am doing for a doctor. The site is basically like a static site, but he would like to be able to edit the information. It works like this: The left column contains a vertical navigation. I use sidebar.php for this, and use wp_list_pages to display the list items. The center column contains the page content. The problem is that the right column is a second sidebar that contains information that changes based on page (directions to office, info about medical procedures, etc.) I am using different page templates, but I find I have to hard-code the html for this second sidebar within the page template.php itself. I’d like to get this information available via the dashboard somehow so he can edit it. Any ideas? Thanks.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘how to avoid hard-coding changing sidebar’ is closed to new replies.