□ STORY

個性豊かなブロガー達のストーリー

foreach($users as $user):
$uid = $user->ID;
$userData = get_userdata($uid);
$args = array(
‘numberposts’ => ‘1’,
‘post_type’ => ‘post’,
‘posts_per_page’ => ‘1’,
‘offset’ => ‘0’,
‘author’ => $uid
);

$posts = get_posts($args);
foreach($posts as $post):

$user_update=array_merge($user_update,array($post->post_date=>$post->post_author));

endforeach;
endforeach;
krsort($user_update);
foreach ($user_update as $key => $value):
$user = new WP_User($value);
$uid = $user->ID;
$userData = get_userdata($uid);
$args = array(
‘numberposts’ => ‘1’,
‘post_type’ => ‘post’,
‘posts_per_page’ => ‘1’,
‘offset’ => ‘0’,
‘author’ => $uid
);
$posts = get_posts($args); ?>


echo get_the_post_thumbnail( $post->ID,array(300,200) );

}else{

/*代替え画像の表示*/
echo ‘‘;

}
?>

$name = $userInfo->nickname ;
echo ‘‘.$name.’‘; ?>


□ SNS powered by KIKUSUI.

昨日も今日も菊水を楽しむ人

$ex_list .= “`url`!='”.$val->url.”‘ and”;

}
$ex_list .= ” `url`!=’http://test'”;

$sql = “SELECT * from `t_social` where “.$ex_list.” order by `date` desc limit 21″;

$res = $wpdb->get_results($sql);
$i=0;

foreach ($res as $photo) {
echo ”

“;
?>

 

 

 

@

$i++;
$add_date=$photo->add_date;

}

$i=0;

?>

□ PEOPLE