Support

Home Forums Event Espresso Premium Issue with home page top banner (travel time theme)

Issue with home page top banner (travel time theme)

Posted: December 7, 2017 at 2:06 am

Viewing 5 reply threads


mst

December 7, 2017 at 2:06 am

Hi, on my homepage the event espresso plugin included a grey banner underneath my logo top navigation bar (travel time theme). Do you have a solution to remove it?
Details:
WordPress Versie: 4.9.1

PHP Versie: 7.1.10

MySQL Versie: 5.5.5

Event Espresso Version: 4.9.53.p

WordPress Adres (URL): http://mst-trailreizen.nl

Websiteadres (URL): http://mst-trailreizen.nl


Tony

  • Support Staff

December 7, 2017 at 4:44 am

Hi there,

Can you send me a copy of the theme so I can take a look?

You’ll need to host the zip and post a link we can use to download it.


mst

December 7, 2017 at 5:09 am

Sure, it’s here: ** Removed **

  • This reply was modified 6 years, 10 months ago by Tony.


Tony

  • Support Staff

December 7, 2017 at 6:22 am

You should be able to use a snippet like this:

add_filter( 'FHEE__EE_Front_Controller__display_errors', 'ee_remove_notices_from_front_page' );
function ee_remove_notices_from_front_page($display_errors) {
    if( is_front_page() ) {
        $display_errors = false;
    }       
    return $display_errors;
}

Add that to a Custom Functions Plugin on your site and it should remove the EE notices on the home page (which is causing a problem on your theme).


mst

December 7, 2017 at 7:36 am

Thank you the snippet has done the job!


Tony

  • Support Staff

December 7, 2017 at 7:37 am

You’re most welcome.

Viewing 5 reply threads

The support post ‘Issue with home page top banner (travel time theme)’ 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