<?php

/*
Template Name: Sidebar - Main - Sidebar
*/
ss_get_template_part('page');
Exemple #2
0
<?php

global $ss_framework;
ss_get_template_part('templates/page', 'header');
$alert_message = __('Sorry, but the page you were trying to view does not exist.', 'stachestack');
echo $ss_framework->alert($type = 'warning', $alert_message);
?>

<p><?php 
_e('It looks like this was the result of either:', 'stachestack');
?>
</p>
<ul>
	<li><?php 
_e('a mistyped address', 'stachestack');
?>
</li>
	<li><?php 
_e('an out-of-date link', 'stachestack');
?>
</li>
</ul>
<?php 
get_search_form();
Exemple #3
0
echo stachestack_title();
?>
</title>
	<h1 class="entry-title"><?php 
echo stachestack_title();
?>
</h1>
</header>

<?php 
do_action('stachestack_index_begin');
if (!have_posts()) {
    echo '<div class="alert alert-warning">' . __('Sorry, no results were found.', 'stachestack') . '</div>';
    get_search_form();
}
if (!has_action('stachestack_override_index_loop')) {
    while (have_posts()) {
        the_post();
        do_action('stachestack_in_loop_start');
        if (!has_action('stachestack_content_override')) {
            ss_get_template_part('templates/content', get_post_format());
        } else {
            do_action('stachestack_content_override');
        }
        do_action('stachestack_in_loop_end');
    }
} else {
    do_action('stachestack_override_index_loop');
}
do_action('stachestack_index_end');
echo stachestack_pagination_toggler();
<?php

if (!has_action('stachestack_content_single_override')) {
    ss_get_template_part('templates/content', 'single');
} else {
    do_action('stachestack_content_single_override');
}
Exemple #5
0
					</aside><!-- /.sidebar -->
				<?php 
}
?>
				<?php 
echo $ss_framework->clearfix();
?>
			<?php 
echo $ss_framework->close_row('div');
?>
		</div><!-- /.content -->
		<?php 
do_action('stachestack_after_content');
?>
	<?php 
echo $ss_framework->close_container('div');
?>
<!-- /.wrap -->
	<?php 
do_action('stachestack_pre_footer');
if (!has_action('stachestack_footer_override')) {
    ss_get_template_part('templates/footer');
} else {
    do_action('stachestack_footer_override');
}
do_action('stachestack_after_footer');
wp_footer();
?>
</body>
</html>
Exemple #6
0
<?php

if (!has_action('stachestack_content_page_override')) {
    ss_get_template_part('templates/content', 'page');
} else {
    do_action('stachestack_content_page_override');
}