diff --git a/includes/utilities.php b/includes/utilities.php index 9cc87bf..f9acee8 100644 --- a/includes/utilities.php +++ b/includes/utilities.php @@ -46,7 +46,11 @@ function get_archive_page_icon_html($post_type) } } - +function page_has_subtitle($page_id) +{ + $has_page_subtitle = get_field('page_subtitle', $page_id) ? true : false; + return $has_page_subtitle; +} function get_archive_page_subtitle_html($post_type) { switch ($post_type) {