2022-10-24 23:46:53 +02:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* The template for displaying all pages
|
|
|
|
*
|
|
|
|
* This is the template that displays all pages by default.
|
|
|
|
* Please note that this is the WordPress construct of pages
|
|
|
|
* and that other 'pages' on your WordPress site may use a
|
|
|
|
* different template.
|
|
|
|
*
|
|
|
|
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
|
|
|
|
*
|
|
|
|
* @package Oficina_de_Suport_theme
|
|
|
|
*/
|
|
|
|
|
|
|
|
get_header();
|
|
|
|
?>
|
|
|
|
|
|
|
|
<main id="primary" class="site-main">
|
|
|
|
<?php
|
2022-12-23 18:47:19 +01:00
|
|
|
if ( have_posts() ) :
|
2022-12-28 21:56:26 +01:00
|
|
|
while ( have_posts() ) :
|
|
|
|
the_post();
|
2022-10-24 23:46:53 +02:00
|
|
|
|
2022-12-28 21:56:26 +01:00
|
|
|
get_template_part( 'template-parts/content', 'page' );
|
2022-10-24 23:46:53 +02:00
|
|
|
|
2022-12-28 21:56:26 +01:00
|
|
|
endwhile; // End of the loop.
|
|
|
|
endif; // End if have_post.
|
2022-10-24 23:46:53 +02:00
|
|
|
?>
|
|
|
|
|
|
|
|
</main><!-- #main -->
|
2022-12-23 08:04:35 +01:00
|
|
|
<?php
|
|
|
|
if ( is_front_page() ) :
|
2022-12-28 21:56:26 +01:00
|
|
|
get_template_part( 'template-parts/section', 'featured' );
|
2022-12-23 08:04:35 +01:00
|
|
|
endif;
|
|
|
|
?>
|
2022-10-24 23:46:53 +02:00
|
|
|
|
|
|
|
<?php
|
|
|
|
get_sidebar();
|
|
|
|
get_footer();
|