VERY quick php title question

Discussion in 'PHP' started by wholesalechecklist, Jul 24, 2010.

  1. #1
    <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title>
    PHP:
    If I never want "Blog Archive" to be shown, what part of the script do I remove? Just the words 'Blog Archive', or more then that?
     
    wholesalechecklist, Jul 24, 2010 IP
  2. wholesalechecklist

    wholesalechecklist Peon

    Messages:
    511
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #2
    For example, I want:

    Smooth Entrepreneur >> Blog Archive >> ARTICLE TITLE

    to be:

    Smooth Entrepreneur >> ARTICLE TITLE
     
    wholesalechecklist, Jul 24, 2010 IP
  3. Cees-Holland

    Cees-Holland Peon

    Messages:
    39
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I think your line needs to be replaced with this one:

    <title><?php bloginfo('name'); ?> <?php wp_title(); ?></title>
    PHP:
     
    Cees-Holland, Jul 24, 2010 IP
  4. wholesalechecklist

    wholesalechecklist Peon

    Messages:
    511
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thank you so much.
     
    wholesalechecklist, Jul 24, 2010 IP