Adventskalender Day 5 – Change WordPress Dashboard Title

What is the home page of a website? Naively we could say: the top page in the hierarchy of the URL, for example However, that’s true, at best, for visitors who just come through a search engine, and even they often start with a more specific page deeper in the hierarchy. Regular visitors, however, select the page on which they can do the most important thing.

On this is for me the community overview, because I moderate three communities, and of course this task takes precedence over my normal reading. On where I’m a moderator too, I start usually with the review list, because these tasks are more urgent than most others.

Surely you have your own examples of such special home pages.

For the WordPress blogs that I manage, my home page is the Dashboard, where I see open comments, pending updates and my own Dashboard widgets with additional information. And because I’m lazy and manage quite a few blogs, I’ve created a directory in my bookmarks for all dashboards that I visit regularly.

And here’s the problem: the title of all of them begins with the same word Dashboard. That’s not helpful when I go through the list or have multiple tabs open. Although the favicon helps a little, a better title would be nice.

This title is created in the wp-admin/admin-header.php file, and there is a filter, which we can use.

So if we now want to have the domain name at the front, we can do that like this:

This principle can be applied on all admin pages, not only on the Dashboard.

You can find this snippet in our repository Mini-Plugins on Github. You can also download it as a separate plugin here.

Post Sharing

Author Avatar

I am a developer and author for MarketPress. In my free time, I am a moderator for several WordPress communities.

Also Interesting

New Plugin: Slack Connector - Connect WordPress, WooCommerce and Slack

by Michael Firnkes

Initially we merely wanted to optimize our own Slack-processes. With automated notifications from our MarkettPress shop, the blog and our forums. The resul ...

Read more

Inpsyde is the first VIP partner in Germany

by Michael Firnkes

Automattic has given us the title of VIP Service Partner, the first in Germany, Austria and Switzerland. Worldwide, there are only eleven com ...

Read more

Inpsyde is a WooExperts Gold Partner of WooCommerce

by Michael Firnkes

A few weeks ago, Inpsyde GmbH with MarketPress became a certified WooExperts Gold Partner. This is confirmation from WooThemes of our agency’s know-h ...

Read more

BackWPup Pro: Secure WordPress Backup with Google Drive

by Michael Firnkes

The Pro version of our BackWPup plugin supports the backup of WordPress databases and files to Google Drive. But how do you set something like that up? And ...

Read more