‘post’, ‘numberposts’ => 6, ‘meta_key’ => ‘recommend_post’, ‘meta_value’ => ‘on’, ‘orderby’ => ‘rand’);
$recommend_post=get_posts($args);
if ($recommend_post) {
?>
$recommend_post=get_posts($args);
if ($recommend_post) {
?>
‘post’, ‘numberposts’ => 1, ‘meta_key’ => ‘pickup_post’, ‘meta_value’ => ‘on’, ‘orderby’ => ‘rand’);
$pickup_post=get_posts($args);
if ($pickup_post) {
foreach ($pickup_post as $post) : setup_postdata ($post);
?>
‘; }; ?>