• Is there a way to have the post title in header ONLY on single posts?
    so instead of the site title always on the header, i want the post title when someoe selects a posts. thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • What do you mean by “the header”. The header on the page? Or in the web browser title bar (top left)?

    Thread Starter weiler14

    (@weiler14)

    instead of medical coding and billing specialists, i want it to say nurse practitioner
    https://medicalcodingstaffing.com/2009/07/10/nurse-practitioner/miamifl/458

    Thread Starter weiler14

    (@weiler14)

    ~

    Try using the following into header.php in place of your current <title></title> code:

    <title><?php if (is_category() || is_author()) {wp_title(':',true,'right');bloginfo('name');}
    elseif(is_tag()) {_e('Posts tagged with ');wp_title('',true);if(wp_title('',false)) {echo ' : ';}	bloginfo('name');}
    elseif(is_404()) {bloginfo('name');_e(' - Page not found!');}
    elseif (is_single()) {wp_title(':',true,'right');bloginfo('name');}
    else {bloginfo('name');}?>
    </title>
    Thread Starter weiler14

    (@weiler14)

    i need it on the actual page. i need a way for my post title to be Under the area that says “medical coding and billing specialists” i believe where the tagline would go. I just want the post title to be more appaerant…

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Post Title in Header’ is closed to new replies.