Beispiel #1
0
 * It is also available at this URL: http://www.gnu.org/licenses/gpl-3.0.txt
 */
get_header();
novalite_header_content();
?>
 


<!-- start content -->

<div class="container content">
	
    <div class="row">
       
    <div <?php 
post_class(array('pin-article', novalite_template('span'), novalite_template('sidebar')));
?>
 >
		
		<?php 
if (have_posts()) {
    while (have_posts()) {
        the_post();
        do_action('novalite_postformat');
        ?>

	        
        <div style="clear:both"></div>
        
    </div>
 * @author WPinProgress
 *
 * This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
 * It is also available at this URL: http://www.gnu.org/licenses/gpl-3.0.txt
 */
get_header();
novalite_header_content();
?>
 

<div class="container content">

    <div class="row" >
    
    <div class="pin-article <?php 
echo novalite_template('span') . " " . novalite_template('sidebar');
?>
" >
		
	<?php 
if (have_posts()) {
    while (have_posts()) {
        the_post();
        ?>
       
    <?php 
        do_action('novalite_postformat');
        ?>
 

    <?php 
Beispiel #3
0
                         
                        </article>
                        
                    </div>
                        
                <?php 
}
?>
            </div>
			<?php 
get_template_part('pagination');
?>
        </div>
        
		<?php 
if (novalite_template('span') == "span8") {
    ?>
    
                <section id="sidebar" class="span4">
                    <div class="row">
						<?php 
    if (is_active_sidebar('side_sidebar_area')) {
        dynamic_sidebar('side_sidebar_area');
    } else {
        the_widget('WP_Widget_Calendar', array("title" => __('Calendar', 'novalite')), array('before_widget' => '<div class="pin-article span4"><div class="article">', 'after_widget' => '</div></div>', 'before_title' => '<h3 class="title">', 'after_title' => '</h3>'));
        the_widget('WP_Widget_Archives', '', array('before_widget' => '<div class="pin-article span4"><div class="article">', 'after_widget' => '</div></div>', 'before_title' => '<h3 class="title">', 'after_title' => '</h3>'));
        the_widget('WP_Widget_Categories', '', array('before_widget' => '<div class="pin-article span4"><div class="article">', 'after_widget' => '</div></div>', 'before_title' => '<h3 class="title">', 'after_title' => '</h3>'));
    }
    ?>
                    </div>
                </section>
Beispiel #4
0
            </div>
    		
			<?php 
get_template_part('pagination');
?>

        </div>
        
		<?php 
if (novalite_template('span') == "span8") {
    ?>

    
                <section id="sidebar" class="span4 <?php 
    echo novalite_template('sidebar');
    ?>
">
                    <div class="row">
						<?php 
    if (is_active_sidebar('side_sidebar_area')) {
        dynamic_sidebar('side_sidebar_area');
    } else {
        the_widget('WP_Widget_Calendar', array("title" => __('Calendar', 'wip')), array('before_widget' => '<div class="pin-article span4"><div class="article">', 'after_widget' => '</div></div>', 'before_title' => '<h3 class="title">', 'after_title' => '</h3>'));
        the_widget('WP_Widget_Archives', '', array('before_widget' => '<div class="pin-article span4"><div class="article">', 'after_widget' => '</div></div>', 'before_title' => '<h3 class="title">', 'after_title' => '</h3>'));
        the_widget('WP_Widget_Categories', '', array('before_widget' => '<div class="pin-article span4"><div class="article">', 'after_widget' => '</div></div>', 'before_title' => '<h3 class="title">', 'after_title' => '</h3>'));
    }
    ?>

                    </div>
                </section>