• I don’t want lists or links or categories or anything like that. I want to include a separate page (that can be edited in the pages section of the dashboard). The sidebar will always be present.

Viewing 1 replies (of 1 total)
  • Hi – I just worked this out last night. I made a page called “Sidebar”. This code displays it in the sidebar.

    You can call the page anything you want, of course. Just replace the word sidebar with the name of your page. You can use any word instead of $content also.

    <?php $content = get_page_by_title('sidebar');
          echo $content->post_content;
    ?>
Viewing 1 replies (of 1 total)
  • The topic ‘want to use a “page” in the sidebar’ is closed to new replies.