Файловый менеджер - Редактировать - /home/infrafs/bike/wp-content/themes/colibri-wp/inc/src/Components/MainContent/PostLoop.php
Назад
<?php namespace ColibriWP\Theme\Components\MainContent; use ColibriWP\Theme\Core\ComponentBase; use ColibriWP\Theme\View; class PostLoop extends ComponentBase { protected static function getOptions() { return array(); } public function renderContent() { if ( have_posts() ): while ( have_posts() ): the_post(); View::partial( "main", "item_template", array( "component" => $this, ) ); endwhile; else: View::partial( 'main', '404', array( "component" => $this, ) ); endif; } }
| ver. 1.4 |
Github
|
.
| PHP 8.2.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка