-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
516 lines (486 loc) · 32.8 KB
/
index.html
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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>WordPress Plugin Boilerplate Powered</title>
<link rel="icon" type="image/png" href="images/favicon.png" />
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400" rel="stylesheet">
<!--Core CSS -->
<link rel="stylesheet" href="css/bulma.css">
<link rel="stylesheet" href="css/core.css">
<!--Libraries-->
<link rel="stylesheet" href="css/aos.css">
</head>
<body>
<!-- Pageloader -->
<div class="pageloader is-theme"></div>
<div class="infraloader is-active"></div>
<div class="dark-wrapper">
<section class="hero is-fullheight is-transparent">
<div class="hero-head">
<!-- Cloned navbar that comes in on scroll -->
<nav id="navbar-clone" class="navbar is-fixed is-dark">
<div class="container">
<!-- Brand -->
<div class="navbar-brand">
<a href="index.html" class="navbar-item">
<div class="logo">
<img class="rotating" src="images/logo/wpbp.svg" alt="">
<img class="logo-hover" src="images/logo/only-wp.svg" alt="">
</div>
<span class="brand-name">WordPress Plugin Boilerplate Powered</span>
</a>
<!-- Responsive toggle -->
<span class="navbar-burger burger" data-target="cloneNavbarMenu">
<span></span>
<span></span>
<span></span>
</span>
</div>
<!-- Menu -->
<div id="cloneNavbarMenu" class="navbar-menu">
<div class="navbar-end">
<!-- Menu item -->
<div class="navbar-item is-nav-link">
<a class="is-centered-responsive" href="https://wpbp.github.io/#why">Why</a>
</div>
<!-- Menu item -->
<div class="navbar-item is-nav-link">
<a class="is-centered-responsive" href="https://wpbp.github.io/#features">Features</a>
</div>
<!-- Menu item -->
<div class="navbar-item is-nav-link">
<a class="is-centered-responsive" href="https://wpbp.github.io/#generator">Generator</a>
</div>
<!-- Menu item -->
<div class="navbar-item is-nav-link">
<a class="is-centered-responsive" href="https://wpbp.github.io/wiki.html">Wiki</a>
</div>
<!-- Sign up -->
<div class="navbar-item is-nav-link">
<a href="https://github.com/WPBP/WordPress-Plugin-Boilerplate-Powered/" class="button k-button k-primary raised has-gradient slanted">
<span class="text">Github</span>
<span class="front-gradient"></span>
</a>
</div>
</div>
</div>
</div>
</nav>
<!-- /Cloned navbar -->
<!-- Static navbar -->
<nav class="navbar is-light">
<div class="container">
<!-- Brand -->
<div class="navbar-brand">
<a href="index.html" class="navbar-item">
<div class="logo">
<img class="rotating" src="/images/logo/wpbp.svg" alt="">
<img class="logo-hover" src="/images/logo/only-wp.svg" alt="">
</div>
<span class="brand-name is-hidden-mobile">WordPress Plugin Boilerplate Powered</span>
<span class="brand-name is-hidden-desktop">WPBP</span>
</a>
<!-- Responsive toggle -->
<span class="navbar-burger burger" data-target="navbarMenu">
<span></span>
<span></span>
<span></span>
</span>
</div>
<!-- Menu -->
<div id="navbarMenu" class="navbar-menu light-menu">
<div class="navbar-end">
<!-- Menu item -->
<div class="navbar-item is-nav-link">
<a class="is-centered-responsive" href="https://wpbp.github.io/#why">Why</a>
</div>
<!-- Menu item -->
<div class="navbar-item is-nav-link">
<a class="is-centered-responsive" href="https://wpbp.github.io/#features">Features</a>
</div>
<!-- Menu item -->
<div class="navbar-item is-nav-link">
<a class="is-centered-responsive" href="https://wpbp.github.io/#generator">Generator</a>
</div>
<!-- Menu item -->
<div class="navbar-item is-nav-link">
<a class="is-centered-responsive" href="https://wpbp.github.io/wiki.html">Wiki</a>
</div>
<!-- Sign up -->
<div class="navbar-item">
<a href="https://github.com/WPBP/WordPress-Plugin-Boilerplate-Powered/" class="button k-button k-primary raised has-gradient slanted">
<span class="text">Github</span>
<span class="front-gradient"></span>
</a>
</div>
</div>
</div>
</div>
</nav>
<!-- /Static navbar -->
</div>
<div class="hero-body">
<div class="container">
<div class="columns is-vcentered">
<div class="column is-7 landing-caption">
<h1 class="title is-1 is-light is-semibold is-spaced main-title">WordPress Plugin<br>Boilerplate Powered</h1>
<h2 class="subtitle is-5 is-light">
The complete foundation for building your WordPress plugins
</h2>
<p>
<a href="#why" class="button k-button k-primary slanted is-fat is-bold has-gradient">
<span class="text">Explain like I am five</span>
<span class="front-gradient"></span>
</a>
</p>
</div>
<div class="column is-5">
<figure class="image">
<img src="/images/logo/wpbp.svg" alt="">
</figure>
</div>
</div>
</div>
</div>
</section>
<a name="why"></a>
<section id="start" class="section is-darkest is-relative">
<div class="container">
<div class="content-wrapper">
<div class="columns is-vcentered">
<div class="column is-4">
<div class="feature">
<img src="/images/icons/libraries.svg" alt="" data-aos="fade-up" data-aos-delay="100" data-aos-offset="200" data-aos-easing="ease-out-quart" class="aos-init">
<h4 class="title is-8 is-tight is-darkest">Libraries</h4>
<p>WordPress ecosystem is full of amazing libraries why not integrate the most used?</p>
</div>
</div>
<div class="column is-4">
<div class="feature">
<img src="/images/icons/snippet.svg" alt="" data-aos="fade-up" data-aos-delay="300" data-aos-offset="200" data-aos-easing="ease-out-quart" class="aos-init">
<h4 class="title is-8 is-tight is-darkest">Snippets</h4>
<p>Plugins often have the same features (like an importer/exporter of settings), why not have them already available?</p>
</div>
</div>
<div class="column is-4">
<div class="feature">
<img src="/images/icons/generator.svg" alt="" data-aos="fade-up" data-aos-delay="500" data-aos-offset="200" data-aos-easing="ease-out-quart" class="aos-init">
<h4 class="title is-8 is-tight is-darkest">Generator</h4>
<p>Why not generate a customized boilerplate based on your needs?</p>
</div>
</div>
</div>
</div>
</div>
</section>
<a name="features"></a>
<section class="section is-transparent">
<div class="container">
<div class="divider is-centered"></div>
<h2 class="title is-light is-semibold has-text-centered is-spaced">Features</h2>
<div class="content-wrapper">
<div class="columns is-vcentered">
<div class="column is-5 is-offset-1">
<div class="side-feature-content">
<h3 class="title is-4 is-light"><img src="/images/icons/ico/libraries.svg" alt=""> <span>Libraries</span></h3>
<div class="divider is-long"></div>
<p class="is-light">Do you like Metabox, Cron, Notices and so on? We too!</p><br>
<div class="cta-wrapper">
<a href="https://github.com/WPBP/WordPress-Plugin-Boilerplate-Powered#libraries-and-miscellaneus-available" class="button k-button k-primary raised has-gradient is-bold">
<span class="text">Check the list</span>
<span class="front-gradient"></span>
</a>
</div>
</div>
</div>
<div class="column is-7 is-hidden-mobile">
<img class="side-feature" src="/images/illustrations/libraries.svg" alt="">
</div>
</div>
<div class="columns is-vcentered">
<div class="column is-5 is-offset-1 is-hidden-mobile">
<img class="side-feature" src="/images/illustrations/snippets.svg" alt="">
</div>
<div class="column is-5">
<div class="side-feature-content">
<h3 class="title is-4 is-light"><img src="/images/icons/ico/snippets.svg" alt=""> <span>Snippets</span></h3>
<div class="divider is-long"></div>
<p class="is-light">Coding the same features and checking the documentation every time can be boring, start with a selection of the most used snippets!</p><br>
<div class="cta-wrapper">
<a href="https://github.com/WPBP/WordPress-Plugin-Boilerplate-Powered#snippets-available" class="button k-button k-primary raised has-gradient is-bold">
<span class="text">Check the readme</span>
<span class="front-gradient"></span>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<a name="generator"></a>
<section class="section is-dark">
<div class="container">
<div class="divider is-centered"></div>
<h2 class="title is-semibold has-text-centered is-spaced">Generator</h2>
<div class="content-wrapper">
<div class="flying-wrapper">
<div class="flying-tabs-container">
<div class="flying-tabs">
<div class="flying-child tab-1 is-active" data-tab="tab-1"><a href="javascript:void(0);">FAST</a></div>
<div class="flying-child tab-2" data-tab="tab-2"><a href="javascript:void(0);">DOWNLOAD</a></div>
<div class="flying-child tab-3" data-tab="tab-3"><a href="javascript:void(0);">REPLICA</a></div>
<div class="flying-child tab-4" data-tab="tab-4"><a href="javascript:void(0);">TOOLS</a></div>
<div class="slider"></div>
</div>
</div>
<div class="flying-tabs-content">
<div id="tab-1" class="tab-content is-active">
<div class="columns is-vcentered tab-content-wrapper">
<div class="column is-5 is-offset-1">
<div class="text-content">
<h4 class="title is-8 is-light animated preFadeInUp fadeInUp">Fast</h4>
<ul class="custom-bullet-list">
<li class="animated preFadeInUp fadeInUp">
<span>Heavy Dependences Free</span>
<br>
<span class="item-content">Do you remember Yeoman? Or NodeJS dev environments with hundreds of MB of space used? Forget them!</span>
</li>
<li class="animated preFadeInUp fadeInUp">
<span>Less code generation</span>
<br>
<span class="item-content">The files/code are removed from the original boilerplate instead of generating them</span>
</li>
</ul>
</div>
</div>
<div class="column is-5">
<img class="animated preFadeInUp fadeInUp" src="/images/illustrations/fast.svg" alt="">
</div>
</div>
</div>
<div id="tab-2" class="tab-content">
<div class="columns is-vcentered tab-content-wrapper">
<div class="column is-5 is-offset-1">
<div class="text-content">
<h4 class="title is-8 is-light animated preFadeInUp fadeInUp">Download</h4>
<ul class="custom-bullet-list">
<li class="animated preFadeInUp fadeInUp">
<span>Automatically</span>
<br>
<span class="item-content">Download the boilerplate</span>
</li>
<li class="animated preFadeInUp fadeInUp">
<span>Composer</span>
<br>
<span class="item-content">Can execute composer automatically to download everything</span>
</li>
<li class="animated preFadeInUp fadeInUp">
<span>Code Style</span>
<br>
<span class="item-content">Custom URL to specify the PHPCS code style to download</span>
</li>
</ul>
</div>
</div>
<div class="column is-5">
<img class="animated preFadeInUp fadeInUp" src="/images/illustrations/download.svg" alt="">
</div>
</div>
</div>
<div id="tab-3" class="tab-content">
<div class="columns is-vcentered tab-content-wrapper">
<div class="column is-5 is-offset-1">
<div class="text-content">
<h4 class="title is-8 is-light animated preFadeInUp fadeInUp">Replicate</h4>
<ul class="custom-bullet-list">
<li class="animated preFadeInUp fadeInUp">
<span>Config file</span>
<br>
<span class="item-content">The generation is based on a setting file that you can keep and reuse whenever you need</span>
</li>
</ul>
</div>
</div>
<div class="column is-5">
<img class="animated preFadeInUp fadeInUp" src="/images/illustrations/replica.svg" alt="">
</div>
</div>
</div>
<div id="tab-4" class="tab-content">
<div class="columns is-vcentered tab-content-wrapper">
<div class="column is-5 is-offset-1">
<div class="text-content">
<h4 class="title is-8 is-light animated preFadeInUp fadeInUp">Tools</h4>
<ul class="custom-bullet-list">
<li>
<span>Editorconfig</span>
</li>
<li>
<span>WebPack</span>
</li>
<li>
<span>Sass (optional)</span>
</li>
<li>
<span>GrumPHP (optional)</span>
</li>
<li>
<span>Codeception with tests (optional)</span>
</li>
</ul>
</div>
</div>
<div class="column is-5">
<img class="animated preFadeInUp fadeInUp" src="/images/illustrations/tools.svg" alt="">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="section is-light">
<div class="container">
<div class="divider is-centered"></div>
<h2 class="title is-light is-semibold has-text-centered is-spaced">FAQ</h2>
<div class="content-wrapper">
<div class="columns">
<div class="column is-5 is-offset-1">
<div class="accordion">
<div class="accordion-option">
<input type="checkbox" id="toggle1" class="accordion-toggle" />
<label class="accordion-title" for="toggle1">
What is the minimum PHP version supported?
</label>
<div class="accordion-content">
<p>The readme.txt and composer.json refer to PHP >=7.0 as minimum supported version</p>
</div>
</div>
<div class="accordion-option">
<input type="checkbox" id="toggle2" class="accordion-toggle" />
<label class="accordion-title" for="toggle2">
Why another boilerplate?
</label>
<div class="accordion-content">
<p>There are a lot of boilerplates for plugin, and developers prefer to develop their own to adapt it to their style.<br>
According to our experience, a more powerful solution was required: one that is not only a boilerplate with code organization but it's also integrated with libraries and snippets.<br>
At the same time we implemented the generator to speed up our development process and be ready for every request by our clients.</p>
</div>
</div>
<div class="accordion-option">
<input type="checkbox" id="toggle3" class="accordion-toggle" />
<label class="accordion-title" for="toggle3">
Why library X is not integrated?
</label>
<div class="accordion-content">
<p>Good question, we are integrating the most used and general purpose libraries, but <a href="https://github.com/WPBP/WordPress-Plugin-Boilerplate-Powered/issues/new">open a ticket</a> on GitHub for more answers!</p>
</div>
</div>
<div class="accordion-option">
<input type="checkbox" id="toggle4" class="accordion-toggle" />
<label class="accordion-title" for="toggle4">
How I can generate my plugin?
</label>
<div class="accordion-content">
<p>Check the <a href="https://wpbp.github.io/wiki.html">wiki page</a>!</p>
</div>
</div>
</div>
</div>
<div class="column is-5">
<div class="accordion">
<div class="accordion-option">
<input type="checkbox" id="toggle7" class="accordion-toggle" />
<label class="accordion-title" for="toggle7">
There are some libraries from this project, why?
</label>
<div class="accordion-content">
<p>There are a lot of libraries around but sometimes you find yourself missing just the one you need, so we developed our owns to simplify the development process by implementing all the features that we need.</p>
</div>
</div>
<div class="accordion-option">
<input type="checkbox" id="toggle8" class="accordion-toggle" />
<label class="accordion-title" for="toggle8">
The logo is very similar to React!
</label>
<div class="accordion-content">
<p>That's true. Our logo was made on the end of 2016 before in WordPress there was any plan about that technology.</p>
</div>
</div>
<div class="accordion-option">
<input type="checkbox" id="toggle5" class="accordion-toggle" />
<label class="accordion-title" for="toggle5">
I am not a skilled developer...
</label>
<div class="accordion-content">
<p>Test the boilerplate and generate your first plugin, study the code and its organization!</p>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
</div>
<footer class="krypton-footer">
<div class="container">
<!-- Logo -->
<div class="footer-logo">
<a href="#">
<div class="logo">
<img class="rotating" src="/images/logo/wpbp.svg" alt="">
<img class="logo-hover" src="/images/logo/only-wp.svg" alt="">
</div>
<div class="brand-name">WPBP</div>
<div class="brand-subtitle">WordPress Plugin Boilerplate Powered</div>
</a>
</div>
<!-- Columns -->
<div class="columns footer-columns is-vcentered">
<div class="column is-4">
<!-- Links group -->
<ul class="footer-links">
<li>
<a href="https://wpbp.github.io/#why">Why</a>
</li>
<li>
<a href="https://wpbp.github.io/#features">Features</a>
</li>
</ul>
</div>
<div class="column is-4">
<a href="https://github.com/WPBP/WordPress-Plugin-Boilerplate-Powered/" class="button k-button k-primary raised has-gradient slanted">
<span class="text">GITHUB</span>
<span class="front-gradient"></span>
</a>
</div>
<!-- Links group -->
<div class="column is-4">
<ul class="footer-links">
<li>
<a href="https://wpbp.github.io/#generator">Generator</a>
</li>
<li>
<a href="https://wpbp.github.io/wiki.html">Wiki</a>
</li>
</ul>
</div>
</div>
<!-- Copyright -->
<p class="k-copyright">© 2015-2020</p>
<br>
<!-- Made by -->
<p class="coded-by">Designed by Mte90 and based on Krypton theme by <a href="https://cssninja.io" target="_blank">Css Ninja</a><br>
Icons made by <a href="https://www.flaticon.com/authors/becris" title="Becris">Becris</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a> is licensed by <a href="http://creativecommons.org/licenses/by/3.0/" title="Creative Commons BY 3.0" target="_blank">CC 3.0 BY</a></p>
</div>
</footer>
<!-- Core js -->
<script src="js/app.js"></script>
<script src="js/main.js" defer="defer"></script>
</body>
</html>