瀏覽代碼

Show dead sites on single-site map and in download data

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

+ 1
- 0
includes/map.php 查看文件

@@ -12,6 +12,7 @@ function talhyperlocal_map_shortcode( $id ) {

if ( $id ) {
$options['p'] = $id;
$options['post_status'] = array( 'publish', 'archive' );
}




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

@@ -8,7 +8,7 @@ require_once( '../../../../wp-load.php' );
$options = array(
'post_type' => 'site',
'posts_per_page' => -1, // -1 for all posts
'post_status' => 'publish',
'post_status' => array( 'publish', 'archive' ),
'orderby' => 'title',
'order' => 'ASC'
);


Loading…
取消
儲存