correct count number

This commit is contained in:
2021-11-24 22:52:47 +03:00
parent 47499bbbda
commit 2026095ca1
2 changed files with 2 additions and 2 deletions

View File

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

View File

@@ -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';