' . esc_html( get_the_title() ) . '';
the_content();
// If comments are open or there is at least one comment, load up the comment template.
if ( comments_open() || get_comments_number() ) {
comments_template();
}
echo '
';
}
// Custom pagination
$post_pages = paginate_links(array(
'echo' => false,
'type' => 'array',
'prev_text' => sprintf(
'%s %s',
is_rtl() ? esc_html__( '>', 'idsk-template' ) : esc_html__( '<', 'idsk-template' ),
esc_html__( 'Staršie články', 'idsk-template' )
),
'next_text' => sprintf(
'%s %s',
esc_html__( 'Novšie články', 'idsk-template' ),
is_rtl() ? esc_html__( '<', 'idsk-template' ) : esc_html__( '>', 'idsk-template' )
),
));
if( is_array( $post_pages ) ) {
$output = '';
foreach ($post_pages as $post_page) {
$customPage = str_replace('