Forums

How to Delete "Comments" from my website - Code attached (2 posts)

  1. Smithi Engineering
    Member
    Posted 1 year ago #

    Hi - I am new to WordPress and am a bit hesitant to just delete stuff. Website is smithiengineering.com.au and I want to delete the comment box that appears at the bottom of each page.

    The Themes code is below and I am needing to know what part I need to delete.

    Many thanks

    [code moderated - please use the pastebin]

  2. alchymyth
    The Sweeper
    Posted 1 year ago #

    a:
    'dashboard' 'settings' 'discussion'
    and in 'edit post' or 'edit page' pages below the editor window;
    check 'screen options' if you don't find the 'discussion' box there.

    b:
    you could edit the relevant template files (in twenty ten these are probably the loop.php files) and remove the code realted to comments_template('', true);
    and remove any code related to comments_popup_link()

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags