"; print_r($category); echo "";
$cat = $category->cat_ID;
$args=array(
'orderby' => 'title',
'order' => 'ASC',
'cat' => $cat,
'post__not_in' => array($post->ID),
'posts_per_page'=>40,
'caller_get_posts'=>1
);
$my_query = null;
$my_query = new WP_Query($args);
if( $my_query->have_posts() ) {
echo '
';
while ($my_query->have_posts()) : $my_query->the_post(); ?>
"; print_r($category); echo "";
$cat = $category->cat_ID;
$args=array(
'cat' => $cat,
'post__not_in' => array($post->ID),
'posts_per_page'=>40,
'caller_get_posts'=>1
);
$my_query = null;
$my_query = new WP_Query($args);
if( $my_query->have_posts() ) {
echo '
';
while ($my_query->have_posts()) : $my_query->the_post(); ?>