Completely delete comments from wordpress website

Discussion in 'WordPress' started by Jaiminshivcs, Jul 16, 2010.

  1. #1
    I have created new website in wordpress http://phoenixwebsolutions.net/ , you can see there is list of posts on home page. and you can see text on right corner "No comments" . same with other pages http://phoenixwebsolutions.net/about/, see msg. "Comments are closed." now i dont want this things to displayed on my website. i have tried everything, i have deleted wp-comments-post.php file, but i am not completely successful to vanish this texts. does anyone know how to remove this texts?
     
    Jaiminshivcs, Jul 16, 2010 IP
  2. bhuthecoder

    bhuthecoder Member

    Messages:
    245
    Likes Received:
    11
    Best Answers:
    1
    Trophy Points:
    43
    #2
    remove
    
    <?php comments_template(); ?>
    <?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
    
    Code (markup):
    from index.php/page.php/single.php(theme file) file
     
    bhuthecoder, Jul 16, 2010 IP
  3. Jaiminshivcs

    Jaiminshivcs Banned

    Messages:
    506
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    90
    #3
    i have checked my index.php file from current theme, but its blank file with 0KB size
     
    Jaiminshivcs, Jul 16, 2010 IP
  4. bhuthecoder

    bhuthecoder Member

    Messages:
    245
    Likes Received:
    11
    Best Answers:
    1
    Trophy Points:
    43
    #4
    to remove comments in homepage
    1)open tapestries.php file in "library" folder located in ur theme directory. and remove the below code from that file.
    <span class="entry-comments"><?php comments_number() ?></span>
    Code (markup):
    to remove from posts (same procedure for pages pages.php)
    1)open single.php file located in ur theme directory and remove the below code
    
    	<a name="comments"></a>
        <?php comments_template('', true); ?>
    	<?php arras_below_comments() ?>
    
    Code (markup):
     
    bhuthecoder, Jul 16, 2010 IP
  5. MelfromBoD

    MelfromBoD Active Member

    Messages:
    448
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    58
    #5
    You must navigate to the theme files to make these changes, not the files in the blog root.
     
    MelfromBoD, Jul 17, 2010 IP