Hi @usmanansari,
Since the posts listing haven’t implemented in the magazine page template we have to implement it. The best way to do it is by creating a child theme and creating a custom page template for this.
I will insert the code for the custom page template here. However if you want the full child theme or help please contact me via email. – themezhut.com/contact/
<?php
/**
* Template Name: Custom Magazine Template
*
* Displays the Business Template of the theme.
*
* @package awaken
*/
get_header(); ?>
<div class="amt-area">
<?php
if( is_active_sidebar( 'magazine-1' ) ) {
// Calling the business page left section sidebar if it exists.
if ( !dynamic_sidebar( 'magazine-1' ) ):
endif;
}
?>
</div><!-- .amt-area -->
<div class="row">
<?php is_rtl() ? $rtl = 'awaken-rtl' : $rtl = ''; ?>
<div class="col-xs-12 col-sm-12 col-md-8 <?php echo $rtl ?>">
<?php
if( is_active_sidebar( 'magazine-2' ) ) {
// Calling the business page left section sidebar if it exists.
if ( !dynamic_sidebar( 'magazine-2' ) ):
endif;
}
?>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?php
$temp = $wp_query; $wp_query= null;
$wp_query = new WP_Query(); $wp_query->query('showposts=10' . '&paged='.$paged);
?>
<?php if ( $wp_query->have_posts() ) : ?>
<?php /* Start the Loop */
$counter = 0;
?>
<div class="row">
<?php while ( $wp_query->have_posts() ) : $wp_query->the_post(); ?>
<?php
/* Include the Post-Format-specific template for the content.
* If you want to override this in a child theme, then include a file
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
*/
get_template_part( 'content' );
?>
<?php
$counter++;
if ($counter % 2 == 0) {
echo '</div><div class="row">';
}
?>
<?php endwhile; ?>
<div class="col-xs-12 col-sm-12 col-md-12">
<?php awaken_pro_paging_nav(); ?>
</div>
</div><!-- .row -->
<?php else : ?>
<?php get_template_part( 'content', 'none' ); ?>
<?php endif; ?>
<?php wp_reset_postdata(); ?>
</main><!-- #main -->
</div><!-- #primary -->
</div><!-- .bootstrap-cols -->
<div class="col-xs-12 col-sm-6 col-md-4">
<?php get_sidebar(); ?>
</div><!-- .bootstrap-cols -->
</div><!-- .row -->
<?php get_footer(); ?>