Issues with the Events Calendar and Themler

matthew.clark
10 Posts
matthew.clark posted this 19 June 2017

I have always had issues using the Event Calendar with Themler Themes. After playing around with some code and WordPress options. I have notice that pages and the Default page template still act like a Blog feed. So The Events Calendar gets wrapped like a Blog Feed Excerpt

If you are not worried about Excerpts you can turn them off under Appearance>Theme Options.

Themler Team,

Is there a way to get pages not to treat content like a post feed or disable Excerpts within pages?

I have always had issues using the Event Calendar with Themler Themes. After playing around with some code and WordPress options. I have notice that pages and the Default page template still act like a Blog feed. So The Events Calendar gets wrapped like a Blog Feed Excerpt If you are not worried about Excerpts you can turn them off under Appearance>Theme Options. Themler Team, Is there a way to get pages not to treat content like a post feed or disable Excerpts within pages?
Vote to pay developers attention to this features or issue.
3 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 20 June 2017

Hi,

It could be possible if it is possible to match the events pages using WP conditional tags. Or you can create separate custom template for events pages and output content manually using CMS code control.
In both cases you need to add some custom code.

Thank you,
Olivia

Hi, It could be possible if it is possible to match the events pages using WP conditional tags. Or you can create separate custom template for events pages and output content manually using CMS code control. In both cases you need to add some custom code. Thank you, Olivia
Stagger Lee
1818 Posts
Stagger Lee posted this 20 June 2017

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');
matthew.clark
10 Posts
matthew.clark posted this 07 July 2017

Sweet that did the Trick!

Sweet that did the Trick!
You must log in or register to leave comments