From bd01603e9e669e48aaf063f8913707cd9abcc288 Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Tue, 21 Apr 2015 15:33:33 +0100 Subject: [PATCH] Add groups taxonomy to JSON download. Close #1 --- includes/sites.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/sites.php b/includes/sites.php index decdec4..6850356 100644 --- a/includes/sites.php +++ b/includes/sites.php @@ -39,6 +39,7 @@ if ( $query->have_posts() ) : 'country' => get_the_terms( get_the_ID(), 'countries' ), 'council' => get_the_terms( get_the_ID(), 'councils' ), 'platform' => get_the_terms( get_the_ID(), 'platforms' ), + 'group' => get_the_terms( get_the_ID(), 'groups' ) ); $sites[]= $row;