Action taken by MACD: This resolution was brought to the National Association of Conservation Districts during the 2023 NACD Annual Meeting in New Orleans. An amended version was passed at the national level and is included in the NACD policy book.
Resolutions
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' ); ?>