Generally on our WordPress blogs, there is a label WordPress displayed in the title bar. Does anybody have an idea on how to hide or remove it?

My website is powered by WordPress multisite installation and like many people I wanted it as self-branded even though I keep a link back to wordpress.org in the footer.

Is it inappropriate to do this?

  • 1
    Are you talking about in the admin? Or on the front-end of the website? – TheDeadMedic Dec 10 '10 at 15:34
  • Yes ! On Dashboard . When a user log in to Dashboard ,it appears – user391 Dec 11 '10 at 5:34

I personaly don't think you should really do this, and I would leave it there if I were you - it is in fact a way to support WordPress, and don't forget you got it for free. ;)

but, if you really want to do it, go to /wp-admin/admin-header.php

and remove — WordPress from this line:

<title><?php echo $title; ?> &lsaquo; <?php bloginfo('name') ?>  &#8212; WordPress</title>
  • 3
    You should never change a core file. You get problems on updates, maintenance etc. – bueltge Jun 26 '16 at 7:07
  • 2
    this should NOT be the accepted answer, us mentioned be @bueltge core files should never be edited directly. As per the "I personally don't think you should really do this," that's not appropriate for this question That's totally irrelevant. If Automatic didn't want you to do it they probably wouldn't have provided a filter to change it, nor released WordPress under GPL – Madivad Sep 3 '17 at 4:56

You're so ashamed to be using WordPress? :-)

There's a filter in WP 3.1:

$admin_title = apply_filters( 'admin_title', $admin_title, $title );
  • Why would I fell ashamed ? – user391 Dec 11 '10 at 5:11
  • 1
    I am using wordpress as Multisite installation .So when a user log into Dashboard as shown in the above image . I want to appear the title as Profile< mysite < Dash board Administration. And it is Multisite installation ,many people wanted it as self branded at title ,we give link back to wordpress as "Powered by wordpress" at footer. I don't know what is wrong in my question – user391 Dec 11 '10 at 5:21
  • 2
    Oh nothing's wrong with the question. It was just a friendly tease. :-) Editing my answer with the solution. – Denis de Bernardy Dec 11 '10 at 11:12

Best I can tell, by default Wordpress displays the Blog Title (Settings->General). Have you changed that to something besides the default?

  • It appears for every blog by default . – user391 Dec 11 '10 at 5:34

This should do the trick for you but first you must create a child theme of your main theme. Then create functions.php file in the child theme and paste this code and you are good to go.

   add_filter('admin_title', 'my_admin_title', 10, 2);

function my_admin_title($admin_title, $title)
        return get_bloginfo('name').' &bull; '.$title;

Is it inappropriate to do this ?

No, your looking at the meta title tag, the easiest solution to change this is with an SEO plugin that can alter the meta title tags dynamically or manually. All of the top SEO plugins have this functionality.

  • Once I customized it from some core files or theme files .Now I forgot that .Do you have idea how to do it? – user391 Dec 11 '10 at 6:52
  • Yet Another Plugin is not the easiest solution. ;) – Paweł Tomkiel Jan 31 '19 at 6:31

If Settings->General didn't work better login into database (through control panel or http://website_name.com/phpmyadmin) search for wp-optionsand change blogname.

  • 1
    Please explain how this will solve the issue without breaking other stuff – Pieter Goosen Feb 3 '15 at 16:47
function custom_admin_title( $admin_title ) {
    return str_replace( ' &#8212; WordPress', '', $admin_title );

add_filter( 'admin_title', 'custom_admin_title' );
  • 1
    Please edit your answer, and add an explanation: why could that solve the problem? – fuxia Jan 5 '17 at 12:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.