• WordPress SEO Optimization Techniques

    WordPress SEO Optimization Techniques
    • Home
    • About Me
    • SiteMap
    • Contact
    • SEO Directory
    • WordPress Themes
      • Home > Blogging > WordPress
        • Removing the “private” and “protected” from your post title

        • - WordPress by default adds this to your post and page titles, automatically -

        • WordPress HackHave you ever defined a specific blog post or page as, private or protected in WordPress? If you have, did you know that WordPress by default, appends "Private" or "Protected" to those post and page titles? If you prefer not to display this in your titles, there is a very easy hack to get rid of them.

          To apply this WordPress hack, you simply paste the following code into your functions.php file. After you have pasted code into the proper file, save the file to apply the hack to your posts and pages. That's it, your done!

          function the_title_trim($title) {
          $title = attribute_escape($title);
          $findthese = array(
          '#Protected:#',
          '#Private:#'
          );
          $replacewith = array(
          '', // What to replace "Protected:" with
          '' // What to replace "Private:" with
          );
          $title = preg_replace($findthese, $replacewith, $title);
          return $title;
          }
          add_filter('the_title', 'the_title_trim');

          Credit for this hack, goes to Chris Coyier.

          Hope this blog post was helpful to you, "Removing the "private" and "protected" from your post title" Be sure to share this post with your friends on Twitter. Furthermore, I appreciate your time that you have spent here!

          Spunky Jones.





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

          Keyword Winner
          Related Posts:
          1. Removing the WordPress 3.1 Admin Bar
          2. How to Remove the WordPress Generator
          3. How to Remove, “Comments are Closed” Message in WordPress
          4. Dealing with WordPress “Missed Schedule”
          5. How to remove /category/ from your WordPress URL
          6. Change that awful default “read more” link to something more appealing
          7. Follow these Easy Steps to Customize Your WordPress 404 Page!
          8. Easy instructions to add a favicon to your WordPress Blog
        • Posted on 1st June 2010 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:
        Removing the “private” and “protected” from your post title

      • 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
        • How to reset the admin password in...
        • NoFollow Links, Aren't Completely Useless...
        • Tracking your website PHP Errors, via the...
        • Increase web traffic by the means of forum...
        • 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