WordPress.org

Ready to get started?Download WordPress

Forums

Frisco for BuddyPress
Disabling the Ability to Comment on Pages (3 posts)

  1. heatherhuhman
    Member
    Posted 2 years ago #

    I have disabled the ability to comment on the entire site, but "Leave a Comment" still appears on pages. How do I remove this capability?

    http://wordpress.org/extend/themes/frisco-for-buddypress/

  2. Tara
    Member
    Posted 2 years ago #

    - Allow/Disallow comments on specific page: - Where you create/edit posts or pages in admin, check if you have ticked comments for your posts/pages in the "discussion" box below the editor. If you don't see the "discussion" box there, in the 'screen option' dropdown field (located near the top right), there are tickboxes to show the 'discussion' box for the posts/pages. Tick mark it. In the 'discussion' box below the post/page editor, you can then allow/disallow comments for the page.

  3. David Carson
    Member
    Theme Author

    Posted 2 years ago #

    I have disabled the ability to comment on the entire site, but "Leave a Comment" still appears on pages. How do I remove this capability?

    Copy over page.php from the default BuddyPress theme (plugins/buddypress/bp-themes/bp-default/page.php) and place page.php in the Frisco theme directory.

    Then remove the comments_template() function from the page.php you just copied into the Frisco theme folder.

    Frisco is a child theme of bp-default. Frisco uses template files from bp-default if they don't exist in the Frisco theme folder. By copying over page.php and editing it in the Frisco theme folder, you will be overriding the file currently being used (from bp-default).

    See "(3) Overriding BuddyPress’ Template Files" at http://codex.buddypress.org/theme-development/building-a-buddypress-child-theme/

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic