Wibaux CD Meeting
October 2, 2018 @ 7:00 pm
|Recurring Event (See all)
An event every month that begins at 7:00 pm on day First of the month, repeating indefinitely
php
function my_custom_sidebar_display( $sidebar ) {
// Return a different sidebar for custom post type 'resolutions'
if ( is_singular( 'resolutions' ) || is_post_type_archive( 'resolutions' ) ) {
return 'resolutionssidebar';
}
// Return theme defined sidebar area
else {
return $sidebar;
}
}
add_filter( 'wpex_get_sidebar', 'my_custom_sidebar_display' ); ?>