Support

Home Forums Event Espresso Premium Iced Mocha Event Espresso and WordPress tagline

Iced Mocha Event Espresso and WordPress tagline

Posted: September 29, 2014 at 10:03 pm

Viewing 3 reply threads


llanito

September 29, 2014 at 10:03 pm

I’m trying to remove the OWERED BY EVENT ESPRESSO & WORDPRESS tagline that appears in the Iced Mocha theme footer. I tried following the instructions in another topic
>>
function my_remove_footer_text() {
remove_filter( ‘admin_footer_text’, ‘espresso_admin_footer’ );
}
add_action( ‘in_admin_footer’, ‘my_remove_footer_text’ );
<<
But that didn’t work for me.
Help would be appreciated.
Thanks


Lorenzo Orlando Caum

  • Support Staff

September 29, 2014 at 10:45 pm

Hi,

That is for the WordPress dashboard.

Try this instead in your theme’s functions.php or a site specific plugin (https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/):

remove_action('espresso_theme_footer_hook','iced_mocha_site_info',105);


Lorenzo


llanito

October 1, 2014 at 7:02 pm

Hi Lorenzo
I tried that.
I found the following line in includes/theme-functions.php:
add_action(‘espresso_theme_footer_hook’,’iced_mocha_site_info’,99);
And so i created and activated a plugin with the following line:
remove_action(‘espresso_theme_footer_hook’,’iced_mocha_site_info’,99);

However it doesn’t seem to work. Any ideas?
Thanks


Dean

October 2, 2014 at 2:14 am

Hi,

First off to clarify, the code should be:

remove_action(‘espresso_theme_footer_hook’,’iced_mocha_site_info’,99);

(It should match the add_action exactly barring changing add_action to remove_action).

http://codex.wordpress.org/Function_Reference/remove_action

You can add that to the bottom of the Iced Mochas functions.php.

If you want it in a separate plugin then you will need to do the following:

function xyz() {

remove_action('espresso_theme_footer_hook','iced_mocha_site_info',99);

}
add_action('wp_loaded','xyz');

This will delay the remove_action until the theme has loaded (plugins ALWAYS load before the theme) and it will then remove it.

Viewing 3 reply threads

The support post ‘Iced Mocha Event Espresso and WordPress tagline’ 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