Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter MUK3SH

    (@muk3sh)

    I have added in function.php

    if ( function_exists('register_sidebar') )
    register_sidebar();

    solved my problem

    Thread Starter MUK3SH

    (@muk3sh)

    <!-- Right Column -->
    		<div id="rcnt">
    
    			<!-- Search form -->
    			<div id="search" class="pngf">
    
    				<form id="search_form" action="<?php bloginfo("url"); ?>" method="get">
    					<input class="search_field" type="text" value="search..." onfocus="clS(1);" onblur="clS(0);"  name="s" id="s" />
    					<input class="search_button" type="submit"  value="" id="searchsubmit" />
    				</form>
    
    			</div>
    
    			<!-- Categories -->
    			<div id="cats" class="pngf"> 
    
    				<div class="categor pngf"></div>
    
                                    <ul>
                                            <?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?>
                                    </ul>
    
    			</div>
    
    			<div id="cats_end" class="pngf"></div>
    
    			<!-- Recent Posts  -->
    			<div class="stit">
    
    				<div class="recp pngf"></div>
    
    			</div>
    			<?php
    				$posts = get_posts('numberposts=4&orderby=post_date');
    				foreach($posts as $post) {
    					setup_postdata($post);
    					echo '<a class="pl" href="' . get_permalink() . '">' . get_the_title() . '</a>';
    				}
    				$post = $posts[0];
    			?>
    
    			<!-- Recent Comments  -->
    			<div class="stit">
    
    				<div class="recc pngf"></div>
    
    			</div>
    			<?php recent_comments(); ?>
    
    		</div>

    The side bar code is here.. whats wrong in it?? please some one can tell

Viewing 2 replies - 1 through 2 (of 2 total)