HEX
Server: nginx/1.24.0
System: Linux DGT-WORDPRESS-VM-SERVER 6.14.0-1014-azure #14~24.04.1-Ubuntu SMP Fri Oct 3 20:52:11 UTC 2025 x86_64
User: ubuntu (1000)
PHP: 8.4.12
Disabled: NONE
Upload Files
File: /mnt/data/doccure-wp-market/wp-content/themes/doccure/archive-download.php
<?php
/**
 * The template for displaying download archive pages
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package doccure
 */
get_header();
$download_style = doccure_get_option('download-style', 'style-1');
?>
    <div class="section section-padding">
        <div class="container">
            <div class="row">
                <div id="primary" class="content-area <?php echo esc_attr(doccure_grid_column_classes()); ?>">
                    <main id="main" class="site-main">
                        <?php if (have_posts()) : ?>
                            <div class="row">
                                <?php
                                $edd_count = 1;
                                /* Start the Loop */
                                while (have_posts()) :
                                    the_post();
                                    doccure_get_download_style($download_style, '', '', $edd_count);
                                  $edd_count++;
                                endwhile;
                                ?>
                            </div>
                            <?php if (get_next_posts_link() != '' || get_previous_posts_link() != '') { ?>
                                <div class="post-pagination">
                                    <?php the_posts_pagination(); ?>
                                </div>
                            <?php } ?>
                        <?php
                        else :
                            get_template_part('template-parts/content', 'none');
                        endif;
                        ?>
                    </main><!-- #main -->
                </div><!-- #primary -->
                <?php get_sidebar(); ?>
            </div>
        </div>
    </div>
<?php
get_footer();