Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator t-p

    (@t-p)

    – 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.

    Theme Author David Carson

    (@davidtcarson)

    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 https://codex.buddypress.org/theme-development/building-a-buddypress-child-theme/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Theme: Frisco for BuddyPress] Disabling the Ability to Comment on Pages’ is closed to new replies.