diff --git a/templates/template-portfolio.php b/templates/template-portfolio.php index 859aa8a..be97688 100644 --- a/templates/template-portfolio.php +++ b/templates/template-portfolio.php @@ -5,30 +5,9 @@ Template Name: Portfolio get_header(); $currentPageId = get_the_ID(); - - ?> -
-
-
-

-
-
-
-
-
-
- - - - - -
-
-
-
-
+
ID, 'full'); $projectPermLink = get_the_permalink($portfolio_post->ID); + $excerpt = get_the_excerpt(); + $clientName = get_field('client_name', $portfolio_post->ID); + $terms = get_the_terms($portfolio_post->ID, 'project_type'); ?> -
- +
+ + -

-

- Voir le projet +
+
+

+
+ + #name ?> + +
+
+ + +
+
-
+
'#1CC7C7', - 'print' => '#C14FE3', - 'motiondesign' => '#21D5F5', - 'video' => '#21D5F5', - ); - ?> - - ID; - $projectUrl = get_permalink($project_id); - $thumbnailUrl = get_the_post_thumbnail_url($project_id, 'full'); - $mobileThumbnailUrl = get_the_post_thumbnail_url($project_id, 'full'); - $projectDescription = get_field('project_description', $project_id); - - $pousseBoule = 'offset-lg-8'; - $projectType = 'web'; - $projectTitle = get_the_title($project_id); - $clientName = get_field('client_name', $project_id); - - $currentProjectColor = $cat_colors[$projectType]; - - $mouse = $categorie === 'video' ? 'Mouseactive' : null; - $i = 3; - $ballOffset = $i === 1 ? 'offset-lg-4' : ($i === 2 ? 'offset-lg-4' : 'offset-lg-8'); - ?> - - - '#1CC7C7', - 'print' => '#C14FE3', - 'motiondesign' => '#21D5F5', - 'video' => '#21D5F5', - ); - $i = 1; - $compteurBoule = 1; - $compteurVideo = 1; ?> -
-
- -
-
-
-
"> - <?php echo $image['alt'] ?> - <?php echo $imageMobile['alt'] ?> -
- -
-
-

-

-
-
- -
-
-

-

-
-
- +
+
+ + <?php echo $projectThumbnail['alt'] ?> + <?php echo $imageMobile['alt'] ?>
+
+
+

+
+ + # + +
+
+ +
+

+

+
+
+
- -
-
- - - -
-
- -
-
-
-
-
-
-
- - - - - - - - - -
- - \ No newline at end of file