Server IP : 66.29.132.124 / Your IP : 52.14.255.122 Web Server : LiteSpeed System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : wavevlvu ( 1524) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/wavevlvu/cynthiaadediran.com/wp-content/themes/gerold/ |
Upload File : |
<?php /** * The template for displaying archive pages * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/ * * @package Gerold_Theme * @since Gerold 1.0.0 * @author ThemeJunction */ get_header(); $blog_column = is_active_sidebar('blog-sidebar') ? 8 : 12; ?> <div class="full-width tj-posts__area"> <div class="container"> <div class="row"> <div class="col-lg-<?php print esc_attr($blog_column); ?> "> <!-- post container --> <div class="tj-post__container"> <?php if (have_posts()) : ?> <?php /* Start the Loop */ while (have_posts()) : the_post(); ?> <?php /* * Include the Post-Type-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 Type name) and that will be used instead. */ get_template_part('template-parts/content', get_post_format()); ?> <?php endwhile; // pagination global $wp_query; $pages = $wp_query->max_num_pages; if ($pages > 1) { ?> <div class="tj__pagination"> <?php gerold_pagination('<i class="fal fa-arrow-left"></i>', '<i class="fal fa-arrow-right"></i>', '', ['class' => '']); ?> </div> <?php }; else : get_template_part('template-parts/content', 'none'); endif; ?> </div> <!-- !post container --> </div> <?php if (is_active_sidebar('blog-sidebar')) : ?> <!-- sidebar --> <div class="col-lg-4"> <aside class="tj-main__sidebar tj_main_sidebar"> <?php get_sidebar(); ?> </aside> </div> <!--!sidebar --> <?php endif; ?> </div> </div> </div> <?php get_footer();