get_results("SELECT * FROM $wpdb->posts ORDER BY post_date_gmt ASC");
?>
http://wordpress.org/?v=
-
post_content ?>]]>
post_date; ?>
post_date_gmt; ?>
comment_status; ?>
ping_status; ?>
post_name; ?>
post_status; ?>
post_parent; ?>
post_type; ?>
get_results("SELECT * FROM $wpdb->postmeta WHERE post_id = $post->ID");
if ( $postmeta ) {
?>
meta_key; ?>
meta_value; ?>
get_results("SELECT * FROM $wpdb->comments WHERE comment_post_ID = $post->ID");
if ( $comments ) { foreach ( $comments as $c ) { ?>
comment_author; ?>
comment_author_email; ?>
comment_author_url; ?>
comment_author_IP; ?>
comment_date; ?>
comment_date_gmt; ?>
comment_content; ?>
comment_approved; ?>
comment_type; ?>
comment_parent; ?>