How To Redirect To Post If Search Results Return One Post In WordPress

How To Remove Private/Protected From WordPress Post Titles

If you ever wrote a post and then changed its visibility settings to private or password protected, you’ll notice that WordPress automatically adds private/protected prefix to the title of the post.

You can easily remove private/protected from WordPress post titles without messing around with some heavy codes.

Just add following code, suggest by Konstantin, to your current theme’s functions.php file: