Fixing my wordpress titles!!!

Discussion in 'PHP' started by hitboy, Jan 15, 2008.

  1. #1
    Hello currently on my wordpress site my blog title shows before the post title...

    my blog is www.hpkmedia.com if you go there the title is hpkmedia.com - than whatever the post title or page is...

    I want to make this the opposite yet when I tried to edit the title code in the header I got php errors so I was wondering if you guys could help out :D

    Below is the code for the title:

    <title>
    <?php if ( function_exists('optimal_title') ) { optimal_title('|'); bloginfo('name'); } else { bloginfo('name'); wp_title('|'); } ?>
    <?php if ( is_home() ) { ?> | <?php bloginfo('description'); } ?>
    </title>
    Code (markup):
     
    hitboy, Jan 15, 2008 IP
    Dondon2d likes this.
  2. Dondon2d

    Dondon2d Peon

    Messages:
    3,193
    Likes Received:
    146
    Best Answers:
    0
    Trophy Points:
    0
    #2
    With optimal title plugin? Why are you changing it, that's the front act of Optimal Title. :D Hmm, I'm not sure but try altering their places.

    else { wp_title('|'); bloginfo('name');
    Code (markup):
     
    Dondon2d, Jan 15, 2008 IP
  3. hitboy

    hitboy Well-Known Member

    Messages:
    2,939
    Likes Received:
    69
    Best Answers:
    0
    Trophy Points:
    170
    #3
    how do i turn off Optimal Titles
     
    hitboy, Jan 15, 2008 IP
  4. Dondon2d

    Dondon2d Peon

    Messages:
    3,193
    Likes Received:
    146
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You're not the one who installed it?
     
    Dondon2d, Jan 15, 2008 IP
    hitboy likes this.