How to format my pages in my sidebar

  • Unknown's avatar

    Hi there! Apart from my main blog (the posts), I have a number of pages that I want to add. Right now, I have the Pages widget in my side bar, which contains an About page and a “Journal” page, which has, right now, three child pages. The problem is that after a while, there will be over 40 child pages, more than I want to show in my sidebar — I’d like the sidebar to show only the most recent pages I’ve written.

    I thought I could remove the child pages from the sidebar by giving them a different parent, but that just means that they appear in a different part of that widget. Is there any way of doing what I just described?

    Here’s a clearer picture if needed: I have two pages called About and Journal, and pages A, B, C, and D that are accessible through links in Journal. I want the sidebar to display like this, given that C and D are the most recent pages I’ve written:

    * About
    * Journal
    ** C
    ** D

    I don’t want A and B to appear in the sidebar.

    Thank you very much!

  • Unknown's avatar

    Hm, I should note that I don’t need it to automatically decide what to show and what not to show. My problem is that the Pages widget seems to display all pages, and I want to be able to not show some of them.

  • Unknown's avatar

    You should be exclude pages by page ID from the widget.

  • Unknown's avatar

    Thank you very much for the reply! I’ve looked on the widget and I found what you mentioned (I have no idea why I completely overlooked that when I looked at it earlier), but now I can’t find how to identify the page id. Where do I look for that?

  • Unknown's avatar

    Oops, never mind, I found it. It’s not obvious, though – I had to go to my page management page, hold my cursor over the link to the page I wanted to exclude, and note the last number in the URL in the status bar. That’s pretty obscure.

  • The topic ‘How to format my pages in my sidebar’ is closed to new replies.