removed pagination in single

This commit is contained in:
jorge-vitrubio 2022-12-29 10:48:59 +01:00
parent b25dce83d1
commit cdea87ed9e
1 changed files with 6 additions and 6 deletions

View File

@ -18,12 +18,12 @@ get_header();
get_template_part( 'template-parts/content', get_post_type() );
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>',
)
);
//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>',
// )
//);
// If comments are open or we have at least one comment, load up the comment template.
if ( comments_open() || get_comments_number() ) :