Support

Home Forums Community Forum How do you remove “Event Espresso” from page titles in the admin section

How do you remove “Event Espresso” from page titles in the admin section

Posted: June 19, 2013 at 12:45 pm

Viewing 5 reply threads


ewitzer

June 19, 2013 at 12:45 pm

How do you remove “Event Espresso” from page titles in the admin section?


Josh

  • Support Staff

June 19, 2013 at 12:59 pm

Hi there,

I’m not seeing Event Espresso displayed in the page titles in the admin. Are you referring to the “Powered by” message in the footer (bottom of the page?)


ewitzer

June 19, 2013 at 1:11 pm

Thank you for your reply. It’s at the very top of the browser above the URL, for instance it says “Event Espresso – Event Overview My Website Name – WordPress” on the Event Overview page


Josh

  • Support Staff

June 19, 2013 at 1:28 pm

Okay, I see what you’re talking about now. It turns out that WordPress adds this and it can be changed by means of a filter. For example, if you only wanted it to display the blog name you would add this to your theme’s functions.php file:

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

function my_admin_title($admin_title, $title)
{
    return get_bloginfo('name');
}

If you look in the wp-admin/admin-header.php file you’ll see what it does by default.


ewitzer

June 19, 2013 at 1:35 pm

Oh that worked beautifully, thank you so much! and such quick responses!


Josh

  • Support Staff

June 19, 2013 at 1:43 pm

You’re welcome.

Viewing 5 reply threads

The support post ‘How do you remove “Event Espresso” from page titles in the admin section’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso