Файловый менеджер - Редактировать - /var/www/vhosts/allit.dev1.mndrn.cloud/wp-content/themes/allit/part-loop.php
Назад
<?php if( have_posts() ) : ?> <?php while( have_posts() ) : the_post(); ?> <article <?php post_class() ?>> <?php if( has_post_thumbnail() ) : ?> <?php the_post_thumbnail(is_single() ? 'large' : 'medium') ?> <?php endif; ?> <?php the_title( is_single() ? '<h1>' : '<h2>', is_single() ? '</h1>' : '</h2>' ) ?> <?php is_single() ? the_content() : the_excerpt(); ?> <a href="<?php the_permalink() ?>"><?php the_permalink() ?></a> </article> <?php endwhile; ?> <div class="pages"> <?php echo paginate_links([ 'type' => 'list', 'end_size' => 2, 'mid_size' => 2, 'prev_text' => __('Prev'), 'next_text' => __('Next'), ]); ?> </div> <?php endif; ?>
| ver. 1.4 |
Github
|
.
| PHP 8.2.5 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка