diff --git a/lib/utils.php b/lib/utils.php index 8449d20..233160e 100644 --- a/lib/utils.php +++ b/lib/utils.php @@ -68,8 +68,3 @@ function is_element_empty($element) { $element = trim($element); return empty($element) ? false : true; } - -function has_posts() { - $count = wp_count_posts('post'); - return ($count->publish > 0) ? true : false; -} diff --git a/templates/head.php b/templates/head.php index 028374d..c3ffe91 100644 --- a/templates/head.php +++ b/templates/head.php @@ -15,7 +15,7 @@ - +