Put this code on functions.php (if you don’t have the file, create one inside your theme folder):
<?php
if ( function_exists('register_sidebar') )
register_sidebar(array(
'before_widget' => '',
'after_widget' => '',
'before_title' => '<div class="title">',
'after_title' => '</div>',
));
?>
then format sidebar.php with this code (if you don’t have the file, create one inside your theme folder):
<div id="sidebar">
<?php if ( !function_exists('dynamic_sidebar')
|| !dynamic_sidebar() ) : ?>
<div class="title">About</div>
<p>This is my blog.</p>
<div class="title">Links</div>
<ul>
<li><a href="http://example.com">Example</a></li>
</ul>
<?php endif; ?>
</div>
Now kick in some widgets from Admin > Appearance > Widgets and adjust the interface with your CSS
<ul>
<?php
$pages = get_pages('child_of='.$post->ID.'&sort_column=post_title');
$count = 0;
foreach($pages as $page)
{ ?>
<li><a href="<?php echo get_page_link($page->ID) ?>"><?php echo $page->post_title ?></a></li><?php
}
?>
</ul>
Lorem ipsum longor si memet

Bayangkan: kota kita dipenuhi taman di mana warga bebas berinteraksi dan saling sapa.
Atau, Anda punya gagasan lain tata kota yang nyaman untuk warga? Kenapa tidak ditulis dan diikutkan saja pada Lomba Esai Peduli Tata Kota yang diadakan Departemen Pekerjaan Umum, Bali Creative Community, dan Sloka Institute.
it helps me solved one problem about ordering post by specific child category..
With you can customize the order of appearance of posts per category, per tag – or over-all – in a WordPress (versions 2.3+) blog. Useful for using WordPress as a Content Management System (C.M.S.).
NB! This will only work with WordPress 2.3+!
Thanks