<!-- Recent Posts Start -->
<div class="recent-area pt-50 pb-50 <?php echo e($shortcode->background_style); ?>">
    <div class="container">
        <div class="row">
            <div class="col-lg-8 col-md-12">
                <div class="widget-header position-relative mb-30">
                    <h5 class="widget-title mb-30 text-uppercase color1 font-weight-ultra"><?php echo clean($shortcode->title); ?></h5>
                    <div class="letter-background"><?php echo clean($shortcode->subtitle); ?></div>
                </div>
                <div class="loop-list">
                    <?php $__currentLoopData = get_recent_posts($shortcode->limit ?? 4); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $post): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <article class="row mb-50">
                            <?php echo Theme::partial('components.post-card-2-block', ['post' => $post]); ?>

                        </article>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
            </div>

            <div class="col-lg-4 col-md-12">
                <div class="widget-area">
                    <?php if($shortcode->show_follow_us_section): ?>
                        <?php echo Theme::partial('components.sidebar-social'); ?>

                    <?php endif; ?>

                    <div class="sidebar-widget widget-taber mb-30">
                        <div class="widget-taber-content background-white pt-30 pb-30 pl-30 pr-30 border-radius-5">
                            <nav class="tab-nav float-none mb-20">
                                <div class="nav nav-tabs" id="nav-tab" role="tablist">
                                    <a class="nav-item nav-link text-uppercase active" id="nav-popular-tab"
                                       data-toggle="tab"
                                       href="#nav-popular" role="tab" aria-controls="nav-popular"
                                       aria-selected="true"><?php echo e(__('Popular')); ?></a>
                                    <a class="nav-item nav-link text-uppercase" id="nav-trending-tab" data-toggle="tab"
                                       href="#nav-trending" role="tab" aria-controls="nav-trending"
                                       aria-selected="false"><?php echo e(__('Feature')); ?></a>

                                    <?php if(is_plugin_active('comment')): ?>
                                        <a class="nav-item nav-link text-uppercase" id="nav-comment-tab"
                                           data-toggle="tab"
                                           href="#nav-comment" role="tab" aria-controls="nav-comment"
                                           aria-selected="false"><?php echo e(__('Comments')); ?></a>
                                    <?php endif; ?>
                                </div>
                            </nav>

                            <div class="tab-content">
                                <!--Tab Popular-->
                                <div class="tab-pane fade show active" id="nav-popular" role="tabpanel"
                                     aria-labelledby="nav-popular-tab">
                                    <div class="post-block-list post-module-1">
                                        <ul class="list-post">
                                            <?php $__currentLoopData = get_popular_posts($shortcode->tab_post_limit ?? 4); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $post): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                <li class="mb-30">
                                                    <?php echo Theme::partial('components.post-card-2-block-simple', ['post' => $post]); ?>

                                                </li>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        </ul>
                                    </div>
                                </div>

                                <!--Tab Trending-->
                                <div class="tab-pane fade" id="nav-trending" role="tabpanel"
                                     aria-labelledby="nav-trending-tab">
                                    <div class="row">
                                        <?php $__currentLoopData = get_featured_posts($shortcode->tab_post_limit ?? 4); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $post): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <div class="col-md-6 col-sm-6 sm-grid-content mb-30">
                                                <?php echo Theme::partial('components.post-card-1-block-simple', ['post' => $post]); ?>

                                            </div>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </div>
                                </div>

                                <!--Tab Comments-->
                                <?php if(is_plugin_active('comment')): ?>
                                    <div class="tab-pane fade" id="nav-comment" role="tabpanel"
                                         aria-labelledby="nav-comment-tab">
                                        <div class="post-block-list post-module-1">
                                            <ul class="list-post">
                                                <?php $__currentLoopData = get_recent_comment_posts($shortcode->tab_post_limit ?? 4); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $post): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                    <li class="mb-30">
                                                        <?php echo Theme::partial('components.post-card-2-block-simple', ['post' => $post]); ?>

                                                    </li>
                                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                            </ul>
                                        </div>
                                    </div>
                                <?php endif; ?>
                            </div>
                        </div>
                    </div>

                    <?php if($shortcode->ads_location): ?>
                        <?php echo display_ad($shortcode->ads_location, ['class' => 'sidebar-widget mb-30 text-center']); ?>

                    <?php endif; ?>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- Recent Posts End -->
<?php /**PATH C:\Users\Admin\Documents\UltraNews v4.0.0 Nulled\UltraNews v4.0.0 Nulled\ultra-news\platform\themes/ultra/partials/shortcodes/recent-posts.blade.php ENDPATH**/ ?>