diff --git a/includes/utilities.php b/includes/utilities.php index f697a24..73b2bb0 100644 --- a/includes/utilities.php +++ b/includes/utilities.php @@ -26,3 +26,29 @@ function test() return $tags; } + + +function get_archive_page_icon_html($post_type) +{ + switch ($post_type) { + case 'analyses-etudes': + return 'Analyses et études'; + case 'revues': + return 'Revues'; + default: + return ''; + } +} + + +function get_archive_page_subtitle_html($post_type) +{ + switch ($post_type) { + case 'analyses-etudes': + return 'Accédez à nos recherches et publications thématiques.'; + case 'revues': + return 'Accédez à nos revues et publications '; + default: + return ''; + } +}