WordPress.org

Forums

How to remove Comments feature and Social Bookmarks (4 posts)

  1. bnaccas76
    Member
    Posted 4 years ago #

    Hi, I'm new to WP and still getting my head around it and need some help. I have some pages that I don't want the Social Bookmarks or anything about comments to appear.

    Does someone know how or if it is possible to do this?
    Do i need to delete code, create a new template or something else?

    Thanks for your help.
    Brendan

  2. esmi
    Theme Diva & Forum Moderator
    Posted 4 years ago #

    If you want social bookmarks and comments on some pages but not others, then a new custom template would seem to be the best approach.

  3. bnaccas76
    Member
    Posted 4 years ago #

    Thanks Esmi. I thought that might be the case. So I know how to create a new page template but what would the code look like that I need to delete?

    I've tried this already but I can't figure out which code to delete? Your help is greatly appreciated!

    Cheers
    Brendan

  4. esmi
    Theme Diva & Forum Moderator
    Posted 4 years ago #

    Social bookmarks are normally added by a plugin but I suppose a theme might have them in by default. Can you identify roughly which part of the code in page.php relates to the social bookmarks? With the comments, it's just down to removing references to comments_popup_link() and/or comments_template().

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.