Exemple #1
0
	<div class="row">
		<div class="col-sm-12">
			<div id="post-<?php 
the_ID();
?>
" <?php 
post_class("page-article page-content clearfix");
?>
>
				<?php 
the_post();
the_content();
wp_link_pages();
?>
			</div>

			<?php 
ffTemporaryQueryHolder::setQuery('comments-form', ffThemeOptions::getQuery('translation'));
//   $query->get('comments-form'));
ffTemporaryQueryHolder::setQuery('comments-list', ffThemeOptions::getQuery('translation'));
//$query->get('comments-list'));
comments_template();
ffTemporaryQueryHolder::deleteQuery('comments-form');
ffTemporaryQueryHolder::deleteQuery('comments-list');
?>
		</div>
	</div>
</div>

<?php 
get_footer();
							<p>
								<?php 
    echo ff_wp_kses($postMetaGetter->getPostAuthorDescription());
    ?>
							</p>

						</div>
						<!-- blog-article-author-details -->

					</div><!-- blog-article-author -->
				<?php 
}
?>
			<?php 
ffTemporaryQueryHolder::setQuery('comments-form', $query->get('comments-form'));
ffTemporaryQueryHolder::setQuery('comments-list', $query->get('comments-list'));
comments_template();
ffTemporaryQueryHolder::deleteQuery('comments-form');
ffTemporaryQueryHolder::deleteQuery('comments-list');
?>

		</div><!-- col -->
		<?php 
if ($query->get('sidebar') != 'none') {
    echo '<div class="col-sm-3';
    if ($query->get('sidebar') == 'left') {
        echo ' pull-left';
    }
    echo '">';
    if (is_active_sidebar('sidebar-content')) {
        dynamic_sidebar('sidebar-content');