| Server IP : 91.134.83.25 / Your IP : 216.73.216.137 Web Server : Apache System : Linux plesk.serveurapc.fr 6.1.0-51-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.177-1 (2026-07-16) x86_64 User : marrasse ( 10057) PHP Version : 8.2.32 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/as-cp.fr/wpascp/wp-content/themes/agencepointcom/ |
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 Agence_Point_Com
*/
get_header();
?>
<div class = "archive-page size-site">
<div class = "page-head">
<h1 class = "page-title">
<?php echo get_the_title( get_option('page_for_posts') ); ?>
</h1>
<?php if(get_field('sous_titre')): ?>
<h2 class = "page-subtitle">
<?php the_field('sous_titre'); ?>
</h2>
<?php endif; ?>
</div>
<main id="main" class="site-main">
<div class="entry-content">
<div class="conteneur_sidebar">
<?php
get_sidebar();
?>
</div>
<div class="conteneur_actus content-archive-posts">
<?php
if ( have_posts() ) :
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', 'archive' );
endwhile;
endif;
?>
<?php
include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
if ( is_plugin_active( 'wp-pagenavi/wp-pagenavi.php' ) ) {
wp_pagenavi();
}
?>
</div>
</div>
</main><!-- #main -->
</div><!-- #primary -->
<?php
get_footer();