• WordPress SEO Optimization Techniques

    WordPress SEO Optimization Techniques
    • Home
    • About Me
    • SiteMap
    • Contact
    • SEO Directory
    • WordPress Themes
      • Home > Blogging > WordPress
        • How to Remove, “Comments are Closed” Message in WordPress

        • - Get rid of that annoying default WP message when you don't allow comments -

        • comments-are-closedThere are WordPress blogs out there that have comments disabled on all posts except a few selected ones where visitors can post comments to. These selected posts which have comments enabled are either open to comments for an indefinite period of time or for a specified number of days after which they are closed. WordPress by default shows the message 'Comments are closed.' even on posts which were never open for comments. This behavior might not be liked, however, users can choose to disable this message and make it appear only on posts which were once or still are open to comments. The procedure outlined below assumes that the structure of the comments.php file is based on the file found inside the default WordPress theme.

          Following are the steps that are required to make the modification:

          • Go to your theme's folder (located under /wp-content/themes/) and make a backup of the comments.php file
          • Open the comments.php file for editing
          • Locate the following lines of code and remove them:

          <?php if ('closed' == $post->comment_status) : ?>
          <p>Comments are closed.</p>
          <?php endif; ?>

          • Find the following lines of code:

          <?php else : // comments are closed ?>
          <!-- If comments are closed. -->

          • Right after those lines, add the following line of code:

          <p>Comments are closed.</p>

          • Save and close the file.

          You are done...

          Hope this blog post was helpful to you, "How to Remove, "Comments are Closed" Message in WordPress"

          Spunky Jones.





          Submit your content Every Day to 25 social bookmarking sites, all on unique C class IPs... FREE.

          Keyword Winner
          Related Posts:
          1. How to Remove the WordPress Generator
          2. How to remove /category/ from your WordPress URL
          3. Dealing with WordPress “Missed Schedule”
          4. Change that awful default “read more” link to something more appealing
          5. Robots.txt for WordPress SEO
          6. Follow these Easy Steps to Customize Your WordPress 404 Page!
          7. Easy instructions to add a favicon to your WordPress Blog
          8. Removing the “private” and “protected” from your post title
          9. Removing the WordPress 3.1 Admin Bar
          10. WordPress 2.7 Creates Duplicate Content by Default
        • Posted on 29th December 2009 by Spunky Jones in WordPress
          • Subscribe to My: Free RSS Feed!
      • Article By: Spunky Jones

        Owner of the Madmouse Network, including the Spunky Jones SEO Blog.

        Spunky, has been involved in web page design since 1995 and started working with search engine optimization (SEO) in 1996. My very first Domain name that I registered was madmouse.com, in 1998. Furthermore, the Madmouse, is still alive and with me to this very day.

      • Thank you for visiting the Spunky Jones SEO Blog and reading the following post:
        How to Remove, “Comments are Closed” Message in WordPress

      • Navigation

        • Blog Authors
        • SEO Optimization Articles
        • SEO Strategy
        • Webmaster World
        • Free Stuff for Visitors
        • Canonical Duplicate Fixer
        • META Language Tag Generator
        • Privacy Policy
      • Today’s – Top Blog Posts

        • Keyword Analysis and Niche Research with...
        • PC CMOS Cleaner - Free BIOS Password...
        • .htaccess Tutorial - How to Create a...
        • Improve Communication in the Workplace...
        • Should You Consider Using Reprint Article...
        • Robots.txt for WordPress SEO
        • Strong Tag versus Bold Tag for SEO
        • NoFollow Links, Aren't Completely Useless...
        • Tracking your website PHP Errors, via the...
        • Increase web traffic by the means of forum...
        • How to reset the admin password in...
        • Spunky Jones: Search Engine Ranking SEO...
        • Madmouse Web Directory, free directory...
        • The Spunky Jones, SEO Experience Online
      • Category Topics

        • Blogging
          • Tips
          • WordPress
            • Install
            • Plugins
            • Security
            • WP Themes
        • Business World
          • Making Money Online
          • Marketing Strategy
        • Promotion
          • Social Networking
          • Web Directories
        • SEO Optimization
          • Google SEO
          • Meta Tag Basics
          • RSS Feeds
          • SEO Tips
            • SEO Strategy
            • SEO Techniques
          • WordPress SEO
        • Spunky Jones
          • Ramblings
        • Technology
          • Computers
            • Ergonomics
            • Hardware
            • Software
            • Windows
        • Webmaster World
          • Alexa Traffic
          • PageRank
          • Search Engines
      • Google Custom Search
    • Home
    • About Me
    • SiteMap
    • Contact
    • SEO Directory
    • WordPress Themes
    Copyright © 2008 - 2012 www.spunkyjones.com
    Designed by: Spunky Jones | Coded by: PSD to HTML
    leave a reply