post_title);echo v2_bread();?>
ID; echo v2_editlink($post->ID,true); echo do_shortcode($post->post_content); ?>
cat_name.v2_editlink('CATE'.$features_cat->cat_ID,false,'','名稱')); foreach(range(0,1)as$n): ?>
$features_cat->cat_ID,'posts_per_page'=>$PAGESIZE,'offset'=>$n*$PAGESIZE))as$p){ $imgsrc = get_featured_imgsrc($p->ID,'full'); echo v2_display_pureboxF(array($p->ID), $p->post_title,$p->post_content,$imgsrc); } ?>
0&&$_imgsize!=100 ? ' width="'.$_imgsize.'%"' : '').' alt="'.$_title.'" />'; if($_img){ # see http://jsfiddle.net/KWWZz/ #$_img = '
'.$_img.'
'; $_img = '
'.$_img.'
'; } $s = '
' .$_img.'
'.aia_title($_title) .'
'.$_content.'
' .'
' .'
'; echo$s; } ?>
cat_name.v2_editlink('CATE'.$testimonials_cat->cat_ID,false,'','名稱')); $ary_li=array(); //debug //d(the_field('student_photo')); //d(the_field('student_photo2')); //d(the_field('student_photo3')); foreach(range(1, isset($_GET['unc']) ? 7 : 1 )as$_){ // debug foreach(get_posts(array('category'=>$testimonials_cat->cat_ID,'posts_per_page'=>12)) as$v){ $bg_imgsrc = get_featured_imgsrc($v->ID); $cover_imgsrc = get_post_meta_imgsrc($v->ID, 'student_photo'); // debug //foreach(array('',2,3)as$suffix){ // echo''.'student_photo'.$suffix.''; // d(get_post_meta($v->ID, 'student_photo'.$suffix)); // d(get_post_meta($v->ID, 'student_photo'.$suffix,true)); //} $title_black = $v->post_title; $title_gray = get_post_meta($v->ID,'student_name',true); $content=''; $ary_li[] = v2_display_pureboxT(array($v->ID),$bg_imgsrc, $cover_imgsrc, $title_black, $title_gray, wp_make_link_relative(get_permalink($v->ID)), $content); } } // debug echo v2_editlink($testimonials_cat->slug,true); echo v2_display_listT_with_pureboxT($ary_li); ?>