Support

Home Forums Event Espresso Premium How to edit the "Powered by Event Expresso"

How to edit the "Powered by Event Expresso"

Posted: October 29, 2014 at 11:15 am


artiium21

October 29, 2014 at 11:15 am

Hello, wanted to see is there a way we can edit the “Powered by Event Expresso, I would like to add my company name along with Event Expresso


artiium21

October 29, 2014 at 11:16 am

Hello, wanted to see is there a way we can edit the “Powered by Event Expresso, I would like to add my company name along with Event Expresso


Lorenzo Orlando Caum

  • Support Staff

October 29, 2014 at 2:43 pm

Hi Artiium,

Here is an example of how to make that change:

function ee3_override_espresso_registration_footer($phrase)
{
    $post = get_the_id();
    if ($post == 123 ) {
        $phrase = str_replace('Event Espresso', 'New Message Here', $phrase);
        return $phrase;
    }
    else {
        return $phrase;
    }
}
add_filter('the_content', 'ee3_override_espresso_registration_footer', 99);

It works by checking for a post id and then changing the messaging. In the example above the post id is 123. The post id should be set to the post id of your events registration page (example.com/events-registration/). The numeric value can be found by going to your events registration page within your WordPress dashboard. The number will appear at the end.

Next, be sure to update New Message Here to something else.

The sample code can be added to your child theme’s functions.php file or a site specific plugin:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/


Lorenzo

The support post ‘How to edit the "Powered by Event Expresso"’ 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