Server IP : 66.29.132.124 / Your IP : 3.145.152.49 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/tacafoundation.org/wp-content/themes/charite/ |
Upload File : |
<?php /** * The main template file * * This is the most generic template file in a WordPress theme * and one of the two required files for a theme (the other being style.css). * It is used to display a page when nothing more specific matches a query. * E.g., it puts together the home page when no home.php file exists. * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/ * * @package charite */ get_header(); $charite_layout = charite_page_layout_options('single_page'); ?> <div id="primary" class="content-area charite-search-page"> <main id="main" class="site-main"> <div class="blog-area blog-clasic-area py-120"> <div class="container"> <div class="row gap-60"> <div class="<?php echo esc_attr($charite_layout['main_content_class']); ?>"> <?php if (have_posts()) : /* Start the Loop */ while (have_posts()) : the_post(); /* * 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()); endwhile; ?> <div class="pagination"> <?php charite_pagination(); ?> </div> <?php else : get_template_part('template-parts/content', 'none'); endif; ?> </div> <?php if ($charite_layout['sidebar_enable']) : ?> <div class="<?php echo esc_attr($charite_layout['sidebar_class']); ?>"> <?php get_sidebar(); ?> </div> <?php endif; ?> </div> </div> </div> </main><!-- #main --> </div><!-- #primary --> <?php get_footer();