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' ); ?>
- previous post: Resolution 26-01: A Resolution Supporting Legislation Allowing Conservation Districts the Option to Opt Out of the Administration of the Montana Natural Streambed and Land Preservation Act (310)
- next post: Resolution 26-03: A Resolution Urging the Montana Legislature to Prohibit the Montana Department of Fish, Wildlife and Parks from Using Marijuana Tax Revenue for Land Acquisition

