Dawson County CD Meeting
October 8, 2018 @ 1:00 pm
|Recurring Event (See all)
An event every month that begins at 1:00 pm on day Second 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' ); ?>