• Hi,

    In one of my previous used themes I edited a .php file or something so my website’s name did not show in the browserbar.

    So normally it would be : Title of a cool article | This is my website’s name !

    Now it only shows : Title of a cool article

    How do I get my website’s name back after every article ?

    Kind regards

Viewing 6 replies - 1 through 6 (of 6 total)
  • You’ll need to edit your themes header.php file. In between the <title> tags, replace whatever is there with this:

    <?php wp_title('|', true, 'right'); ?><?php bloginfo('name'); ?>

    This will show the title of the post plus the blog name.

    Thread Starter Driezzie

    (@driezzie)

    It does not work.

    I’m guessing I erased something in the wordpress files itself because it happens with every theme I activate. It has been a long time and I can remember which .php it was.

    If you edited core WordPress files, then I’d re-upload all those files and see if it works. You can find instructions on how to do that here.

    Thread Starter Driezzie

    (@driezzie)

    Just did it, still not working.

    Seems like it’s only with single posts. Not with archive etc.

    Okay the only other things I can think of are either custom functions you’ve added to functions.php, that filter the title, or a plugin that is interfering with the title. I know most SEO plugins will try and do things with the title, and I’m sure there are other plugins that do the same. Some themes will do the same thing. So I’d do the basic testing of disabling plugins and switching to the default theme and see if that fixes it.

    Thread Starter Driezzie

    (@driezzie)

    could it have something to do with the post-template.php located in the WP-includes folder ?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Post title website title issue.’ is closed to new replies.