Comment posted on Remove Comments Section From Your WordPress Blog by King

@maskofZoro: Yes. Remove “comments not allowed” line from comments.php in blog theme file.

King also commented

  • @maskofZoro: Yes. At every post or page there you will find in admin, an option, allow comments. Use that to allow or disallow comments at certain pages in WordPress.

Recent comments by King

  • Upload File – Send HTML Format Email with Attachment Using PHP
    @Bentot: @Ryan: @Kev Neal: @dupreelove: @asda: @Victor: I am sorry for late reply. There was a little glitch.

    request variables part was missing. You have to request variables named as from, emaila and filea in the php script. filea does not need to be request probably.

    This was working for Globals ON and was not working for Globals off environment of PHP which was default. I have changed the code and downloadable file. Please check this again. Now it is working.

    To add more fields e.g. phone number, company, comments etc. Just add these input fields in form and request these in PHP file and finally include these in email_message variable.

    Latest version of this script is coming soon.

  • Change Color Theme With PHP – CSS Switch
    @Adz: It will now work for you. Request variable set in switcher.php file. It was missing. Download file again or read the tutorial again – switcher file section.
  • Tell A Friend PHP Referrer – Recommend Site Script
    @net biz: There are two things. Email from where that email is coming from to you? Do not use user’s email. Use info@yourserver.com kind of email or any email that is set at your webhost. Second thing is concentrate. When email arrives in inbox, it has a name, email and subject. Make sure these are right. Email is important. If the server recognizes the right email it will not go in spam. Make the email which you have at your web host not spam in your inbox.
  • Change Color Theme With PHP – CSS Switch
    @Chad: Make sure blue.css or black.css or whatever css which applies only applies to the area or Div which you desire. and Inner portion can use your regular CSS.

    @jinney: Okay! Just call the variable in PHP file. Request the variable named as ‘set’. I am also updating the code. You localhost php.ini has Globals On and online hosts have Globals Off. Globals off is the right choice.
    Read this:
    http://www.phpmagicbook.com/category/post-get/

  • Provide RSS Feed for Each Post and Comment at Your WordPress Blog
    @Webdesign Stuttgart: Thanks. Sure!

powered by SEO Super Comments

  • Share/Bookmark

,

6 Reviews

  1. [...] here to read the rest: Remove Comments Section From Your WordPress Blog | PHP Magic Book … This entry was posted on Saturday, November 22nd, 2008 and is filed under WordPress News. You [...]

  2. maskofZoro says:

    Is there a way to remove the comment section only in certain pages? I would much appreciate any help.

    Thanks a lot,

  3. King says:

    @maskofZoro: Yes. At every post or page there you will find in admin, an option, allow comments. Use that to allow or disallow comments at certain pages in WordPress.

  4. maskofZoro says:

    @King:
    I meant, is it possible to remove even that “comments not allowed” when you disallow comments, but only from certain pages.

    Thanks

  5. King says:

    @maskofZoro: Yes. Remove “comments not allowed” line from comments.php in blog theme file.

  6. ownbig says:

    Thank you very much for that great article.