have_posts() ) : $query->the_post();
/*
* Include the post format-specific template for the content. If you want to
* use this in a child theme, then include a file called called content-___.php
* (where ___ is the post format) and that will be used instead.
*/
if ( get_post_format() && ! is_sticky()):
get_template_part( 'template-parts/content', get_post_format() );
endif;
endwhile;
wp_reset_postdata();
?>
__( 'Previous page', 'abedul' ),
'next_text' => __( 'Next page', 'abedul' ),
'before_page_number' => '' . __( 'Page', 'abedul' ) . ' ',
) );
else :
// If no content, include the "No posts found" template.
get_template_part( 'template-parts/content', 'none' );
endif;
?>