| Server IP : 65.1.209.187 / Your IP : 216.73.216.144 Web Server : nginx/1.24.0 System : Linux ip-172-31-5-206 6.14.0-1015-aws #15~24.04.1-Ubuntu SMP Tue Sep 23 22:44:48 UTC 2025 x86_64 User : ( 1001) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/drjunior_wordpress/wp-content/themes/drjunior/ |
Upload File : |
<?php
/**
* The main template file
*
* @package Dr Junior
*/
get_header();
?>
<main id="main" class="site-main">
<div class="d-container">
<?php
if (have_posts()) :
while (have_posts()) : the_post();
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<h1 class="entry-title">
<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
</h1>
<div class="entry-content">
<?php the_excerpt(); ?>
</div>
</article>
<?php
endwhile;
// Pagination
the_posts_pagination(array(
'mid_size' => 2,
'prev_text' => __('Previous', 'drjunior'),
'next_text' => __('Next', 'drjunior'),
));
else :
?>
<div class="no-results">
<h1><?php esc_html_e('Nothing Found', 'drjunior'); ?></h1>
<p><?php esc_html_e('It seems we can\'t find what you\'re looking for.', 'drjunior'); ?></p>
</div>
<?php
endif;
?>
</div>
</main>
<?php
get_footer();