| Server IP : 208.109.34.209 / Your IP : 216.73.217.134 Web Server : Apache System : Linux 209.34.109.208.host.secureserver.net 5.14.0-687.29.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jul 23 16:18:48 EDT 2026 x86_64 User : oceanproject ( 1012) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/oceanproject/public_html/wp-content/themes/reda/ |
Upload File : |
<?php
$class = '';
if(is_active_sidebar('sidebar-1') && function_exists('get_field') && get_field('reda_archive_sidebar', 'option') == true) {
$class = 'medium-centered large-uncentered';
} else {
$class = 'small-centered';
}
get_header(); ?>
<div class="blog blog-classic page-padding-top page-bg-color">
<div class="row">
<div class="small-12 medium-10 large-8 <?php echo esc_attr($class); ?> columns blog-content">
<?php if ( have_posts() ) : ?>
<header class="page-header">
<?php
the_archive_title( '<h3 class="page-title">', '</h3>' );
the_archive_description( '<div class="taxonomy-description">', '</div>' );
?>
</header>
<?php endif; ?>
<?php if ( have_posts() ) : ?>
<div class="blog-content-classic">
<?php while ( have_posts() ) : the_post();
get_template_part( 'template-parts/post/content', get_post_format() );
endwhile; ?>
</div>
<?php the_posts_pagination(array(
'prev_text' => '<div class="previous-page arrow-prev"><i class="fa fa-angle-left"></i></div>',
'next_text' => '<div class="next-page arrow-next"><i class="fa fa-angle-right"></i></div>',
)); ?>
<?php else :
endif; ?>
</div>
<?php if(is_active_sidebar('sidebar-1') && function_exists('get_field') && get_field('reda_archive_sidebar', 'option') == true) : ?>
<div class="small-12 medium-10 medium-offset-1 large-offset-0 large-4 end columns">
<?php get_sidebar(); ?>
</div>
<?php endif; ?>
</div>
</div>
<?php get_footer();