Remove Site Name from wp_title WITHOUT removing from attribute August 21, 2022 by Tarik Billa The $post object is available outside the loop so you should be able to echo get_the_title( $post->ID ); in the body.