Some of mine fix for Events Calendar. But dont know for what I used it. Dont know even if it is the same plugin.
function _tribe_events_after_the_grid() {
echo '%%theme_more%%';
add_filter('pre_option_theme_show_morelink', create_function('', 'return 0;'));
}
add_action('tribe_events_after_the_grid', '_tribe_events_after_the_grid');
/*
This snippet fixes a problem with the Elegant Themes Divi theme breaking the Events Manager Admin area showing events.
To install this fix, you should save this as a php file and copy it to wp-content/mu-plugins (create the mu-plugins folder if it doesn't exist). More information on adding custom code here:
http://wp-events-plugin.com/tutorials/how-to-safely-add-php-code-to-wordpress/
*/
function fix_em_divi_problem(){
if( is_admin() ){
remove_action('parse_query', array('EM_Event_Post','parse_query'));
remove_action('restrict_manage_posts', array('EM_Event_Posts_Admin','restrict_manage_posts'));
}
}
add_action('admin_init', 'fix_em_divi_problem');
Some of mine fix for Events Calendar. But dont know for what I used it. Dont know even if it is the same plugin.
function _tribe_events_after_the_grid() {
echo '%%theme_more%%';
add_filter('pre_option_theme_show_morelink', create_function('', 'return 0;'));
}
add_action('tribe_events_after_the_grid', '_tribe_events_after_the_grid');
/*
This snippet fixes a problem with the Elegant Themes Divi theme breaking the Events Manager Admin area showing events.
To install this fix, you should save this as a php file and copy it to wp-content/mu-plugins (create the mu-plugins folder if it doesn't exist). More information on adding custom code here:
http://wp-events-plugin.com/tutorials/how-to-safely-add-php-code-to-wordpress/
*/
function fix_em_divi_problem(){
if( is_admin() ){
remove_action('parse_query', array('EM_Event_Post','parse_query'));
remove_action('restrict_manage_posts', array('EM_Event_Posts_Admin','restrict_manage_posts'));
}
}
add_action('admin_init', 'fix_em_divi_problem');