Changing the page title in WordPress
//CHANGE POST TITLE function custom_modify_title( $title, $id = null ) { return 'CUSTOM '.$title; } add_filter( 'wp_title', 'custom_modify_title', 10, 2 ); add_filter( 'the_title', 'custom_modify_title', 10, 2 ); Change depending on post type //CHANGE POST TITLE add_filter('the_title','custom_modify_title2'); function custom_modify_title2($data){ global $post;…