+ banners_conf_display( 'mainbanner' ) ?>
diff --git a/blocks/card_post_id.php b/blocks/card_post_id.php index 8eb9609..00a079d 100644 --- a/blocks/card_post_id.php +++ b/blocks/card_post_id.php @@ -10,9 +10,9 @@ $curr_post = get_post( $id );?> ID) ) :?>
diff --git a/blocks/zakons.php b/blocks/zakons.php index 4858a96..ad87552 100644 --- a/blocks/zakons.php +++ b/blocks/zakons.php @@ -2,7 +2,7 @@ # три последних эвента -$posts = get_posts( array( +$zakon_posts = get_posts( array( 'numberposts' => 2, 'category' => 6, 'post_type' => 'post', @@ -11,24 +11,22 @@ $posts = get_posts( array( ) ); # вывод поста -if( $posts ):?> +if( $zakon_posts ):?>
-
-
-
+ banners_conf_display( 'vgnki_240x400' ) ?>
-
+ banners_conf_display( 'vgnki_240x200' ) ?>
-
-