diff -r 000000000000 -r d970ebf37754 wp/wp-content/themes/IN-MOTION-package-u1/in-motion/single-portfolio.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wp/wp-content/themes/IN-MOTION-package-u1/in-motion/single-portfolio.php Wed Nov 06 03:21:17 2013 +0000 @@ -0,0 +1,148 @@ + + + +ID, 'portfolio_type_selected' , true); + $portfolioDate = get_post_meta($post->ID, 'portfolio_date' , true); + $portfolioClient = get_post_meta($post->ID, 'portfolio_client' , true); + $portfolioURL = get_post_meta($post->ID, 'portfolio_url' , true); + $portfolioABSTRACT = get_post_meta($post->ID, 'portfolio_abstract' , true); + $portfolioEMBED = get_post_meta($post->ID, 'portfolio_embed' , true); + $portfolioTWITTER = get_post_meta($post->ID, 'portfolio_twitter' , true); + +?> +
+ + +

+ ID,'portfolio_categories', '', ', '); + $terms = strip_tags( $terms ); + ?> +

+
+

+ +
+ Controverse +
+ + +
+ Abstract +
+ + +
+ Site de l'intervenant + +
+ + + + +
+ @ +
+ + + +
+ +
+ + + + +
+ +
+ ID ), 'single-post-thumbnail' ); + ?> + + ID, 'portfolio_video_url' , true); + if(!empty($video_url)) + { + echo '
'.$video_url.'
'; + } + } + // end if video + + //slideshow portfolio + if($portfolioType == 'Slideshow') + { + $attachments = get_children(array('post_parent' => $post->ID, + 'post_status' => 'inherit', + 'post_type' => 'attachment', + 'post_mime_type' => 'image', + 'order' => 'ASC', + 'orderby' => 'menu_order ID')); + + + + echo '
'; + echo '
'; + + foreach($attachments as $att_id => $attachment) { + $full_img_url = wp_get_attachment_url($attachment->ID); + echo '
'; + ?> + + '; + } //end foreach + echo '
'; + echo '
'; + } + ?> +
+
+ + + \ No newline at end of file