Forums

[resolved] Sidebar disappears on posts page (4 posts)

  1. bamcclendon
    Member
    Posted 1 year ago #

    I'm using the site5 wisebusiness theme for my site: http://qb3.berkeley.edu/ccb/
    I'm trying to create a news page that lists all my posts (news & events > News Archive) using the pageofposts template. The posts show up, but my sidebar navigation of parent and child pages disappears.

    Any ideas how I can get it to show?

    I've read that some themes do not show the sidebar on posts pages, which is why I tried to use a page as the base for the news archive rather than index.php which is the posts repository on install.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Does your theme have a sidebar on Pages? Did you remember to include <?php get_sidebar();?> in this custom template?

  3. bamcclendon
    Member
    Posted 1 year ago #

    Yep. It's there and displays nothing. Strangely, I recently removed it, added the html for the right column and side navigation to the template and still nothing. I then entered text into the right column outside of the sidebar nav php (not using widget), which did display. My hunch is that WordPress is disregarding the page's status as a child page because it is a de facto posts index.

  4. bamcclendon
    Member
    Posted 1 year ago #

    just had to reset the loop

Topic Closed

This topic has been closed to new replies.

About this Topic