add files
This commit is contained in:
22
front-page.php
Executable file
22
front-page.php
Executable file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
defined( 'ABSPATH' ) || exit;
|
||||
get_header(); ?>
|
||||
|
||||
<main class="main">
|
||||
<div class="maintitle">
|
||||
<h1>Новости спорта</h1>
|
||||
<div class="h-telega"><a href="https://t.me/sportpressa" target="_blank">@sportpressa</a></div>
|
||||
</div>
|
||||
|
||||
|
||||
<? // Вызываем подшаблон для кастомного запроса
|
||||
get_template_part('template-parts/content', 'cards');
|
||||
?>
|
||||
</main>
|
||||
|
||||
|
||||
<?php get_template_part('sidebar');?>
|
||||
|
||||
|
||||
|
||||
<?php get_footer(); ?>
|
||||
Reference in New Issue
Block a user