Support » Theme: Cakifo » remove comment section from each page?

  • Resolved ccurtin


    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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘remove comment section from each page?’ is closed to new replies.