diff --git a/includes/utilities.php b/includes/utilities.php index faa7cfe..9b9dbbb 100644 --- a/includes/utilities.php +++ b/includes/utilities.php @@ -60,3 +60,16 @@ function get_archive_page_subtitle_html($post_type) return ''; } } +function hasPostTypeNumerotation($post_type) +{ + switch ($post_type) { + case 'analyses-etudes': + case 'expositions': + case 'outils-pedagogiques': + case 'recherches': + case 'revues': + return true; + default: + return false; + } +}