Support

Home Forums Event Espresso Premium New @ Event Espressor displays local site homepage!

New @ Event Espressor displays local site homepage!

Posted: December 28, 2015 at 8:38 am

Viewing 1 reply thread


Lawrence Seltzer

December 28, 2015 at 8:38 am

EE4 pages that have a link to the latest EE news now pause after the initial display and then display MY HOMEPAGE in that area!
I am not sure how that happened. I am using the latest version of EE4.
What is causing this and what can I do?
(EE4 was recently installed on the site and this is the first event I am creating. However, I have used EE4 on other client sites without any problems.)
Thank you.


Josh

  • Support Staff

December 28, 2015 at 9:28 am

Hi Lawrence,

This may be caused by a server setting or a redirect set up on your site.

You can remove the box by adding the following code to your site:

// remove New @ Event Espresso admin widget
function jf_ee_remove_news_metabox(){
    $current_screen = get_current_screen();
    remove_meta_box( 'espresso_news_post_box', $current_screen->base, 'side' );
}
add_action( 'admin_head', 'jf_ee_remove_news_metabox' );

You can add the above to a functions plugin or into your WordPress theme’s functions.php file.

Viewing 1 reply thread

The support post ‘New @ Event Espressor displays local site homepage!’ 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