File "template-full-width.php"
Full Path: /home/ubunrgit/public_html/wp-content/themes/unicoach/template-full-width.php
File size: 1.03 KB
MIME-type: text/x-php
Charset: utf-8
<?php
defined('ABSPATH') || exit;
use Unicoach_Theme_Helper as Unicoach;
/**
* The Full-width template
*
* @package unicoach
* @since 1.0.0
*/
get_header();
the_post();
$sb = Unicoach::get_sidebar_data();
$container_class = $sb['container_class'] ?? '';
$row_class = $sb['row_class'] ?? '';
$column = $sb['column'] ?? '';
// Render
echo '<div class="wgl-container full-width', apply_filters('unicoach/container/class', $container_class), '">';
echo '<div class="row', apply_filters('unicoach/row/class', $row_class), '">';
echo '<div id="main-content" class="wgl_col-', apply_filters('unicoach/column/class', $column), '">';
the_content(esc_html__('Read more!', 'unicoach'));
// Pagination
wp_link_pages(Unicoach::pagination_wrapper());
if (comments_open() || get_comments_number()) {
comments_template();
}
echo '</div>';
if ($sb) {
Unicoach::render_sidebar($sb);
}
echo '</div>';
echo '</div>';
get_footer();