Posted By

vigoncas on 02/16/10



Versions (?)

Remove 'Private:' suffix from Wordpress title

 / Published in: PHP

Thanks to Jennifer Zelazny

You can see complete post in

Add the following code into functions.php file (within theme directory)

  1. function remove_private_prefix($title) {
  2. $title = str_replace('Private:', '', $title);
  3. return $title;
  4. }
  5. add_filter('the_title','remove_private_prefix');

Report this snippet  

You need to login to post a comment.