daily pastebin goal
78%
SHARE
TWEET

WordPress - Modify page title

lorro Oct 29th, 2015 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.   // Modify page title
  3.   // code goes in functions.php for your child theme
  4.   add_filter('the_title', 'modify_title', 10);
  5.   function modify_title( $title ) {
  6.     return str_replace("&nbsp;", "", $title);
  7.   }
RAW Paste Data
Top