• I have two problems when I click on a link in my sidebar to display a page:

    1) The page generates in the same format as when you click on the title of a post from the main page. I get all this lovely stuff at the bottom of my page:

    “No Comments
    No comments yet.

    RSS feed for comments on this post.

    Sorry, the comment form is closed at this time.”

    Using other themes, I don’t get this – so I assume it’s something in my theme (Clasikue) but I’ve run out of ideas as to where to go hunting for the offending code. By the way, Clasikue does *not* come with a separate page.php file — it appears the pages are generated from index.php.

    2) when I input a permalink structure and URI into the Options, then go click a page title, all of my pages disappear from the sidebar when the page is generated. Works fine if the permalink structure is left blank.

    any ideas/suggestions would be greatly appreciated — thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • These are both probably results of your current theme. For 1, edit your page.php, remove everything from the bottom that you don’t want. For 2, edit your sidebar php, all the page navigation stuff is probably wrapped in an if(is_page()), and if you get rid of that wrapper then it should all display.

    Thread Starter sth624

    (@sth624)

    update: the WordPress Classic theme has the same problem as I noted in number (1) above — i’ve got a hunch Clasikue is a mod of WP Classic for this and other reasons.

    Copy your index.php
    Remove all the code you do not want.
    Save it as ‘page.php’
    Upload

    That should help.

    Thread Starter sth624

    (@sth624)

    i’ll give that a try — but first:

    where is the config data for the permalinks kept?? I just changed them to troubleshoot issue #2 and now I have a server 500 error and am locked out of my blog — I have backup files, just need to know which one to restore.

    Use ftp and delete the .htaccess file

    Thread Starter sth624

    (@sth624)

    issue #(1) is solved — thanks all who helped.

    issue#(2) is not — in my sidebar.php, this line generates the list of pages:

    <?php wp_list_pages(); ?>

    I’ve found & read through that function but my knowledge of PHP isn’t good enough to make much of it. not sure what to do. i’ve re-set permalinks so you can see what the problem is. http://www.shws.net/journal — then click on a page and watch the page list go blank!

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

The topic ‘page generation problems’ is closed to new replies.