correct count number
This commit is contained in:
@@ -54,7 +54,7 @@ $posts = get_posts( array(
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?if (count($posts > 0)):?>
|
<?if (count($posts) > 0):?>
|
||||||
|
|
||||||
<div class="numbers-year-title"><?=$numbers_year?></div>
|
<div class="numbers-year-title"><?=$numbers_year?></div>
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
ini_set('display_errors','on');
|
ini_set('display_errors','off');
|
||||||
error_reporting(E_ALL);
|
error_reporting(E_ALL);
|
||||||
|
|
||||||
require '/vhosts/beta/wp-load.php';
|
require '/vhosts/beta/wp-load.php';
|
||||||
|
|||||||
Reference in New Issue
Block a user