WordPress.org

Ready to get started?Download WordPress

Forums

How to remove comments section (3 posts)

  1. anahita.fth@gmail.com
    Member
    Posted 2 years ago #

    I am using a wordpress template as a website and not a blog.
    How can I remove the comments part??

    Would appreciate your help
    Thanks

  2. alchymyth
    Forum Moderator
    Posted 2 years ago #

    if disabeling / un-allowing comments from within the dashboard options is not enough, go through all templates of your theme, and remove any reference to comments,
    for instance (these might not all be in your theme, and there might be others, and there will be parameters inthe brackets):
    comments_popup_link() http://codex.wordpress.org/Function_Reference/comments_popup_link
    comments_number() http://codex.wordpress.org/Function_Reference/comments_number
    comments_template() http://codex.wordpress.org/Function_Reference/comments_template

    (most of these functions usually have the word 'comment' in the function name ...)

  3. anahita.fth@gmail.com
    Member
    Posted 2 years ago #

    Thanks Alchymyth will do so

Topic Closed

This topic has been closed to new replies.

About this Topic