'all',
'posts_per_page' => -1
);
$events = tribe_get_events($args);
print_r($events) ;
?>

$event) {
foreach( $event as $key => $value) {
if ($key == 'post_title') {$the_title = $value ;}
if ($key == 'EventStartDate') {$post_str_date = $value ;}
if ($key == 'EventEndDate') {$post_end_date = $value ;}
if ($key == 'ID') {$post_id = $value ;}
if ($key == 'guid') {$post_url = $value ;}
}
// echo $post_url ; //
?>

>
募集中

" ."
" ;
} else {
$post_str_date_dec = date("Y/m/d",strtotime($post_str_date));
$post_end_date_dec = date("Y/m/d",strtotime($post_end_date));
if ($post_str_date_dec == $post_end_date_dec) {echo $post_str_date_dec ."
" ;}
else {echo $post_str_date_dec ;echo "〜" .$post_end_date_dec ."
";}
}
echo $the_title ;
echo tribe_get_event_website_link($post_id);
// foreach( tribe_get_event_categories( $post_id ) as $eve_key => $eve_value) { //
// echo urldecode($eve_value) ; //
// } //
echo "

";

}
?>

2016/09/26