35 lines
873 B
PHP
35 lines
873 B
PHP
<?php
|
|
/*
|
|
Template Name: Front
|
|
*/
|
|
get_header(); ?>
|
|
|
|
|
|
|
|
<?php get_template_part( 'template-parts/home', 'announcement-main' ); ?>
|
|
|
|
<article>
|
|
<main>
|
|
<?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' ) );
|
|
?>
|
|
</main>
|
|
</article>
|
|
|
|
<?php get_template_part( 'template-parts/home', 'announcement-middle' ); ?>
|
|
|
|
<article>
|
|
<main>
|
|
<?php
|
|
//https://developer.wordpress.org/reference/functions/get_template_part/#comment-4130
|
|
get_template_part( 'template-parts/section', 'categoryposts', array('category_name' => 'featured-artworks', 'post_per_page' => '3' ) );
|
|
?>
|
|
</main>
|
|
</article>
|
|
|
|
|
|
<?php get_template_part( 'template-parts/home', 'announcement-bottom' ); ?>
|
|
|
|
<?php get_footer();
|