| Server IP : 188.114.97.2 / Your IP : 104.23.243.200 Web Server : Apache/2.4.59 (Debian) System : Linux EDL-STRETCH 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64 User : edlftp ( 1002) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/nicolasj/www/blog.ecoledelangues.be/wp-content/themes/metro/ |
Upload File : |
<?php
get_header(); ?>
<div class="block-6 no-mar content-with-sidebar">
<div class="block-6 bg-color-main">
<div class="block-inner">
<div class="tbl-bottom">
<div class="tbl-td">
<h1 class="page-h1"><?php echo om_get_archive_page_title(); ?></h1>
</div>
<?php if(get_option(OM_THEME_PREFIX . 'show_breadcrumbs') == 'true') { ?>
<div class="tbl-td">
<?php om_breadcrumbs(get_option(OM_THEME_PREFIX . 'breadcrumbs_caption')) ?>
</div>
<?php } ?>
</div>
<div class="clear page-h1-divider"></div>
<?php if (have_posts()) : ?>
<?php $i=0; ?>
<?php while (have_posts()) : the_post(); ?>
<?php
if($i)
echo '<hr />';
$format = get_post_format();
if( false === $format )
$format = 'standard';
get_template_part( 'includes/post-type-' . $format );
$i++;
?>
<?php endwhile; ?>
<?php
$nav_prev=get_previous_posts_link(__('Newer Entries', 'om_theme'));
$nav_next=get_next_posts_link(__('Older Entries', 'om_theme'));
if( $nav_prev || $nav_next ) {
?>
<div class="navigation-prev-next">
<?php if($nav_prev){?><div class="navigation-prev"><?php echo $nav_prev; ?></div><?php } ?>
<?php if($nav_next){?><div class="navigation-next"><?php echo $nav_next; ?></div><?php } ?>
<div class="clear"></div>
</div>
<?php
}
?>
<?php else :
echo '<h2>';
if ( is_category() ) {
printf(__('Sorry, but there aren\'t any posts in the %s category yet.', 'om_theme'), single_cat_title('',false));
} elseif ( is_tag() ) {
printf(__('Sorry, but there aren\'t any posts tagged %s yet.', 'om_theme'), single_tag_title('',false));
} elseif ( is_date() ) {
echo(__('Sorry, but there aren\'t any posts with this date.', 'om_theme'));
} else {
echo(__('No posts found.', 'om_theme'));
}
echo '</h2>';
endif; ?>
</div>
</div>
</div>
<div class="block-3 no-mar sidebar">
<?php
get_sidebar();
?>
</div>
<!-- /Content -->
<div class="clear anti-mar"> </div>
<?php get_footer(); ?>