Support » Fixing WordPress » List of pages in the current pages category for the sidebar

  • Hey there,

    I have been reading through the documentation and circling around a solution, but I cant seem to crack it. Hopefully someone can help.

    I am trying to create a custom template with its own side bar (done that successfully) in which I want to show a list of pages within the current pages category. Heirarchically by parent/child relationship would be great.

    Let me tell you why. I a largish number of “pages” (as opposed to posts) in the site and they are grouped in parent child relationships (or can be when I get it done). I would like them to have their own dynamic navigation if possible so that I can avoid running around updating the navigation all the time.

    I al ready have a plug in that lets me tweak the category of the page, but if there is another way of working this I am happy to ditch that approach.

    An Example would be the following. Assume all of this is in a category called “coprrespondance”

    – Letters
    – – Jan 16
    – – Feb 18
    – – Mar 4
    – Memos
    – – re: Fees
    – – re: Attendance

    I could deal with creating tempates/sidebars for each of the different groupings of pages if necessary and manually entering the cat id, that would be no problem.

    The thing is, iam not much of a php coder, so I am having trouble with creating a loop in the sidebar.

    I hope someone can help.


Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘List of pages in the current pages category for the sidebar’ is closed to new replies.