| Server IP : 188.114.97.2 / Your IP : 104.23.197.231 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
/*
Template Name: Fill-width Page
*/
get_header(); ?>
<div class="block-full bg-color-main content-without-sidebar">
<div class="block-inner">
<?php
if ( current_user_can( 'edit_post', $post->ID ) )
edit_post_link( __('edit', 'om_theme'), '<div class="edit-post-link">[', ']</div>' );
?>
<div class="tbl-bottom">
<div class="tbl-td">
<h1 class="page-h1"><?php the_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 echo get_option(OM_THEME_PREFIX . 'code_after_page_h1'); ?>
<?php while (have_posts()) : the_post(); ?>
<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
<?php the_content(); ?>
</div>
<?php endwhile; ?>
<?php echo get_option(OM_THEME_PREFIX . 'code_after_page_content'); ?>
<?php wp_link_pages(array('before' => '<div class="navigation-pages"><span class="title">'.__('Pages:', 'om_theme').'</span>', 'after' => '</div>', 'pagelink' => '<span class="item">%</span>', 'next_or_number' => 'number')); ?>
</div>
</div>
<?php
$fb_comments=false;
if(function_exists('om_facebook_comments') && get_option(OM_THEME_PREFIX . 'fb_comments_pages') == 'true') {
if(get_option(OM_THEME_PREFIX . 'fb_comments_position') == 'after')
$fb_comments='after';
else
$fb_comments='before';
}
?>
<?php if($fb_comments == 'before') { om_facebook_comments(); } ?>
<?php if(get_option(OM_THEME_PREFIX . 'hide_comments_pages') != 'true') : ?>
<?php comments_template('',true); ?>
<?php endif; ?>
<?php if($fb_comments == 'after') { om_facebook_comments(); } ?>
<!-- /Content -->
<div class="clear anti-mar"> </div>
<?php get_footer(); ?>