Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter uaioe

    (@uaioe)

    Actually, MichaelH, the wp_query function did seem to help. It’s not perfect, but it’s good enough to work for this particular site.

    Thanks for your help!

    Thread Starter uaioe

    (@uaioe)

    But it’s not the posts I’m having trouble showing, it’s showing the active Blog link in the sidebar.

    Example of structure of my sidebar (see the code above to see how I’m displaying the pages in the sidebar):

    About Us
    – Blog
    – Who we are
    – Biographies
    – Contact

    If I select “Who we are”, it’s shown as the active page in the sidebar. If I select “Blog”, the sidebar disappears entirely, even though it should be following the same logic as every other child of “About Us”.

    I think it has something to do with the fact that the logic changes somehow if a page becomes the posts page.

    Thread Starter uaioe

    (@uaioe)

    Well, that’s just returning 0.

    I don’t know if I’m explaining myself well. My posts page is located at mydomain.com/about-us/blog. For some reason, my sidebar won’t show Blog at in the list of pages under About Us. In fact, there is no sidebar showing up at all when you’re in the blog.

    Every other child of About Us shows a nicely formatted page list in the sidebar with the current page selected. Blog seems to act on its own rules, even though it is a page and a child of About us. Something about assigning mydomain.com/about-us/blog to be the Posts Page is screwing up the logic of the page list in the sidebar.

    I’m stumped.

    Thread Starter uaioe

    (@uaioe)

    Thanks MichaelH, I’ll give that a shot.

Viewing 4 replies - 1 through 4 (of 4 total)