WordPress.org

Ready to get started?Download WordPress

Forums

remove "both comments and pings are currently closed" (5 posts)

  1. mesmerize
    Member
    Posted 5 years ago #

    Hello,

    Please view this page:
    http://www.letsdesign.co.uk/flash_games/ecaps-game/
    As you can see at the bottom is this line:
    -
    both comments and pings are currently closed, RSS 2.0, Edit
    -
    I would like to remove this gray box from 'all' my posts on this wordpress site.

    Is this possible and where do you go in the template to remove it?
    I have tried to remove it and it causes many problems.

    All help is greatly appreciated, thanks in advance.
    David

  2. mrmist
    Forum Janitor
    Posted 5 years ago #

    Yes the text is (normally) added in your theme file, which you should be able to change in Design (theme editor). Look at comments.php for the text.

  3. mesmerize
    Member
    Posted 5 years ago #

    oh no, its in the 'single post' (single.php) part of the template.
    I found the area, it's like this:

    {
    							// Neither Comments, nor Pings are open ?>
        Both comments and pings are currently closed.
        <?php } comments_rss_link('RSS 2.0'); ?>
        <?php  edit_post_link('Edit','',''); ?>

    However, i have attempted to delete it but it causes the entire page not to load.

    If anyone knows how to remove it, without messing things up, I'd be most happy. Thanks in advance,

  4. mesmerize
    Member
    Posted 5 years ago #

    P.s. i am currently messing with it and got it down to just showing RSS2.0, however I am keen to remove the entire gray box?

  5. mesmerize
    Member
    Posted 5 years ago #

    WHooopeee, i managed to remove it by eliminating the sub <div> tag for the metadata. I just put
    <! -- and closed it after -- >
    Now my pages don't have comments, pings, RSS feeds or the edit option. Which makes it look much better.

    I have put this info here, so people can use it in the future. Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic