| Server IP : 217.160.0.141 / Your IP : 216.73.217.7 Web Server : Apache System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux User : p8818224 ( 2623854) PHP Version : 8.2.35 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /homepages/12/d42428087/htdocs/wp-content/themes/archus/ |
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 Archus
*/
get_header();
do_action('archus-theme/site/site-content-before', 'index'); ?>
<div <?php archus_content_class() ?>>
<div class="row">
<?php do_action('archus-theme/site/primary-before', 'index'); ?>
<div id="primary" <?php archus_primary_content_class(); ?>>
<?php do_action('archus-theme/site/main-before', 'index'); ?>
<main id="main" class="site-main"><?php
if (have_posts()) :
if (is_home() && !is_front_page()) : ?>
<header>
<h1 class="page-title screen-reader-text"><?php single_post_title(); ?></h1>
</header>
<?php endif;
archus_theme()->do_location('archive', 'template-parts/posts-loop');
else :
get_template_part('template-parts/content', 'none');
endif;
?>
</main><!-- #main -->
<?php do_action('archus-theme/site/main-after', 'index'); ?>
</div><!-- #primary -->
<?php do_action('archus-theme/site/primary-after', 'index'); ?>
<?php
get_sidebar(); // Loads the sidebar.php template.
?>
</div>
</div>
<?php do_action('archus-theme/site/site-content-after', 'index');
get_footer();