POSTS EM DESTAQUE
Seu novo Notebook poderá ser um MacBook Air
Windows 8 vs Ubuntu – Comparando o novo Windows com o Ubuntu Linux
Android Ice Cream Sandwich 4.0 – Veja algumas novidades

Tag Archives: remover protected

Como remover o private / protected do títulos de um post no WordPress

BufferDigg DiggEdite o seu arquivo functions.php do seu tema function the_title_trim($title) { $title = attribute_escape($title); $findthese = array( ‘#Protected:#’, ‘#Private:#’ ); $replacewith = array( ”, // Vai substituirá o “Protected:” ” // Vai substituirá o “Private:” ); $title = preg_replace($findthese, $replacewith, $title); return $title; } add_filter(‘the_title’, ‘the_title_trim’)