[resolved] remove comment section from each page? (3 posts)

  1. ccurtin
    Posted 3 years ago #

    I would like to remove the reply/comment from the bottom of some/all the pages. What is the easiest way to do that?

    Great Template by the way!

  2. mathis@Tambour
    Posted 3 years ago #

    You got, at my point, 2 options :
    Modify it in Dashboard, maybe you got a checkbox where you can remove all comments, or you will have to change it one by one.
    The Second option is to create a child theme, and apply the CSS display:none; to the comments.

  3. Jesper Johansen (jayjdk)
    Theme Author

    Posted 3 years ago #

    If you want it for some pages:

    1. Edit a page
    2. Find the "Discussion" meta box
    3. Uncheck "Allow comments"

    If you want it disallow comments for all pages (not posts) you can create a child theme and add this to the functions.php:

    add_action( 'init', 'cakifo_child_theme_disable_comments' );
    function cakifo_child_theme_disable_comments() {
    	remove_post_type_support( 'page', 'comments' );

    Hope that helps you. If not, feel free to write again.

    But if you have any question beside this one, I recommend that you signup for Theme support on Theme Hybrid. You'll find a section called "Cakifo" on the support forum.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic