• 1.
    <div class="four columns">
  • 2.
    	<div class="blog-sidebar">
  • 3.
    		<?php
  • 4.
     
  • 5.
    		$sidebar = get_post_meta($post->ID, "incr_sidebar_set", $single = true);
  • 6.
    		if ($sidebar) {
  • 7.
    			if (!function_exists('dynamic_sidebar') || !dynamic_sidebar($sidebar)) :
  • 8.
    				?>
  • 9.
    			<?php
  • 10.
    			endif;
  • 11.
    		}?>
  • 12.
     
  • 13.
    		<?php
  • 14.
    		if (!$sidebar) {
  • 15.
    			if (!dynamic_sidebar('sidebar')) :
  • 16.
    				?>
  • 17.
    			<?php endif;
  • 18.
    		    } // end primary widget area   
  • 19.
    		    ?>
  • 20.
    		</div>
  • 21.
    	</div>
  • 22.
     
  • 23.
     
<div class="four columns"> <div class="blog-sidebar"> <?php $sidebar = get_post_meta($post->ID, "incr_sidebar_set", $single = true); if ($sidebar) { if (!function_exists('dynamic_sidebar') || !dynamic_sidebar($sidebar)) : ?> <?php endif; }?> <?php if (!$sidebar) { if (!dynamic_sidebar('sidebar')) : ?> <?php endif; } // end primary widget area ?> </div> </div>

Copy Code to Clipboard Raw

Sign-in or Create a Free Account.

Snippi uses Twitter or Facebook to register and create accounts. Registration will enable you to keep track of your snippets. We never spam your timeline or wall. Ever.

Sign-in with Facebook Sign-in with Twitter