diff --git a/archive-spravochniki.php b/archive-spravochniki.php index 4c00a03..f0291c7 100644 --- a/archive-spravochniki.php +++ b/archive-spravochniki.php @@ -1,4 +1,5 @@ - + +
@@ -8,21 +9,22 @@ $title = !empty($category) ? $category[0]->name : get_the_title(); ?>

+

'post', + 'post_type' => 'spravochniki', 'posts_per_page' => 10, 'paged' => $paged ); $query = new WP_Query($args); ?> - $wp_query]); ?> + $wp_query]); ?>
- +
- + diff --git a/archive.php b/archive.php index 6a5517a..d6a2b39 100644 --- a/archive.php +++ b/archive.php @@ -5,8 +5,18 @@ error_reporting(E_ALL); ini_set('display_errors', 1); ini_set('display_startup_errors', 1); + // Ваш код... ?> + +'; +print_r($qo); +echo ''; +?> + +
diff --git a/content-advertiser.php b/content-advertiser.php index 3fc827d..d9a77d3 100644 --- a/content-advertiser.php +++ b/content-advertiser.php @@ -14,7 +14,7 @@ $extensionToClassMap = [
-