Exemplo n.º 1
0
                if ($add_sidebar) {
                    ?>
                    <div class="sidebar_content <?php 
                    echo $sidebar_class;
                    ?>
">
                <?php 
                }
                ?>

                <?php 
                $ppb_enable = get_post_meta($pp_homepage, 'ppb_enable', true);
                if (!$ppb_enable) {
                    echo pp_apply_content($pp_home_content);
                } else {
                    pp_apply_builder($pp_homepage);
                }
                ?>
                <br class="clear"/>

                <?php 
                if ($add_sidebar) {
                    ?>
                    </div>
                <?php 
                }
                ?>

                <?php 
                if ($add_sidebar && $page_style == 'Right Sidebar') {
                    ?>
Exemplo n.º 2
0
    			<?php 
if (empty($ppb_enable) && have_posts()) {
    while (have_posts()) {
        the_post();
        ?>
		
    	
    				<?php 
        the_content();
        break;
        ?>

    			<?php 
    }
} else {
    pp_apply_builder($current_page_id);
}
?>
    
    		</div>
    		<br class="clear"/>
    		
   		 </div>
   	 	<!-- End main content -->
   	 	
	</div>
</div>
			
<?php 
if (!isset($hide_header) or !$hide_header or is_null($hide_header)) {
    ?>