瀏覽代碼

Output custom field `url` as well as the permalink. Fix #7

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

+ 2
- 1
includes/sites.php 查看文件

@@ -26,7 +26,8 @@ if ( $query->have_posts() ) :

$row = array(
'title' => get_the_title(),
'url' => get_permalink(),
'permalink' => get_permalink(),
'url' => $meta['url'][0],
'feed_url' => $meta['feed_url'][0],
'date_created' => get_the_date("c"),
'date_modified' => get_the_modified_date("c"),


Loading…
取消
儲存