File "Loop-20250123173656.php"

Full Path: /home/pumpbmko/public_html/themes/momota/lib/kubio-themebase/src/Components/MainContent/Loop-20250123173656.php
File size: 621 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace Kubio\Theme\Components\MainContent;

use ColibriWP\Theme\Core\ComponentBase;
use ColibriWP\Theme\View;

class Loop extends \ColibriWP\Theme\Components\MainContent\Loop {

	protected static function getOptions() {
		return array();
	}

	public function renderContent( $parameters = array() ) {
		if ( have_posts() ) :
			while ( have_posts() ) :
				the_post();

				View::partial(
					'content',
					'item_template',
					array(
						'component' => $this,
					)
				);

			endwhile;
		else :
			View::partial(
				'content',
				'404',
				array(
					'component' => $this,
				)
			);
		endif;
	}
}