Support » Fixing WordPress » editing titles

Viewing 5 replies - 1 through 5 (of 5 total)
  • Michael


    Forum Moderator

    please check the images – they look both the same.

    also please post a link to your site;
    it might be difficult to make any useful suggestions looking just at images.

    my apologies. i outlined the the problem in the red box at the top of the page. website is

    You are going to have to edit your header.php file in your theme.

    You will need to know some basic php in order to change it the way you want. Alternatively you may be able to find a plugin, WordPress SEO by Yoast will allow you to edit the title without code, but you are going to have to edit each page individually and remember to edit it for every page/post you create going forward.

    If you don’t know any php, you would be better off posting a “job” on the WordPress job boards and paying someone a nominal fee to make the change in the header.php file. It shouldn’t be too bad, $10-$20 will probably get it done.



    Forum Moderator

    have a look in header.php of your theme; look for the line with
    <title> .... </title>

    yours might look like:

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

    so what you want is to show just the post title as meta title when on a single post;

    change it possibly to:

    <title><?php if( !is_single() ) { bloginfo('name'); } ?><?php wp_title(); ?></title>

    if you need more suggestion, please post the code as you have it now in header.php of your theme.

    hey thanks for the help! that code didn’t really fix it but i messed around with it some more and got it to work how i wanted.
    this was the proper coding:

    <title><?php if(is_home()) { echo bloginfo('name'); echo ' '; echo bloginfo('description'); } else { echo wp_title(' | ', false, right); } ?></title>

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘editing titles’ is closed to new replies.