Support » Plugin: Events » [Plugin: Events] Widget disobeys before_title and after_title

Viewing 1 replies (of 1 total)
  • For now, I’m using this code in my functions.php to manually override the tags to what I know my theme uses:

    /**
     * Override the default heading tag in the events plugin widget
     *
     * See http://wordpress.org/support/topic/plugin-events-widget-disobeys-before_title-and-after_title?replies=1
     */
    function t21cl_override_events_widget(){
    	if ($template = get_option('events_template')){
    		$template['sidebar_h_template'] = '<h3>'.__('Highlighted events', 'wpevents').'</h3><ul>';
    		update_option('events_template', $template);
    	}
    }
    add_action('widgets.php', 't21cl_override_events_widget');
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Events] Widget disobeys before_title and after_title’ is closed to new replies.