Posted by Kafkaesqu� Fri 31st Mar 2006 00:56 - Syntax is PHP - 183 views
Download | New Post | Modify | Hide line numbers
Download | New Post | Modify | Hide line numbers
PHP parser reported no syntax errors in this post!
Description:
Simple WordPress query class that displays posts from category #2.
Discuss: http://wordpress.org/support/topic/67020
Simple WordPress query class that displays posts from category #2.
Discuss: http://wordpress.org/support/topic/67020
-
$cat_posts = new WP_Query('cat=2'); ?>
-
while($cat_posts->have_posts()) : $cat_posts->the_post(); ?>
-
class="post">
class="post-title">"" rel="bookmark" title="Permanent Link: ">(); ?> comments_popup_link('(0)','(1)','(%)','',''); ?>
class="post-content">the_content(); ?> -
endwhile; ?>
-
-
PermaLink to this entry https://pastebin.co.uk/600
Posted by Kafkaesqu� Fri 31st Mar 2006 00:56 - Syntax is PHP - 183 views
Download | New Post | Modify | Hide line numbers
Download | New Post | Modify | Hide line numbers