Browse Source

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

master
Adrian Short 9 years ago
parent
commit
1f99ccafcc
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      includes/map.php
  2. +1
    -1
      includes/sites.php

+ 1
- 0
includes/map.php View File

@@ -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 View File

@@ -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…
Cancel
Save