Wordpress Blog: How to disable ratings, comments on specific pages?

Discussion in 'HTML & Website Design' started by jakeyt, Apr 7, 2010.

  1. #1
    I have a wordpress blog and wondering how to disable a ratings plugin, and comments on certain pages. Specifically I have an About page I'd like to not have comments on or ratings.
     
    jakeyt, Apr 7, 2010 IP
  2. Beau19

    Beau19 Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Look in your dashboard under Options - Discussion. There is a checkbox there for "allow people to post comments on the article" Try unchecking that. Also - you can do it in the box on the right in the Write screen. That only affects the one post, though. The only thing you're going to get stuck with though is a 'Comments are closed" line after your posts.

    If you don't vvant the 'Comments are closed', you'll have to remove that line and it's a simple matter of editing the comments.php file for your theme and replacing "Comments are closed" with a single space to get rid of it.

    Good luck!
     
    Beau19, Apr 7, 2010 IP
  3. jakeyt

    jakeyt Greenhorn

    Messages:
    70
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #3
    Thanks, I'll give it a try it worked. But I also want to get rid of the catagories (below) and also the date at the top. Any suggestions?
     
    jakeyt, Apr 7, 2010 IP
  4. Mikesloug

    Mikesloug Guest

    Messages:
    150
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Hello Beaue,

    Thanks to share good and useful information about disable comments and other wordpress issue.
     
    Mikesloug, Apr 8, 2010 IP
  5. kNN

    kNN Greenhorn

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #5
    In header.php you should have something like <?php the_time(); ?>. Delete it and the date should not be desplayed. With categories same as you done with the date....should be sth like <?php wp_list_categories(); ?>...delete and you're done.
     
    kNN, Apr 8, 2010 IP
  6. jakeyt

    jakeyt Greenhorn

    Messages:
    70
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #6
    Thanks but if I want to keep the dates on my posts but not in specific, separate pages?
     
    jakeyt, Apr 8, 2010 IP
  7. Clive

    Clive Web Developer

    Messages:
    4,507
    Likes Received:
    297
    Best Answers:
    0
    Trophy Points:
    250
    #7

    Beau's suggestions are fine, except that they are meant to globally affect your website by changing the "Settings -> Discussion" commenting options as well as editing the comments.php file. If you only want to disable comments on certain pages like you mention in your first post, then you have to walk through every page in the admin that you want comments taken down from and untick the box allowing site visitors to comment. That will overwride the global settings that Beau mentioned.
     
    Clive, Apr 8, 2010 IP