WordPress.org

Ready to get started?Download WordPress

Forums

Remove Comments - Individual Pages (4 posts)

  1. GJD
    Member
    Posted 9 years ago #

    WordPress 1.5
    wp-picasa-gallery.php

    I have created a page using the default template to use a Photo Gallery page 'outside' of the blog.
    I do not wish the "Posted by", "Comments" and "RSS" notices to appear on this page.
    I have unchecked the comments and track back options but they still appear at the base of my gallery.

    The offending article is here:
    http://www.ritzacoustic.com/?page_id=14

    Just as an annoying extra thing, this business has musse dup my nice neat page order, what was page 4 is now 14, if anyone knows how to pop it back to page 4 I'd be pretty chuffed as well.
    Thanks For Your Time.

  2. Lorelle
    Member
    Posted 9 years ago #

    I don't see any comments on that page, oh, you are talking about the stuff in the sidebar...that's a different issue and you will find answers for this:

    The WordPress Loop
    The Loop in Action
    Conditional Tags
    Understanding the is_ functions

    As for why it is now page 14, you will have to go into the database and change it, and it can make for a lot of trouble. If it really isn't important, which is isn't, ignore it and switch to permalinks and you will never know it was ever page 14.

  3. GJD
    Member
    Posted 9 years ago #

    I managed to hide them with CSS (for now).
    Thanks.

  4. moshu
    Member
    Posted 9 years ago #

    I assume there is no page.php template in your theme; in this case WP will use the index.php to display your Pages. See more in Template Hierarchy and Pages in the Codex.
    However you can save your index.php as page.php and edit/delete the template tags that call for commets, rss, show the publish date etc. Even more: you can customize different Page templates (see the link above) and once uploaded they will show up in your Write Page interface in a dropdown menu to select different templates when creating Pages for your site.
    HTH

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags