From c1ee5717bd1a7b7fd92ff8f4a90fc54a1403f3d6 Mon Sep 17 00:00:00 2001 From: Ben Word Date: Tue, 10 Apr 2012 21:20:44 -0600 Subject: [PATCH] Fix #353 - Add conditional feed link, thanks @zslabs --- header.php | 2 -- inc/roots-actions.php | 8 ++++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/header.php b/header.php index b38ea7b..eb2e6c4 100644 --- a/header.php +++ b/header.php @@ -10,8 +10,6 @@ - - diff --git a/inc/roots-actions.php b/inc/roots-actions.php index 830a415..7204a3b 100644 --- a/inc/roots-actions.php +++ b/inc/roots-actions.php @@ -1,5 +1,13 @@ publish > 0) { + echo "\n\t\n"; + } +} + +add_action('roots_head', 'roots_feed_link'); + function roots_google_analytics() { $roots_google_analytics_id = GOOGLE_ANALYTICS_ID; if ($roots_google_analytics_id !== '') {