I use conditionals to filter the the page layout… Using the previous version of ECP, the following conditionals worked (the third one still does):
function infusion_one_column() {
if ( get_post_type() == 'tribe_events' )
add_filter( 'theme_mod_theme_layout', 'infusion_layout_1c' );
elseif ( is_post_type_archive( array( 'tribe_events') ) )
add_filter( 'theme_mod_theme_layout', 'infusion_layout_1c' );
elseif ( is_tax( array( 'tribe_events_cat' ) ) )
add_filter( 'theme_mod_theme_layout', 'infusion_layout_1c' );
}
Any idea why these conditionals stopped working?