Featured Content
""){
#looping through the sticky array to find the post from the output array
foreach ($sticky_top as $sticky_topArrayElement){
#if the post is found then add to membersticky array, st the current sticky to this post to be used to exclude from the output below and break out of the loops as the ID is found
if($sticky_topArrayElement <> "" && $OutputArray2ArrayElement == $sticky_topArrayElement){
$MemberSticky[$ArrayCount] = $OutputArray2ArrayElement;
$CurrentSticky = $OutputArray2ArrayElement;
$ArrayCount ++;
break 2;
}
};
}
};
$args = array(
'posts_per_page' => 1,
'post__in' => $MemberSticky,
'ignore_sticky_posts' => 1
);
query_posts( $args );?>
'; the_post_thumbnail(); echo '
';
}
the_excerpt('Read more »'); ?>
'; the_post_thumbnail(); echo '
by
Date:
Posted in | '); ?>
Posted in | '); ?>
Recent Content
"" && $OutputArray2ArrayElement <> $CurrentSticky){
$RemainingPosts[$ArrayCount] = $OutputArray2ArrayElement;
$ArrayCount++ ;
}
} unset($OutputArray2ArrayElement);
foreach ($sticky_top as $sticky_topArrayElement){
if($sticky_topArrayElement <> "" && $sticky_topArrayElement <> $CurrentSticky){
$RemainingPosts[$ArrayCount] = $sticky_topArrayElement;
$ArrayCount++ ;
}
} unset($sticky_topArrayElement);
$RemainingPostsArray = array_unique($RemainingPosts);
$my_query = new WP_Query(array('ignore_sticky_posts' => 1,'post__in' => $RemainingPostsArray,'posts_per_page=5'));
// The Loop
while ( $my_query->have_posts()) : $my_query->the_post(); ?>
by
Date:
Posted in | '); ?>
Posted in | '); ?>