Science Fiction Wisely News
[insert_php] $thiscat = 299;
$newsclass = "sfwnews";
$num = 0;
$linkcolor = "#ffffff"; $args = array( 'posts_per_page' => 4, 'offset'=> 0, 'category' => $thiscat ); $myposts = get_posts( $args ); echo "
- "; foreach ( $myposts as $post ) : setup_postdata( $post );
$num++;
echo "
- • ID) . "\">" . get_the_title($post->ID) . " "; $class = ' no-post-thumbnail'; $image = ''; if(has_post_thumbnail($post->ID)) { $image = ''.get_the_post_thumbnail( $post->ID ).''; $class = ''; } echo "
";
echo "