open up new document, then letak la kod apa2.. html je.. and any wp related tag...
then save as 'what_ever.php'
then contoh nya kat sidebar.php or kat index.php, nak masuk kan apa2 kod kat 'what_ever.php' , letak je..
<?php include (TEMPLATEPATH . '/what_ever.php'); ?>
done.. ni senang nak bagi organize and bagi senang kalau nak edit only certain part kat certain document..
and boleh jugak guna untuk set number of post to be shown.. loop started yg ni...
<?php query_posts('showposts=6'); ?>
<?php while(have_posts()) : the_post(); if(!($first_post == $post->ID)) : ?>
cuz kalau letak kod ni ikut suka, boleh bercampur and mess the entire template (links not showing up, "previous and next entries" link not showing up, etc2)