WordPress.org

Ready to get started?Download WordPress

Forums

Remove Leave a Reply/Comments (9 posts)

  1. pamr
    Member
    Posted 2 years ago #

    I've been trying to remove the "leavy a reply" section as well as the "no comments" link under the title for hours. I'm currently using the full width page without sidebar. I've tried deleting this code from index.php and single.php, but nothing works: <?php comments_template(); ?>
    http://test.worryfreeclaims.com/works

  2. TheMarque
    Member
    Posted 2 years ago #

    You need to go to the editor and find the page template (probably page.php) and delete this code from it:

    <?php comments_template(); ?>

  3. pamr
    Member
    Posted 2 years ago #

    I've tried doing that but it's still not working. Here's the page's code. I'm thinking it has to do with some of the code above the line you provided?

    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

  4. TheMarque
    Member
    Posted 2 years ago #

    You need to use the pastbin to paste code. http://pastebin.com/
    Do that and try again.

  5. pamr
    Member
    Posted 2 years ago #

    Let's try this again. Sorry! http://pastebin.com/pDMWvXYy

  6. Emil Uzelac
    Theme Review Admin
    Posted 2 years ago #

    No, don't do that! Also never modify any Theme directly if it's not a Child Theme.

    Please see http://themeid.com/forum/post/3959/#p3959 and if you have any other questions feel free to post on our forum directly.

    Thanks,
    Emil

  7. TheMarque
    Member
    Posted 2 years ago #

    Looks resolved!

  8. pamr
    Member
    Posted 2 years ago #

    I managed to fix it on that page, but not the homepage (http://test.worryfreeclaims.com). Any ideas? It's making me crazy!

  9. Emil Uzelac
    Theme Review Admin
    Posted 2 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic