No Sidebars Defined
-
I am newbie ..
I am using a theme (dryicons.com/demo-templates/paperblog/index.html)
I have uploaded theme..
Its working fine..
It is having slide bar too..
But its not defined..
How can i define existing slide bar..
i have read http://codex.wordpress.org/Widgetizing_Themes
But cant understand.. 🙁
Please can any one tell me changes i have to make in code to define slide bar…..
Viewing 2 replies - 1 through 2 (of 2 total)
-
<!-- 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
I have added in function.php
if ( function_exists('register_sidebar') ) register_sidebar();solved my problem
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘No Sidebars Defined’ is closed to new replies.