Support » Fixing WordPress » Page title Display

  • Ok I am using wordpress with the option of Home page is a set page .. and that makes my blog page the News page in my case. Thats all set up fine and working great.

    As has been mentioned before the journal unfortunately then choose to set the most recent post as the wp-title statement.

    This sucks when i want the page to be NEWS.

    Ok I worked it out for the Header in the content of the page .. I put this in :

    <h1><a href="<?php the_permalink() ?>" rel="bookmark">
    <?php if (is_home()){echo 'News ';}
    { ?>
    <?php wp_title(' '); ?>
    <?php if(wp_title(' ', false)){echo '';} ?>
    <?php ;} ?>

    However in the title of the Browser I can’t get it to work .. this is my last working of some code .. if anyone can help me out .. or make both sets of code better I would be SO thankful.

    <?php if (is_home()){bloginfo('name');echo ' : News';}
    { ?>
    <?php bloginfo('name'); ?>
    <?php if(bloginfo(' ', false)){echo ' : ';} ?>

    please someone be a genius !

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Page title Display’ is closed to new replies.