2022-10-24 23:46:53 +02:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* The template for displaying all single posts
|
|
|
|
*
|
|
|
|
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
|
|
|
|
*
|
|
|
|
* @package Oficina_de_Suport_theme
|
|
|
|
*/
|
|
|
|
|
|
|
|
get_header();
|
|
|
|
?>
|
|
|
|
|
|
|
|
<main id="primary" class="site-main">
|
|
|
|
|
|
|
|
<?php
|
|
|
|
while ( have_posts() ) :
|
|
|
|
the_post();
|
|
|
|
|
|
|
|
get_template_part( 'template-parts/content', get_post_type() );
|
|
|
|
|
2022-12-29 10:48:59 +01:00
|
|
|
//the_post_navigation(
|
|
|
|
// array(
|
|
|
|
// 'prev_text' => '<span class="nav-subtitle">' . esc_html__( 'Anterior:', 'ofisuport' ) . '</span> <span class="nav-title">%title</span>',
|
|
|
|
// 'next_text' => '<span class="nav-subtitle">' . esc_html__( 'Següent:', 'ofisuport' ) . '</span> <span class="nav-title">%title</span>',
|
|
|
|
// )
|
|
|
|
//);
|
2022-10-24 23:46:53 +02:00
|
|
|
|
|
|
|
// If comments are open or we have at least one comment, load up the comment template.
|
|
|
|
if ( comments_open() || get_comments_number() ) :
|
2022-12-24 18:44:49 +01:00
|
|
|
// comments_template();
|
2022-10-24 23:46:53 +02:00
|
|
|
endif;
|
|
|
|
|
|
|
|
endwhile; // End of the loop.
|
|
|
|
?>
|
|
|
|
|
|
|
|
</main><!-- #main -->
|
|
|
|
|
|
|
|
<?php
|
|
|
|
get_sidebar();
|
|
|
|
get_footer();
|