2021-04-27 22:21:26 +02:00
|
|
|
<?php
|
|
|
|
/*
|
|
|
|
Template Name: Front
|
|
|
|
*/
|
|
|
|
get_header(); ?>
|
|
|
|
|
|
|
|
|
2022-04-11 03:31:19 +02:00
|
|
|
|
2022-03-21 12:53:52 +01:00
|
|
|
<?php get_template_part( 'template-parts/home', 'announcement-main' ); ?>
|
2021-04-27 22:21:26 +02:00
|
|
|
|
2021-04-29 11:47:25 +02:00
|
|
|
<article>
|
2022-03-23 21:31:13 +01:00
|
|
|
<main>
|
2022-04-11 03:31:19 +02:00
|
|
|
<?php
|
|
|
|
//https://developer.wordpress.org/reference/functions/get_template_part/#comment-4130
|
|
|
|
get_template_part( 'template-parts/section', 'categoryposts', array('category_name' => 'news', 'post_per_page' => '3' ) );
|
2022-03-23 21:31:13 +01:00
|
|
|
?>
|
2021-04-29 11:47:25 +02:00
|
|
|
</main>
|
2022-03-17 14:14:25 +01:00
|
|
|
</article>
|
|
|
|
|
|
|
|
<?php get_template_part( 'template-parts/home', 'announcement-middle' ); ?>
|
|
|
|
|
2022-03-21 12:29:31 +01:00
|
|
|
<?php get_template_part( 'template-parts/home', 'announcement-last' ); ?>
|
2022-03-17 14:14:25 +01:00
|
|
|
|
2021-04-27 22:21:26 +02:00
|
|
|
<?php get_footer();
|