add coauthor endpoint

This commit is contained in:
Profile Profile
2026-03-02 17:25:21 +03:00
parent 485913ca23
commit 2a88b55732
4 changed files with 110 additions and 69 deletions

View File

@@ -134,9 +134,13 @@
<ul class="news__list__top">
<?php if($top_query->have_posts()): ?>
<?php
$nntop = 0;
if($top_query->have_posts()): ?>
<?php while ($top_query->have_posts()): ?>
<?php while ($top_query->have_posts()):
$nntop++;
if ($nntop > 10){ break;}?>
<?php $top_query->the_post(); ?>