瀏覽代碼

Add groups taxonomy to JSON download. Close #1

master
Adrian Short 9 年之前
父節點
當前提交
bd01603e9e
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      includes/sites.php

+ 1
- 0
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;


Loading…
取消
儲存