WP-Custom Fields Extra-Loop-01

WP-Custom Fields Extra-Loop … hier ganz trocken dargestellt 

$querydetails = “
SELECT wposts.*
FROM $wpdb—>posts wposts, $wpdb->postmeta wpostmeta WHERE wposts.ID = wpostmeta.post_id AND wpostmeta.meta_key = ‚readmoretext‘ AND wpostmeta.meta_value = ‚Go check this out‘ AND wposts.post_status = ‚publish‘ AND wposts.post_type = ‚post‘ ORDER BY wposts.post_date DESC „; $pageposts = $wpdb->get_results($querydetails, OBJECT) ?>// Make your loop here. For example :

> id=“post-„>