• Everytime i make a post, the following appears at the bottom of my posts. Can someone help me where i can i find this code and remove them entirely . I am desperate , appreciate some help . You can see it in http://www.recruit20.com posts

    ———————

    <div class=”postmeta”>
    <p>Tags: </p>
    </div>

    <h3>Comments</h3>

    <!– You can start editing here. –>

    <div id=”commentblock”>

    <!– If comments are closed. –>
    <p class=”nocomments”>Comments are closed.</p></div>

    </div>

Viewing 15 replies - 1 through 15 (of 21 total)
  • index.php would be my guesss, or do you mean under the single post? Then it’s in single.php. Maybe you also want to have a look at the comments.php of your theme.

    It sounds to me like a part of the code is forgotten and that’s why the browser sees this as text.

    Thread Starter ferozkn

    (@ferozkn)

    i dont see a single.php in my theme folder.
    Do i remove the comments.php entirely from this folder ?

    Your site doesn’t load…

    1) If you don’t have a single.php, then the template to display single posts will have another name. I’m sure you can display one post on the blog and you’re not forced to have a page with 10 (or so) posts.
    2) If you don’t want to use the comments, but your problem is (probably) not there, but in the single.php (or whatever it is called in your theme). What I meant is, you could check the comments.php to see if the code you see is in there (but I expect not).

    Thread Starter ferozkn

    (@ferozkn)

    its http://www.recruit20.com , it works alright, try again please

    Still nothing (“network access error”). But just have a look at my previous answers.

    Removing the comments.php file will not help.

    Delete (or comment out) lines #37-38 in your index.php file:

    <h3>Comments</h3>
    		<?php comments_template(); // Get wp-comments.php template ?>

    and this bit from line #12 in the home.php file:
    <?php comments_popup_link('Comment', '1 Comment', '% Comments'); ?>

    Thread Starter ferozkn

    (@ferozkn)

    this is gone

    <h3>Comments</h3>
    <?php comments_template(); // Get wp-comments.php template ?>

    but it still appears in new posts

    I am so desperate , pls help

    I don’t see it. Browser cache? (And yes, your site came back to life.)

    Thread Starter ferozkn

    (@ferozkn)

    I took this out as well

    <?php comments_popup_link(‘Comment’, ‘1 Comment’, ‘% Comments’); ?>

    its just not working

    [edited] It’s not just the index.php (in which you still have to get rid off the “Comments Off”), but the single post php (of which I don’t know the name in your theme) in which you have to delete comments arguments.

    And remember, clear browser cache when you have another look.

    Thread Starter ferozkn

    (@ferozkn)

    Now i have also remove the entire comments.php file as well. It sill does not work

    Then you are doing something wrong.
    It should work if you followed my instructions above: I gave you the exact lines to be deleted/commented out.

    How do you edit the files? You should do it on your own computer in a plain text editor and upload via ftp the modified files.

    Thread Starter ferozkn

    (@ferozkn)

    i did exactly as you told me .. i deleted/commented out first and then uploaded it. it did not work so i went on to remove the comments.php file thinking it will work, but it did not.

    Anything else i missed here ?

    Comments.php has nothing to do with your problem. Period.

    I suspect your ftp client is not working properly. Delete the index.php and home.php and try uploading again the modified files.

    I don’t see where comments can be posted…
    are you trying to remove the “tags:” line?

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘Desperatly trying to remove comments from post’ is closed to new replies.