thanks but it doesnt tell me where about in the sidbar php file to insert the code ? or have a missed it
From the theme’s (as mentioned in another thread) unedited sidebar.php template file I would suggest:
- Line 2:
<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar() ) : else : ?>
- Line 39:
<?php endif; ?>
See if that will work for you …
thanks mate ill give it a go
yeah it didnt work its enable the ability to use widgets but it moved the side bar content to the post area.
i give up this is to hard.
This is how my sidebar php looks where about should i insert the code.
1.Line 2: <?php if (function_exists(‘dynamic_sidebar’) && dynamic_sidebar() ) : else : ?>
2.Line 39: <?php endif; ?> thanks for taking a look and helping out….
<div id="sidebar">
<?php
$children = wp_list_pages('title_li=&child_of='.$post->ID.'&echo=0');
if ($children) { ?>
<div class="box" id="category">
<h2>Subpages</h2>
<?php echo $children; ?>
</div>
<?php } ?>
<div class="box">
<h2>Categories</h2>
<?php wp_list_categories('categories_before=&categories_after=&title_li='); ?>
</div>
<div class="box">
<?php wp_list_bookmarks('categorize=0&category_before=&category_after=&title_li=Links'); ?>
</div>
<div class="box">
<h2>Profil</h2>
* <?php wp_register(); ?> <?php wp_loginout(); ?>
<?php wp_meta(); ?>
</div>
<div class="box" id="share">
<img src="<?php bloginfo('template_url')?>/images/rss.jpg" alt="RSS feed" />
<img src="<?php bloginfo('template_url')?>/images/facebook.jpg" alt="Facebook" />
<img src="<?php bloginfo('template_url')?>/images/twitter.jpg" alt="Twitter" />
</div>
</div><!-- ======= sidebar END ======= -->
‘Line 2’ goes right after <div id="sidebar">
‘Line 39’ goes right before </div><!-- ======= sidebar END ======= -->