<?php 
/**
 * The template for displaying archive pages.
 *
 * Learn more: http://codex.wordpress.org/Template_Hierarchy
 *
 * @package forexn
 */
get_header(); 
forexn_breadcrumbs(); ?>

<!-- page  -->
<section class="sp-70-100 page-section">
    <div class="container">
        <div class="row">
            <div class="col-lg-8 col-md-12">
                <?php if(have_posts()) : ?>
                  <?php while(have_posts()) : the_post(); ?>
                      <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
                         <?php get_template_part('content-parts/content', get_post_format()); ?>
                      </div>
                  <?php endwhile; ?>
                <?php else : 
                    get_template_part( 'content-parts/content', 'none' );
                endif; ?>                 

                <div class="pagi d-flex justify-content-center">
                    <ul class="meta ">
                        <?php the_posts_pagination( array(
                            'prev_text' => __('Prev','forexn'),
                            'next_text' => __('Next','forexn')
                            )); 
                        ?>
                    </ul>
                </div>
            </div>
              <div class="col-lg-4 order-lg-1">
                <aside class="sidebar">
                  <?php get_sidebar(); ?>
                </aside>
              </div>           
        </div>  
    </div>
</section>
<!-- page ends  -->

<?php get_footer(); ?>