WordPress.org

Ready to get started?Download WordPress

Forums

Pages Weirdness (10 posts)

  1. benjamieson
    Member
    Posted 9 years ago #

    Hi all,

    I have added the 'Pages' tag to my sidebar to display my 'Pages' All good so far - th elisting shows up on the home page and on the sidebar of archived posts or 'view post' pages.

    However, if I click on one of the page link, the resulting page somehow loses the list of 'pages. The header remains, but the list itself is gone.

    i.e.

    http://benjamieson.com/ - correct
    http://benjamieson.com/index.php/about-me/ - pages are gone. Disappeared!

    all sections are using the same include for the sidebar, to which I have added:

    <?php wp_list_pages('sort_column=menu_order&title_li=<h2>' . __('About Me') . '</h2>' ); ?>

    As specified in the WordPress tag guide.

    Does anyone have any idea why 'Pages' disappear when you view 'Pages'

    Tis most odd!

    Ben

  2. Jinsan
    Member
    Posted 9 years ago #

    did you create a template for the page, or just click write page?

  3. benjamieson
    Member
    Posted 9 years ago #

    I just used the 'write page' feature... seemed like the most sensible....

  4. tom_raftery
    Member
    Posted 9 years ago #

    Ben,

    depending on the theme you are using, when you view your page, it may or may not display the sidebar - you may need to check your theme folder and if there is a page.php file add your page listing code to that page as well.

  5. benjamieson
    Member
    Posted 9 years ago #

    Yep, I had made sure my pages.php (and single.php) files all brought in the side bar. the side bar contained the pages list code.

    That's why it was odd.

    Anyway - killed the whole idea and am now dumping them out in my header bar instead... seems to work regardless, so I'm happy - looks better also.

  6. moshu
    Member
    Posted 9 years ago #

    benjamieson,
    did you run the upgrade.php?
    Your site at the link you provided asks for downloading - an error often seen when people did not run the upgrade.php.

  7. banzona
    Member
    Posted 9 years ago #

    I am having the same problem for this on the side bar. What do you need to put on the page.php or how do you put the listings there? What is the correct syntax to put on the line.

  8. fantomaster
    Member
    Posted 9 years ago #

    Having exactly the same problem and tried the header trick - worked nicely indeed.
    However, it doesn't really cut the mustard for us as it disrupts the design and layout.
    So, any further help would be appreciated.

    fantomaster

  9. moshu
    Member
    Posted 9 years ago #

    It's due to some bugs. You can check on mosquito ( http://mosquito.wordpress.org ) and the fixes here: http://trac.wordpress.org/
    Seemingly all these bugs will be corrected in 1.5.1 - don't ask when :)

  10. nearlythere
    Member
    Posted 9 years ago #

    I have this same problem.

    And if you can't wait til 1.5.1, you can use
    http://www.ioerror.us/2005/02/27/wordpress-1-5-ellington/

    It's an unofficial version of wordpress by ioerror which fixes this problem. I'm going for it. ;)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.