• so instead of ‘Medical Coding and Billing Experts’
    I want the Post Title please
    medicalcodingstaffing.com

Viewing 6 replies - 1 through 6 (of 6 total)
  • use <?php wp_title(' ', true, '' ); ?> instead of <?php bloginfo('name'); ?> in the header.php.

    here in this space:

    <div class="header">
    						<span class="top-title white block"><a href="<?php bloginfo('url'); ?>/" title=""><?php wp_title(' ', true, '' ); ?></a></span>

    PS: what the parameters mean – codex wp_title

    Thread Starter weiler14

    (@weiler14)

    Nope. both of these did Not work.
    here is my header. All i want is the Post title to appear on the actual Post-Page at the top right where is says medical coding and billing experts. NOT on the top browser bar, but right about where it says home, about, etc.
    Thanks!
    <link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen” />
    <link rel=”alternate” type=”application/rss+xml” title=”<?php bloginfo(‘name’); ?> RSS Feed” href=”<?php bloginfo(‘rss2_url’); ?>” />
    <link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />

    <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>
    <?php wp_head(); ?>

    Thread Starter weiler14

    (@weiler14)

    **right Above where it says home, about

    Thread Starter weiler14

    (@weiler14)

    i got it! i changed single-post.php instead of =””> <?php bloginfo(‘name’); ?> I PUT <?php the_title(); ?> !!

    You have to use te same code…

    <?php wp_title(); ?>

    after you print the Blog Name using…

    <?php bloginfo('name');?>

    in your template.

    <h1><?php wp_title();?> - <?php bloginfo('name');?></h1>

    This should print: “Mi Blog Title – Home” if you are in the Home Page.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Need Post title in Header if poss’ is closed to new replies.