WordPress Mini Site Code Issues

Discussion in 'WordPress' started by JamesB, Apr 5, 2009.

  1. #1
    Hi

    I am trying to set up some WordPress Mini Sites, I have several different templates that I'm experimenting with. The problem with all of them is I dont want any comments. So I deleted the comments php file.

    This works to some extent but now I have either

    Comments are closed.
    Leave a Reply
    Click here to cancel reply.

    Logged in as . Log out »


    What do I need to do to remove these please?

    Thanks

    James
     
    JamesB, Apr 5, 2009 IP
  2. leetmindz

    leetmindz Active Member

    Messages:
    155
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #2
    Dont know EXACTLY what you mean. But i believe i understand somewhat. Id try to find them in the index.php, page.php, or possibly single.php and remove the <?php code that is causing it.
     
    leetmindz, Apr 14, 2009 IP
  3. RockyMtnHi

    RockyMtnHi Active Member

    Messages:
    211
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #3
    Ditto leetzminds input. If you look at the index.php or single.php files you'll see the offending code. Just delete it and you'll be fine.
     
    RockyMtnHi, Apr 18, 2009 IP
  4. finance_dan

    finance_dan Peon

    Messages:
    21
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    isnt comments.php a core wordpress file?
     
    finance_dan, Apr 18, 2009 IP
  5. JamesB

    JamesB Peon

    Messages:
    510
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thanks guys but the info is still there. I will have to look at another mini site option for now. To much time trying to change things I dont understand.

    James
     
    JamesB, Apr 19, 2009 IP
  6. staffsergeantpeterson

    staffsergeantpeterson Member

    Messages:
    356
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    33
    #6
    Dude... Just disable the comment posting... It's that easy... Then just delete the lines that link up
    Comments are closed.
    Leave a Reply
    Click here to cancel reply.

    Logged in as . Log out »

    You have to go through every php file in the theme editor..
     
    staffsergeantpeterson, Apr 22, 2009 IP
  7. Cash Nebula

    Cash Nebula Peon

    Messages:
    1,197
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Try opening single.php and removing <?php comments_template(); ?>
    Remove it from image.php too if you don't want comments in the image gallery.
     
    Cash Nebula, Apr 25, 2009 IP