iya deh iya.. aku ngeblog deh… tapi aku tetep bukan blogger lho :P
Recently i just done installing Sadish’s Worpress Theme ILove Music on one of my client site binaMuslim, running the latest WP 2.1.3.
There’s Aside implementation on the Theme, but unfortunately when i tried to used it it didn’t work. Here is the sympthomps :
After several trial and error, i see in the functions.php that it still use the old WP 1.2 version of the_loop :
<?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>
so i change it to something like this :
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
so including the query_posts part of the functions goes like this :
<?php query_posts("cat=" .$sideCatId. "&showposts=" .$NumPosts );
if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<div class="post">
<h4 class="note"><em><?php comments_popup_link(’(0)’, ‘(1)’, ‘(%)’,”,”); ?></em><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h4>
<div class="entry">
<?php the_excerpt(); ?><?php edit_post_link(); ?>
</div>
</div>
<?php endwhile;?>
And it works
Links:
The reflection of the world is blues, that's where that part of the music is at. Then you got this other kind of music that's tryin' to come around. (Jimi Hendrix)