-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathworks.php
187 lines (172 loc) · 14.7 KB
/
works.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<?php/*
Template Name: Works
*/?>
<?php
get_header();
?>
<?php if(have_posts()): ?>
<?php while(have_posts()): the_post(); ?>
<section class="hi">
<div id="svgAnim">
<div id="rerun">
<div id="myobj">
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="360px" height="140px" viewBox="0 0 360 140" enable-background="new 0 0 360 140" xml:space="preserve">
<path id="i0" fill="none" stroke="#000000" stroke-miterlimit="10" d="M91.667,89.417c0,0,1.333-14.25,9.583-21.833
S119.083,57.5,119.083,57.5s7.25-2.917,34.75-3.75s45.333,2.667,45.333,2.667L257,63.667l5.583,0.25l34-1.417
c0,0,26.749,0.667,32.833,1.667s18.001,2.25,21.834,7.75s0.833,13.416,0.833,13.416L348.167,100c0,0-1.19,3.991-3.583,5.167
l-0.041-5.375c-0.459-5.5-4.293-15.708-4.293-15.708s-1.333-6.084-8.583-5.167S322.167,82.75,319,92.25s-5.75,20.084-5.75,20.084
s-1.333,4.082-6.833,4.499s-51,5.917-51,5.917L255.083,102c0,0-0.833-24.583-11.75-25.833s-18.5,18-18.5,18s-8.833,17-11,18.75
s-5.501,11.417-36.833,10.917c-31.333-0.5-53.333-4.251-53.333-4.251l-13.417-3.916c0,0-7.662-8.472-9.912-10.389
c-0.3-0.256-1.978,2.56-2.648,2.32c-3.516-1.254-7.845-0.911-9.742-9.06c-0.423-1.819-2.413-2.305-2.197-3.455
c0.75-4,3.833-3.834,4.083-3.667s1.127-1.047,1.127-1.047l2.956-8.203l8.667,3.167c0,0,1.417,6.917,4.167,7.25s6.25-4.5,6.25-4.5
s10.571,3.519,14.667,1c3.083-1.896,5.213-5.44,7.75-8.75c12.036-15.704,52.5-24.834,52.5-24.834L153.5,54.25
c0,0-21.833,0.417-33.917,14.917c-2.946,3.536,24.219,3.518,24.219,3.518"/>
<path id="i1" fill="none" stroke="#000000" stroke-miterlimit="10" d="M320.438,79.875l-68.821,4.436l0.593,1.559L259,85.5l-0.5,27
l36.75-3.75c0,0,9.5-9.125,8.875-26.625s-6.875-19-6.875-19l-21.671,1.333L258.625,65.5c0,0-1.875,0.25-1.375,3.375
s1.25,14.25,1.25,14.25L259,85.5l43.5-3.5c0,0,6.25-2,8.375,11.375s-0.403,15.462-8.312,15.625
c-6.429,0.133-6.781,0.062-6.781,0.062s10.953-0.938,12.703-4.062s0.008-12.375-0.617-14.75s-3.121-7-3.121-7
s-0.718-20.542-7.498-20.125c-0.414,0.025-1.957-1.333-1.957-1.333c1.842-0.333,14.125-0.417,14.125-0.417s1.045-0.477,0.459-4
c-0.624-3.753-10.75-13.875-12.5-15.75s-5.562-3.688-5.562-3.688l3.104,23.771l-0.917,0.042l-3.209-24.208
c0,0-16.041-4.625-23.166-3.022c-2.628,0.591-6.25,28.522-6.25,28.522l8.625-0.208l-0.777-5.329l-2.974-20.38l1-1.188l3.208,21.859
l0.71,4.838l22.166-0.859l36.124,1.724L321,56.583l-18.912-13.983c0,0,25.996,17.316,17.37,16.826
c-4.409-0.25-13.708-12.343-13.708-12.343s-9.749-13.042-16.167-14.583c-2.03-0.488-16.041-7.417-42-9.667
c-42.824-3.712-57.75,3.083-57.75,3.083l27.729,0.646c0,0,32.863,4.593,36.688,5.656c8.875,2.469,7.416,8.365,7.416,8.365
s-1.979,9.417-2.253,15.012c-0.327,6.679-14.601,4.217-14.601,4.217l-49.375-6.191l-33.844-2.153c0,0-4.875,0.5-0.261-2.969
c7.14-5.367,21.167-19.333,21.167-19.333s3.667-2.833,8.042-2.917l4.21-0.219"/>
<path id="i2" fill="#FFFFFF" stroke="#000000" stroke-miterlimit="10" d="M156.5,93.5c0,0-17.333-0.833-20.75-4.219
s11.75-16.448,11.75-16.448s0.167-1.083,20.583,3.417C188.5,80.75,203.417,67.917,223,65s12.339-4.048,12.339-4.048l25.328,3.382
c0,0-1.083,0.167,5.917,1s7.583-1,8.333-2.417s2.333-3.167-3.333-5.75s-7.417,3.5-8.167,5.75s5.378,2.605,5.378,2.605
s2.372,2.729-1.336,3.062c-5.213,0.469-6.125-2.75-7.875-4.083s-10.834,1.583-22.917,0.583S191.75,76.667,191.75,76.667
s-13.436,9.543-5.458,15.583c11.833,8.958,25.295-6.14,25.295-6.14s-1.087-6.777-6.837-9.61s-12.799,0.091-12.799,0.091
S206.28,71.26,208,71.667c4.75,1.125,8.375,8.125,4.161,13.492c-8.495,10.82-19.994,10.008-19.994,10.008l-16.083-1.584
c0,0,2.417-2.791,2.5-9.166c0.118-9.031-14.22-1.995-14.22-1.995s4.47-1.922,7.386-0.505s4.25,6.75,4.083,9.666
s-2.917,4.75-2.917,4.75l-2.417-0.416c0,0,1.167-1.25,1.917-2.5s2-10.667-3.667-11.167s-8.25,1-11.167,7.25s4,9.25,4,9.25
s8.708-6.291,15.25,1.5c4.4,5.24-0.25,13.833-0.25,13.833l-3.333,2.25c0,0,0.583,4.75-3.167,4.75s-3.833-5.166-3.833-5.166
l-4.583,0.416c0,0,1.554,3.647-0.792,5.096c-2.236,1.381-8.072,0.59-19.875-0.346c-28.361-2.248-28.25-7-29.167-9.25
s1.667-4.083,1.667-4.083l2.313-2.591l0.062-5.597l1.5-1.812l28.014,3.959l-1.889,1.208l-27.625-3.354l-0.062,5.597l-2.897,0.674
l-1.25-2.75l0.167-5.666c0,0,0.5-2.167-2.083-3.5s-5.917,1.5-5.667,0.666S102,89.833,102,89.833l0.5-1.096l-7.167-2.654
c0,0-2.896,3.261-2.146,3.011S99,85,99.583,94s-4.167,12.167-4.167,12.167L92,104.583c0,0,5.69-2.575,4.167-12
c-0.948-5.864-6.417-4.333-7.75,4.018s7.167,10.899,8.75,11.066s3.917-3.417,3.917-3.417s3.637,3.217,4.5,3.333
c0.261,0.035,4.698-0.239,3.083-8.333c-1.756-8.802-7.083-1.5-6.25,4.417s6.25,5.916,8.417,6.083s2.417-3.25,2.417-3.25
l33.062,3.531L143.5,109v-6.083l2.75-0.979l0.333,8.146l2.833,0.584c0,0,0.833,1.667,0.417-3.333s3.333-7.667,3.333-7.667
s4.917,3.666,4.5,7.333s0.583,4.25,1.681,4.833s12.486,1.417,2.236,3.084s-11.25-4.334-11.25-4.334s0.833,1.667,1.917,1.917
s2.667-0.667,4-6.083s-2.5-7.25-2.5-7.25s-1.5-0.667,2.917-0.584s4.5,3,4.5,3l-0.917,4.5c0,0,1.167,6.667,7.417,7.084
s8.167-3.75,8.167-3.75l3.417-1.25c0,0,9,0.083,14.75,0.583s21.917,0.25,21.917,0.25l-12.667,7.562
c-6.033,2.892-20.083,3.021-20.083,3.021l0.333-4.5l20.417,1.167l12-7.25c0,0-9.104,3.5-22.917,3.5c-10.6,0-16.167,0-16.167,0
s-3,2.668-8.917,2.584s-8.722-5.833-8.569-9.75s4.07-8.584,9.32-8.334s9,5.918,8.167,10.252s-0.333,4.336-0.333,4.336
s2.835-1.997,2.085-5.997s-0.082-2.076-0.082-2.076l22.589,1.764c0,0,14.261,0.029,15.428,2.696s4.271-8.777,5.437-11.36
s4.785-21.786,14.709-22.718c8.667-0.813,10.017,3.535,10.017,3.535s-0.559-2.182-4.537-3.266"/>
<path id="i3" fill="none" stroke="#000000" stroke-miterlimit="10" d="M161.333,48.5c0,0-6.5,4-11.167,4.333s-27.37,3.501-28.049,3.85
s-12.325,4.774-12.325,4.774s11.833,1.23,2.208,10.48S99.727,84.627,96.113,82.97s2.449-17.157,9.762-17.532S114,67.75,114,67.75
l-3.562,6.688c0,0,12.5-4.438,7.938,4.562s-5,8.312-5,8.312s6-8.5-1.75-10.938s-8.875,6.438-8.625,8s-1.039,0.731-1.039,0.731
l-8.776-3.155l-1.859,7.405c0,0-6.698,9.636-0.788,14.876c2.462,2.184,4.254,2.58,4.254,2.58s1.021,10.25,12.521,13.188
s14.962,1.496,16.188,0.625s0.166-1.042,0.166-1.042"/>
<path id="i4" fill="none" stroke="#000000" stroke-miterlimit="10" d="M212.974,113.838c0,0-3.557,18.746,14.193,19.996
s26.082-4.751,26.166-25.334s-6.75-29.084-13.083-27s-13.333,14.585-12.75,25.751s7.389,26.602,12.794,25.651l-6.354-11.18
c0,0,6.561,9.278,12.061-1.139s1.708-24.313-0.562-28.146c-1.36-2.297-6.166-5.846-10.256,0.179
c-1.689,2.489-4.27,6.477-4.682,13.134c-0.75,12.125,3.083,15.417,3.083,15.417l2.5,1.007c0,0,8.25-3.008,7-16.174
S237.837,92.313,237,91.834s5.584,7.166,3.417,19.666s-5.167,9.25-5.167,9.25l-1.667-2.166l1.917-2.75c0,0,2.166,0.916,2.833-2.167
s-1.583-3.333-1.583-3.333l0.417-7.167c0,0,2.082-1.333,1.416-3.083s-3.083-2.5-3.083-2.5l-1.167-2.084l-1.325,3.334l0.992,0.75
l-0.5,3c0,0,2.333,0.417,2.25,3.5s-2.166,6.082-3.333,3.916s-0.917-5.584,0.083-6.5s3.167-0.333,3.167-0.333
s1.833,3.667-0.167,6.167s-2.492,2.25-2.492,2.25l-0.758,3.833l0.758,4.667l7.286,12.818c0,0,5.308,0.393,10.873-8.652
c2-3.25,57.561-7.861,57.561-7.861l1.272,3.16c0,0,0.586,5.222,16.333,4.702c12.083-0.398,13-10.167,13-10.167
s4.681-20.452-3.167-31.917c-6.104-8.917-13.749,4.417-14.416,5.917s-1.625,36.374,9.214,35.446l0.119-6.196
c0,0-7.633-1.942-7.667-17.333s6.583-16.166,8.75-15s10.169,12.294,3.5,28.916c-2.541,6.333-7.397,1.628-7.397,1.628
s2.231-1.46,3.314-6.544s1.25-14.916-2.125-19.25s-3.292-1.014-3.292-1.014s5.25,5.763,4.5,13.68s-3.333,10.584-3.333,10.584
l-0.917-1.167l1.084-1.583l-1.334-3.25l0.667-4.25c0,0,1.833-0.001,2.25-2.334s-2.417-2.416-2.417-2.416l-1.166-4.917l-0.667,4
c0,0,0.666-0.333,1.333,2.667s-0.172,5.083-1.333,4.916s-0.75-0.833-0.75-0.833s0.699,11.349,6.762,13.224l0.119,6.473
c0,0,6.974-1.28,8.369-9.446c0.45-2.633,1.047-6.868,1.047-6.868l3.995-2.028"/>
<path id="i5" fill="none" stroke="#000000" stroke-miterlimit="10" d="M129.938,89.356c0,0,0.188,2.206,0.625,2.269s1.688-1.375,1.875-1.812
s-0.125-1.75-0.438-1.875s-2.062,1.708-2.062,1.708"/>
<path id="i6" fill="none" stroke="#000000" stroke-miterlimit="10" d="M334.754,65.009c0,0,2.83-2.884,5.455-1.426s2.777,3.297,2.777,3.297"
/>
<path id="i7" fill="none" stroke="#000000" stroke-miterlimit="10" d="M247.938,60.166c0,0-4.688-8.354-11.938-9.229
s-14.659,5.932-14.659,5.932l3.318,0.416c0,0,5.466-5.23,11.091-3.664s8.082,6.068,8.082,6.068"/>
<g>
<path fill="#408CCF" d="M3.881,33.577l-1.26,3.817H1l4.123-12.136h1.891l4.141,12.136H9.48l-1.296-3.817H3.881z M7.86,32.353
l-1.188-3.493c-0.27-0.792-0.45-1.512-0.63-2.214H6.005c-0.18,0.72-0.378,1.458-0.612,2.196l-1.188,3.511H7.86z"/>
<path fill="#408CCF" d="M12.827,24.61h1.584v12.784h-1.584V24.61z"/>
<path fill="#408CCF" d="M17.075,31.524c0-1.116-0.036-2.017-0.072-2.845h1.423l0.072,1.494h0.036
c0.648-1.062,1.674-1.692,3.097-1.692c2.107,0,3.691,1.782,3.691,4.429c0,3.133-1.909,4.682-3.961,4.682
c-1.152,0-2.161-0.504-2.683-1.369h-0.036v4.735h-1.566V31.524z M18.641,33.847c0,0.234,0.036,0.45,0.072,0.648
c0.288,1.099,1.242,1.854,2.376,1.854c1.674,0,2.647-1.368,2.647-3.367c0-1.747-0.918-3.241-2.593-3.241
c-1.081,0-2.089,0.774-2.395,1.962c-0.054,0.198-0.108,0.433-0.108,0.648V33.847z"/>
<path fill="#408CCF" d="M29.081,26.23c0.018,0.541-0.378,0.973-1.008,0.973c-0.559,0-0.955-0.432-0.955-0.973
c0-0.558,0.414-0.99,0.99-0.99C28.703,25.24,29.081,25.672,29.081,26.23z M27.316,37.394V28.68h1.584v8.714H27.316z"/>
<path fill="#408CCF" d="M31.528,31.038c0-0.9-0.018-1.639-0.072-2.358h1.405l0.09,1.44h0.036c0.432-0.829,1.44-1.639,2.881-1.639
c1.206,0,3.079,0.72,3.079,3.709v5.204h-1.584v-5.023c0-1.404-0.522-2.575-2.017-2.575c-1.044,0-1.854,0.738-2.125,1.62
c-0.072,0.198-0.108,0.468-0.108,0.738v5.24h-1.584V31.038z"/>
<path fill="#408CCF" d="M42.4,33.325c0.036,2.143,1.404,3.025,2.989,3.025c1.134,0,1.818-0.198,2.413-0.45l0.27,1.135
c-0.558,0.252-1.512,0.54-2.898,0.54c-2.683,0-4.286-1.765-4.286-4.394s1.548-4.699,4.087-4.699c2.845,0,3.601,2.503,3.601,4.105
c0,0.324-0.036,0.576-0.054,0.738H42.4z M47.045,32.19c0.018-1.008-0.414-2.575-2.196-2.575c-1.603,0-2.305,1.477-2.431,2.575
H47.045z"/>
<path fill="#408CCF" d="M54.406,25.42c0.792-0.162,1.927-0.252,3.007-0.252c1.674,0,2.754,0.306,3.511,0.99
c0.612,0.54,0.955,1.369,0.955,2.305c0,1.603-1.008,2.665-2.287,3.097v0.054c0.937,0.324,1.495,1.188,1.783,2.449
c0.396,1.692,0.684,2.863,0.937,3.331H60.69c-0.198-0.342-0.468-1.386-0.811-2.899c-0.36-1.674-1.008-2.305-2.431-2.358h-1.476
v5.257h-1.567V25.42z M55.973,30.948h1.602c1.675,0,2.737-0.918,2.737-2.305c0-1.566-1.135-2.251-2.791-2.269
c-0.756,0-1.296,0.072-1.548,0.144V30.948z"/>
<path fill="#408CCF" d="M64.99,33.325c0.036,2.143,1.404,3.025,2.989,3.025c1.134,0,1.818-0.198,2.413-0.45l0.27,1.135
c-0.558,0.252-1.512,0.54-2.898,0.54c-2.683,0-4.286-1.765-4.286-4.394s1.548-4.699,4.087-4.699c2.845,0,3.601,2.503,3.601,4.105
c0,0.324-0.036,0.576-0.054,0.738H64.99z M69.635,32.19c0.018-1.008-0.414-2.575-2.196-2.575c-1.603,0-2.305,1.477-2.431,2.575
H69.635z"/>
<path fill="#408CCF" d="M73.126,31.038c0-0.9-0.018-1.639-0.072-2.358h1.405l0.09,1.44h0.036c0.432-0.829,1.44-1.639,2.881-1.639
c1.206,0,3.079,0.72,3.079,3.709v5.204h-1.584v-5.023c0-1.404-0.522-2.575-2.017-2.575c-1.044,0-1.854,0.738-2.125,1.62
c-0.072,0.198-0.108,0.468-0.108,0.738v5.24h-1.584V31.038z"/>
<path fill="#408CCF" d="M87.941,37.394l-0.126-1.098h-0.054c-0.486,0.684-1.423,1.296-2.665,1.296
c-1.765,0-2.665-1.243-2.665-2.503c0-2.106,1.873-3.259,5.239-3.241v-0.18c0-0.72-0.198-2.017-1.98-2.017
c-0.81,0-1.657,0.252-2.269,0.648l-0.36-1.044c0.72-0.468,1.765-0.774,2.863-0.774c2.665,0,3.313,1.818,3.313,3.565v3.259
c0,0.756,0.036,1.494,0.144,2.088H87.941z M87.707,32.947c-1.729-0.036-3.691,0.27-3.691,1.962c0,1.026,0.684,1.513,1.494,1.513
c1.134,0,1.854-0.72,2.107-1.458c0.054-0.162,0.09-0.342,0.09-0.504V32.947z"/>
<path fill="#408CCF" d="M99.083,35.018c0,0.9,0.018,1.692,0.072,2.376h-1.404l-0.09-1.422h-0.036
c-0.414,0.702-1.332,1.621-2.881,1.621c-1.368,0-3.007-0.756-3.007-3.817V28.68h1.584v4.825c0,1.656,0.504,2.773,1.945,2.773
c1.062,0,1.8-0.738,2.088-1.44c0.09-0.234,0.144-0.522,0.144-0.811V28.68h1.584V35.018z"/>
<path fill="#408CCF" d="M101.709,24.61h1.584v12.784h-1.584V24.61z"/>
<path fill="#408CCF" d="M107.866,26.177v2.503h2.269v1.206h-2.269v4.699c0,1.081,0.306,1.693,1.188,1.693
c0.414,0,0.72-0.054,0.918-0.108l0.072,1.188c-0.306,0.126-0.792,0.216-1.404,0.216c-0.738,0-1.332-0.234-1.71-0.667
c-0.45-0.468-0.612-1.242-0.612-2.269v-4.753h-1.35V28.68h1.35v-2.089L107.866,26.177z"/>
<path d="M3.881,55.177l-1.26,3.817H1l4.123-12.136h1.891l4.141,12.136H9.48l-1.296-3.817H3.881z M7.86,53.953l-1.188-3.493
c-0.27-0.792-0.45-1.512-0.63-2.214H6.005c-0.18,0.72-0.378,1.458-0.612,2.196l-1.188,3.511H7.86z"/>
<path d="M15.815,48.767h-0.036l-2.035,1.098l-0.306-1.206l2.557-1.369h1.351v11.704h-1.531V48.767z"/>
<path d="M25.049,48.767h-0.036l-2.035,1.098l-0.306-1.206l2.557-1.369h1.351v11.704h-1.53V48.767z"/>
<path d="M38.622,53.017c0,3.979-1.476,6.176-4.069,6.176c-2.287,0-3.835-2.143-3.871-6.014c0-3.925,1.692-6.085,4.069-6.085
C37.218,47.093,38.622,49.289,38.622,53.017z M32.266,53.196c0,3.043,0.937,4.771,2.377,4.771c1.621,0,2.395-1.891,2.395-4.879
c0-2.881-0.738-4.771-2.376-4.771C33.275,48.317,32.266,50.009,32.266,53.196z"/>
</g>
</svg></div></div>
</div>
<div class="text">
<h2 title="projets" role="heading" aria-level="2">
<?php the_field('titre') ?>
</h2>
<p><?php the_content() ?></p>
</div>
</section>
<?php endwhile; ?>
<?php endif; ?>
<section class="projets">
<h2 class="hidden"><?php _e( 'Apperçu des projets réalisés', 'portfolio' ); ?></h2>
<?php
// the query
$the_query = new WP_Query( array( 'post_type' => 'projets' , 'Genre' => 'projets')); ?>
<?php if ( $the_query->have_posts() ) : ?>
<!-- pagination here -->
<!-- the loop -->
<?php while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
<article role="article">
<a href="<?php the_permalink(); ?>"><h3 role="heading" aria-level="3"><?php the_title(); ?> <span><time date="<?php the_time('Y-m-d') ?>" pubdate><?php echo(get_the_date()) ?></time></span></h3></a>
<figure><img src="<?php the_field('image_section_une'); ?>" alt="<?php the_title(); ?>"></figure>
<div><?php the_field('texte_section_une'); ?></div>
<div><?php the_terms( $post->ID, 'Competence', 'Technologies: ', ' / ' ); ?></div>
</article>
<?php endwhile; ?>
<!-- end of the loop -->
<!-- pagination here -->
<?php wp_reset_postdata(); ?>
<?php else: ?>
<p><?php _e( 'Sorry, no posts matched your criteria.' ); ?></p>
<?php endif; ?>
</section>
<?php
get_footer();
?>