Comments and RSS feed off

Support Area Forums Bottega Comments and RSS feed off

Tagged: 

Viewing 12 posts - 1 through 12 (of 12 total)
URL to the page in question:
  • Author
    Posts
  • #3866
    Anne Maybus
    Participant

    I want to use the site without the option for people to leave comments but I don’t want this bit to show

    “No Comments

    Subscribe to the RSS feed for comments on this post.

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

    Can you please tell me where I can find the code to remove those lines?

    #3870
    Bill Robbins
    Moderator

    Good question. Here’s how to make the change.

    1) Go to the appearance section of your WordPress control panel and select edit to open up the theme editor.
    2) From the list of files on your right, choose index.php and look for this spot:

    <?php comments_template(”,true); ?>

    3) Delete it and save your changes.
    4) Open up single-header.php and delete that line again.
    5) Save your changes.
    6) Open up single-no-header.php and delete that line one last time.
    7) Save your changes.

    Now references to comments will be removed from the theme.

    Let me know if you need anything else.

    #3871
    Anne Maybus
    Participant

    Wow. so fast. Thank you for your help. It worked perfectly. You are a gem.

    #4667
    ben ramlee
    Participant

    oh dear, i also looking for this hi and low.
    thank you for sharing the info Bill.

    I feel good now.

    :)ben

    #4675
    Bill Robbins
    Moderator

    Glad that helped you out.

    #7505
    Jessica Wade
    Participant

    What if we do want commenting available on 1 “page” named “blog”?

    #7506
    Bill Robbins
    Moderator

    Jessica,

    Generally on your blog page, the individual posts have the ability to place comments, but the blog page (the archive) you don’t display the comments section. The idea being you click through to the post to place comments on it instead of keeping the comments of several posts together on one page.

    If you run into questions, let me know,
    Bill

    #7619
    chowsir88
    Participant

    Sorry I am new of this area but I cannot find the option to delete shown abovt

    3) Delete it and save your changes.
    4) Open up single-header.php and delete that line again.
    5) Save your changes.
    6) Open up single-no-header.php and delete that line one last time.
    7) Save your changes.

    I have version 2.2.0

    please advice

    #7626
    Bill Robbins
    Moderator

    Ricky,

    Good question. In one of the theme updates since this post was published, we changed the structure of this section. The spot to find this now is in single.php. You can delete:

    
    <?php comments_template(”,true); ?>
    

    and save your changes.

    If you have any questions or trouble, let me know,
    Bill

    #7628
    chowsir88
    Participant

    Hello Bill,

    Thanks it is works, but also I need to delete this listed below was showing on top of post page.

    “September 10, 2012 / by newcanto / Make A Comment / Filed under featured”

    Please advice

    #7629
    Bill Robbins
    Moderator

    Ricky,

    You can do that. Back in the theme editor, open up single.php and look for this line:

    
    <p class="post-meta"><?php the_time('F j, Y'); ?> / <?php _e('by','organizedthemes'); ?> <?php the_author_posts_link(); ?> / <a href="#comments"><?php comments_number(__('Make A Comment','organizedthemes'), __('1 Comment','organizedthemes'), __('% Comments','organizedthemes')); ?></a> / <?php _e('Filed under','organizedthemes'); ?> <?php the_category(', ') ?></p>
    

    and delete it. You’ll also need to delete that line from index.php and archive.php too.

    If you have any questions, let me know,
    Bill

    #7631
    chowsir88
    Participant

    Bill,

    Thanks again, it works

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Comments and RSS feed off’ is closed to new replies.