Forum Replies Created

Viewing 1 replies (of 1 total)
  • Forum: Plugins
    In reply to: Removing Sidebar
    Thread Starter eddy_r3

    (@eddy_r3)

    Ok guys this is what i have in sidebar.php

    <!-- begin sidebar -->
    			<div id="sidebar">
    			<div id="sidebar-top-target"></div>
    
    <?php if ( is_front_page() ) { ?>
    <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(1) ) : endif; ?>
    <?php } ?>
    <?php if(get_option('cici_ads')=='yes'){?>
    <div class="sidebar-widg">
    <h2>Advertisement</h2>
    <div class="clear"></div>
    <?php include (TEMPLATEPATH . '/ad1.php'); ?>
    </div>
    <?php }?>
    
    	<?php if(get_option('cici_videos')=='yes'){?>
    	<div class="sidebar-widg">
    <?php include (TEMPLATEPATH . '/video.php'); ?></div>
    <?php }?>
    	<div class="sidebar-widg">
    	<div class="clear"></div>
    
    <div class="clear"></div>
    <ul>
    </ul>
    </div>
    
    <?php
    	/* Widgetized sidebar */
    	if ( ! dynamic_sidebar( 'Right Sidebar' ) ) :
    			  endif; ?>
    
    			</div>
    			<!-- end sidebar -->
    		<div id="sidebar-bottom-target"></div>
    		<!-- end colRight -->

    I read “Variable Sidebar Content” on the WordPress Codex so i have taken that and added it my sidebar.php file, which WORKS great! But how do i get the content of my original sidebar into the is_home() section of Variable Sidebar Content?

    Many thanks

Viewing 1 replies (of 1 total)