Advertisement
Guest User

Untitled

a guest
Nov 19th, 2018
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 59.58 KB | None | 0 0
  1. <?php
  2.  
  3. //ACF STYLING
  4. function my_acf_admin_head() {
  5. ?>
  6.  
  7. <style type="text/css">
  8.  
  9. .acf-flexible-content .layout .acf-fc-layout-handle {
  10. /*background-color: #00B8E4;*/
  11. background-color: #202428;
  12. color: #eee;
  13. }
  14.  
  15. .acf-repeater.-row > table > tbody > tr > td,
  16. .acf-repeater.-block > table > tbody > tr > td {
  17. border-top: 20px solid #848484;
  18. }
  19.  
  20. .acf-repeater .acf-row-handle {
  21. vertical-align: top !important;
  22. padding-top: 16px;
  23. }
  24.  
  25. .acf-repeater .acf-row-handle span {
  26. font-size: 20px;
  27. font-weight: bold;
  28. color: #202428;
  29. }
  30.  
  31. .imageUpload img {
  32. width: 75px;
  33. }
  34.  
  35. .acf-repeater .acf-row-handle .acf-icon.-minus {
  36. top: 30px;
  37. }
  38.  
  39. </style>
  40.  
  41. <?php }
  42.  
  43. //ACF IMPORT
  44. if( function_exists('acf_add_local_field_group') ):
  45.  
  46. acf_add_local_field_group(array(
  47. 'key' => 'group_5bc4aaa31337b',
  48. 'title' => 'Jumbotron',
  49. 'fields' => array(
  50. array(
  51. 'key' => 'field_5bc4aaa65f051',
  52. 'label' => 'Jumbotron image',
  53. 'name' => 'jumbotron_image',
  54. 'type' => 'image',
  55. 'instructions' => '',
  56. 'required' => 0,
  57. 'conditional_logic' => 0,
  58. 'wrapper' => array(
  59. 'width' => '',
  60. 'class' => '',
  61. 'id' => '',
  62. ),
  63. 'return_format' => 'array',
  64. 'preview_size' => 'full',
  65. 'library' => 'all',
  66. 'min_width' => '',
  67. 'min_height' => '',
  68. 'min_size' => '',
  69. 'max_width' => '',
  70. 'max_height' => '',
  71. 'max_size' => '',
  72. 'mime_types' => '',
  73. ),
  74. array(
  75. 'key' => 'field_5bc4ac23364d0',
  76. 'label' => 'Jumbotron title top',
  77. 'name' => 'jumbotron_title_top',
  78. 'type' => 'text',
  79. 'instructions' => '',
  80. 'required' => 0,
  81. 'conditional_logic' => 0,
  82. 'wrapper' => array(
  83. 'width' => '',
  84. 'class' => '',
  85. 'id' => '',
  86. ),
  87. 'default_value' => '',
  88. 'placeholder' => '',
  89. 'prepend' => '',
  90. 'append' => '',
  91. 'maxlength' => '',
  92. ),
  93. array(
  94. 'key' => 'field_5bc4ac31364d1',
  95. 'label' => 'Jumbotron title bottom',
  96. 'name' => 'jumbotron_title_bottom',
  97. 'type' => 'text',
  98. 'instructions' => '',
  99. 'required' => 0,
  100. 'conditional_logic' => 0,
  101. 'wrapper' => array(
  102. 'width' => '',
  103. 'class' => '',
  104. 'id' => '',
  105. ),
  106. 'default_value' => '',
  107. 'placeholder' => '',
  108. 'prepend' => '',
  109. 'append' => '',
  110. 'maxlength' => '',
  111. ),
  112. array(
  113. 'key' => 'field_5bc8969a588f5',
  114. 'label' => 'Jumbotron Subtitle',
  115. 'name' => 'jumbotron_subtitle',
  116. 'type' => 'text',
  117. 'instructions' => '',
  118. 'required' => 0,
  119. 'conditional_logic' => 0,
  120. 'wrapper' => array(
  121. 'width' => '',
  122. 'class' => '',
  123. 'id' => '',
  124. ),
  125. 'default_value' => '',
  126. 'placeholder' => '',
  127. 'prepend' => '',
  128. 'append' => '',
  129. 'maxlength' => '',
  130. ),
  131. array(
  132. 'key' => 'field_5bc896a3588f6',
  133. 'label' => 'jumbotron phone number name',
  134. 'name' => 'jumbotron_phone_number_name',
  135. 'type' => 'text',
  136. 'instructions' => '',
  137. 'required' => 0,
  138. 'conditional_logic' => 0,
  139. 'wrapper' => array(
  140. 'width' => '50',
  141. 'class' => '',
  142. 'id' => '',
  143. ),
  144. 'default_value' => '',
  145. 'placeholder' => '',
  146. 'prepend' => '',
  147. 'append' => '',
  148. 'maxlength' => '',
  149. ),
  150. array(
  151. 'key' => 'field_5bd6ed8d0a427',
  152. 'label' => 'jumbotron phone number',
  153. 'name' => 'jumbotron_phone_number',
  154. 'type' => 'number',
  155. 'instructions' => '',
  156. 'required' => 0,
  157. 'conditional_logic' => 0,
  158. 'wrapper' => array(
  159. 'width' => '50',
  160. 'class' => '',
  161. 'id' => '',
  162. ),
  163. 'default_value' => '',
  164. 'placeholder' => '',
  165. 'prepend' => '',
  166. 'append' => '',
  167. 'min' => '',
  168. 'max' => '',
  169. 'step' => '',
  170. ),
  171. array(
  172. 'key' => 'field_5bd6ed970a428',
  173. 'label' => 'jumbotron email name',
  174. 'name' => 'jumbotron_email_name',
  175. 'type' => 'text',
  176. 'instructions' => '',
  177. 'required' => 0,
  178. 'conditional_logic' => 0,
  179. 'wrapper' => array(
  180. 'width' => '50',
  181. 'class' => '',
  182. 'id' => '',
  183. ),
  184. 'default_value' => '',
  185. 'placeholder' => '',
  186. 'prepend' => '',
  187. 'append' => '',
  188. 'maxlength' => '',
  189. ),
  190. array(
  191. 'key' => 'field_5bd6ed9e0a429',
  192. 'label' => 'jumbotron email',
  193. 'name' => 'jumbotron_email',
  194. 'type' => 'email',
  195. 'instructions' => '',
  196. 'required' => 0,
  197. 'conditional_logic' => 0,
  198. 'wrapper' => array(
  199. 'width' => '50',
  200. 'class' => '',
  201. 'id' => '',
  202. ),
  203. 'default_value' => '',
  204. 'placeholder' => '',
  205. 'prepend' => '',
  206. 'append' => '',
  207. ),
  208. ),
  209. 'location' => array(
  210. array(
  211. array(
  212. 'param' => 'page_template',
  213. 'operator' => '==',
  214. 'value' => 'views/template-standard.blade.php',
  215. ),
  216. ),
  217. array(
  218. array(
  219. 'param' => 'page_template',
  220. 'operator' => '==',
  221. 'value' => 'views/template-404.blade.php',
  222. ),
  223. ),
  224. array(
  225. array(
  226. 'param' => 'page_template',
  227. 'operator' => '==',
  228. 'value' => 'views/template-content.blade.php',
  229. ),
  230. ),
  231. ),
  232. 'menu_order' => 1,
  233. 'position' => 'normal',
  234. 'style' => 'default',
  235. 'label_placement' => 'top',
  236. 'instruction_placement' => 'label',
  237. 'hide_on_screen' => array(
  238. 0 => 'permalink',
  239. 1 => 'the_content',
  240. 2 => 'excerpt',
  241. 3 => 'custom_fields',
  242. 4 => 'discussion',
  243. 5 => 'comments',
  244. 6 => 'revisions',
  245. 7 => 'slug',
  246. 8 => 'author',
  247. 9 => 'format',
  248. 10 => 'featured_image',
  249. 11 => 'categories',
  250. 12 => 'tags',
  251. 13 => 'send-trackbacks',
  252. ),
  253. 'active' => 1,
  254. 'description' => '',
  255. ));
  256.  
  257. acf_add_local_field_group(array(
  258. 'key' => 'group_5bc4b40390204',
  259. 'title' => 'Blocks',
  260. 'fields' => array(
  261. array(
  262. 'key' => 'field_5bd70b7ce6a8e',
  263. 'label' => 'Enable blocks?',
  264. 'name' => 'blocks_choice',
  265. 'type' => 'true_false',
  266. 'instructions' => 'Whether or not to display blocks',
  267. 'required' => 0,
  268. 'conditional_logic' => 0,
  269. 'wrapper' => array(
  270. 'width' => '',
  271. 'class' => '',
  272. 'id' => '',
  273. ),
  274. 'message' => '',
  275. 'default_value' => 1,
  276. 'ui' => 1,
  277. 'ui_on_text' => 'On',
  278. 'ui_off_text' => 'Off',
  279. ),
  280. array(
  281. 'key' => 'field_5bd70b7ce6a9e',
  282. 'label' => 'Large block choice',
  283. 'name' => 'large_block_choice',
  284. 'type' => 'select',
  285. 'instructions' => 'whether the first or second block should be larger, only applies if there are two blocks on the page',
  286. 'required' => 0,
  287. 'conditional_logic' => array(
  288. array(
  289. array(
  290. 'field' => 'field_5bd70b7ce6a8e',
  291. 'operator' => '==',
  292. 'value' => '1',
  293. ),
  294. ),
  295. ),
  296. 'wrapper' => array(
  297. 'width' => '',
  298. 'class' => '',
  299. 'id' => '',
  300. ),
  301. 'choices' => array(
  302. 'first' => 'First block',
  303. 'second' => 'Second block',
  304. ),
  305. 'default_value' => array(
  306. 0 => 'First block',
  307. ),
  308. 'allow_null' => 0,
  309. 'multiple' => 0,
  310. 'ui' => 0,
  311. 'ajax' => 0,
  312. 'return_format' => 'value',
  313. 'placeholder' => '',
  314. ),
  315. array(
  316. 'key' => 'field_5bc4b40e1b04c',
  317. 'label' => 'Blocks',
  318. 'name' => 'blocks',
  319. 'type' => 'repeater',
  320. 'instructions' => '',
  321. 'required' => 0,
  322. 'conditional_logic' => array(
  323. array(
  324. array(
  325. 'field' => 'field_5bd70b7ce6a8e',
  326. 'operator' => '==',
  327. 'value' => '1',
  328. ),
  329. ),
  330. ),
  331. 'wrapper' => array(
  332. 'width' => '',
  333. 'class' => '',
  334. 'id' => 'blockrows',
  335. ),
  336. 'collapsed' => 'field_5bd6e8974d7c5',
  337. 'min' => 0,
  338. 'max' => 3,
  339. 'layout' => 'block',
  340. 'button_label' => '',
  341. 'sub_fields' => array(
  342. array(
  343. 'key' => 'field_5bd6e8974d7c5',
  344. 'label' => 'Options',
  345. 'name' => 'options',
  346. 'type' => 'select',
  347. 'instructions' => '',
  348. 'required' => 0,
  349. 'conditional_logic' => 0,
  350. 'wrapper' => array(
  351. 'width' => '',
  352. 'class' => '',
  353. 'id' => '',
  354. ),
  355. 'choices' => array(
  356. 'Image / Title / Paragraph' => 'Image / Title / Paragraph',
  357. 'Image / Title / Paragraph / CTA simple' => 'Image / Title / Paragraph / CTA simple',
  358. 'Title / Paragraph / CTA animated' => 'Title / Paragraph / CTA animated',
  359. 'Title / Logos with text / CTA simple' => 'Title / Logos with text / CTA simple',
  360. 'Title / Paragraph / Logos only' => 'Title / Paragraph / Logos only',
  361. 'Tltle / Contact form' => 'Tltle / Contact form',
  362. ),
  363. 'default_value' => array(
  364. ),
  365. 'allow_null' => 0,
  366. 'multiple' => 0,
  367. 'ui' => 0,
  368. 'ajax' => 0,
  369. 'return_format' => 'value',
  370. 'placeholder' => '',
  371. ),
  372. array(
  373. 'key' => 'field_5bd6e7e54d7ba',
  374. 'label' => 'image',
  375. 'name' => 'image',
  376. 'type' => 'image',
  377. 'instructions' => '',
  378. 'required' => 0,
  379. 'conditional_logic' => array(
  380. array(
  381. array(
  382. 'field' => 'field_5bd6e8974d7c5',
  383. 'operator' => '==',
  384. 'value' => 'Image / Title / Paragraph',
  385. ),
  386. ),
  387. array(
  388. array(
  389. 'field' => 'field_5bd6e8974d7c5',
  390. 'operator' => '==',
  391. 'value' => 'Image / Title / Paragraph / CTA simple',
  392. ),
  393. ),
  394. ),
  395. 'wrapper' => array(
  396. 'width' => '',
  397. 'class' => '',
  398. 'id' => '',
  399. ),
  400. 'return_format' => 'array',
  401. 'preview_size' => 'thumbnail',
  402. 'library' => 'all',
  403. 'min_width' => '',
  404. 'min_height' => '',
  405. 'min_size' => '',
  406. 'max_width' => '',
  407. 'max_height' => '',
  408. 'max_size' => '',
  409. 'mime_types' => '',
  410. ),
  411. array(
  412. 'key' => 'field_5bd6e7ee4d7bb',
  413. 'label' => 'title',
  414. 'name' => 'title',
  415. 'type' => 'textarea',
  416. 'instructions' => '',
  417. 'required' => 0,
  418. 'conditional_logic' => array(
  419. array(
  420. array(
  421. 'field' => 'field_5bd6e8974d7c5',
  422. 'operator' => '==',
  423. 'value' => 'Image / Title / Paragraph',
  424. ),
  425. ),
  426. array(
  427. array(
  428. 'field' => 'field_5bd6e8974d7c5',
  429. 'operator' => '==',
  430. 'value' => 'Image / Title / Paragraph / CTA simple',
  431. ),
  432. ),
  433. array(
  434. array(
  435. 'field' => 'field_5bd6e8974d7c5',
  436. 'operator' => '==',
  437. 'value' => 'Title / Paragraph / CTA animated',
  438. ),
  439. ),
  440. array(
  441. array(
  442. 'field' => 'field_5bd6e8974d7c5',
  443. 'operator' => '==',
  444. 'value' => 'Title / Logos with text / CTA simple',
  445. ),
  446. ),
  447. array(
  448. array(
  449. 'field' => 'field_5bd6e8974d7c5',
  450. 'operator' => '==',
  451. 'value' => 'Title / Paragraph / Logos only',
  452. ),
  453. ),
  454. ),
  455. 'wrapper' => array(
  456. 'width' => '',
  457. 'class' => '',
  458. 'id' => '',
  459. ),
  460. 'default_value' => '',
  461. 'placeholder' => '',
  462. 'maxlength' => '',
  463. 'rows' => 2,
  464. 'new_lines' => 'br',
  465. ),
  466. array(
  467. 'key' => 'field_5bd6e81b4d7bc',
  468. 'label' => 'paragraph',
  469. 'name' => 'paragraph',
  470. 'type' => 'textarea',
  471. 'instructions' => '',
  472. 'required' => 0,
  473. 'conditional_logic' => array(
  474. array(
  475. array(
  476. 'field' => 'field_5bd6e8974d7c5',
  477. 'operator' => '==',
  478. 'value' => 'Image / Title / Paragraph',
  479. ),
  480. ),
  481. array(
  482. array(
  483. 'field' => 'field_5bd6e8974d7c5',
  484. 'operator' => '==',
  485. 'value' => 'Image / Title / Paragraph / CTA simple',
  486. ),
  487. ),
  488. array(
  489. array(
  490. 'field' => 'field_5bd6e8974d7c5',
  491. 'operator' => '==',
  492. 'value' => 'Title / Paragraph / CTA animated',
  493. ),
  494. ),
  495. array(
  496. array(
  497. 'field' => 'field_5bd6e8974d7c5',
  498. 'operator' => '==',
  499. 'value' => 'Title / Paragraph / Logos only',
  500. ),
  501. ),
  502. ),
  503. 'wrapper' => array(
  504. 'width' => '',
  505. 'class' => '',
  506. 'id' => '',
  507. ),
  508. 'default_value' => '',
  509. 'placeholder' => '',
  510. 'maxlength' => '',
  511. 'rows' => 8,
  512. 'new_lines' => 'br',
  513. ),
  514. array(
  515. 'key' => 'field_5bd6e8234d7bd',
  516. 'label' => 'CTA mailing list',
  517. 'name' => 'cta_mail',
  518. 'type' => 'true_false',
  519. 'instructions' => '',
  520. 'required' => 0,
  521. 'conditional_logic' => array(
  522. array(
  523. array(
  524. 'field' => 'field_5bd6e8974d7c5',
  525. 'operator' => '==',
  526. 'value' => 'Image / Title / Paragraph / CTA simple',
  527. ),
  528. ),
  529. array(
  530. array(
  531. 'field' => 'field_5bd6e8974d7c5',
  532. 'operator' => '==',
  533. 'value' => 'Title / Logos with text / CTA simple',
  534. ),
  535. ),
  536. ),
  537. 'wrapper' => array(
  538. 'width' => '50',
  539. 'class' => '',
  540. 'id' => '',
  541. ),
  542. 'message' => '',
  543. 'default_value' => 0,
  544. 'ui' => 0,
  545. 'ui_on_text' => '',
  546. 'ui_off_text' => '',
  547. ),
  548. array(
  549. 'key' => 'field_5be2c9e70db7b',
  550. 'label' => 'CTA contact us',
  551. 'name' => 'cta_contact',
  552. 'type' => 'true_false',
  553. 'instructions' => '',
  554. 'required' => 0,
  555. 'conditional_logic' => array(
  556. array(
  557. array(
  558. 'field' => 'field_5bd6e8974d7c5',
  559. 'operator' => '==',
  560. 'value' => 'Image / Title / Paragraph / CTA simple',
  561. ),
  562. ),
  563. array(
  564. array(
  565. 'field' => 'field_5bd6e8974d7c5',
  566. 'operator' => '==',
  567. 'value' => 'Title / Logos with text / CTA simple',
  568. ),
  569. ),
  570. ),
  571. 'wrapper' => array(
  572. 'width' => '50',
  573. 'class' => '',
  574. 'id' => '',
  575. ),
  576. 'message' => '',
  577. 'default_value' => 0,
  578. 'ui' => 0,
  579. 'ui_on_text' => '',
  580. 'ui_off_text' => '',
  581. ),
  582. array(
  583. 'key' => 'field_5bd6e8374d7bf',
  584. 'label' => 'logo_image_1',
  585. 'name' => 'logo_image_1',
  586. 'type' => 'image',
  587. 'instructions' => '',
  588. 'required' => 0,
  589. 'conditional_logic' => array(
  590. array(
  591. array(
  592. 'field' => 'field_5bd6e8974d7c5',
  593. 'operator' => '==',
  594. 'value' => 'Title / Logos with text / CTA simple',
  595. ),
  596. ),
  597. ),
  598. 'wrapper' => array(
  599. 'width' => '50',
  600. 'class' => '',
  601. 'id' => '',
  602. ),
  603. 'return_format' => 'array',
  604. 'preview_size' => 'thumbnail',
  605. 'library' => 'all',
  606. 'min_width' => '',
  607. 'min_height' => '',
  608. 'min_size' => '',
  609. 'max_width' => '',
  610. 'max_height' => '',
  611. 'max_size' => '',
  612. 'mime_types' => '',
  613. ),
  614. array(
  615. 'key' => 'field_5bd6e8724d7c0',
  616. 'label' => 'logo_text_1',
  617. 'name' => 'logo_text_1',
  618. 'type' => 'text',
  619. 'instructions' => '',
  620. 'required' => 0,
  621. 'conditional_logic' => array(
  622. array(
  623. array(
  624. 'field' => 'field_5bd6e8974d7c5',
  625. 'operator' => '==',
  626. 'value' => 'Title / Logos with text / CTA simple',
  627. ),
  628. ),
  629. ),
  630. 'wrapper' => array(
  631. 'width' => '50',
  632. 'class' => '',
  633. 'id' => '',
  634. ),
  635. 'default_value' => '',
  636. 'placeholder' => '',
  637. 'prepend' => '',
  638. 'append' => '',
  639. 'maxlength' => '',
  640. ),
  641. array(
  642. 'key' => 'field_5bd6e8784d7c1',
  643. 'label' => 'logo_image_2',
  644. 'name' => 'logo_image_2',
  645. 'type' => 'image',
  646. 'instructions' => '',
  647. 'required' => 0,
  648. 'conditional_logic' => array(
  649. array(
  650. array(
  651. 'field' => 'field_5bd6e8974d7c5',
  652. 'operator' => '==',
  653. 'value' => 'Title / Logos with text / CTA simple',
  654. ),
  655. ),
  656. ),
  657. 'wrapper' => array(
  658. 'width' => '50',
  659. 'class' => '',
  660. 'id' => '',
  661. ),
  662. 'return_format' => 'array',
  663. 'preview_size' => 'thumbnail',
  664. 'library' => 'all',
  665. 'min_width' => '',
  666. 'min_height' => '',
  667. 'min_size' => '',
  668. 'max_width' => '',
  669. 'max_height' => '',
  670. 'max_size' => '',
  671. 'mime_types' => '',
  672. ),
  673. array(
  674. 'key' => 'field_5bd6e87e4d7c2',
  675. 'label' => 'logo_text_2',
  676. 'name' => 'logo_text_2',
  677. 'type' => 'text',
  678. 'instructions' => '',
  679. 'required' => 0,
  680. 'conditional_logic' => array(
  681. array(
  682. array(
  683. 'field' => 'field_5bd6e8974d7c5',
  684. 'operator' => '==',
  685. 'value' => 'Title / Logos with text / CTA simple',
  686. ),
  687. ),
  688. ),
  689. 'wrapper' => array(
  690. 'width' => '50',
  691. 'class' => '',
  692. 'id' => '',
  693. ),
  694. 'default_value' => '',
  695. 'placeholder' => '',
  696. 'prepend' => '',
  697. 'append' => '',
  698. 'maxlength' => '',
  699. ),
  700. array(
  701. 'key' => 'field_5bd6e8824d7c3',
  702. 'label' => 'logo_image_3',
  703. 'name' => 'logo_image_3',
  704. 'type' => 'image',
  705. 'instructions' => '',
  706. 'required' => 0,
  707. 'conditional_logic' => array(
  708. array(
  709. array(
  710. 'field' => 'field_5bd6e8974d7c5',
  711. 'operator' => '==',
  712. 'value' => 'Title / Logos with text / CTA simple',
  713. ),
  714. ),
  715. ),
  716. 'wrapper' => array(
  717. 'width' => '50',
  718. 'class' => '',
  719. 'id' => '',
  720. ),
  721. 'return_format' => 'array',
  722. 'preview_size' => 'thumbnail',
  723. 'library' => 'all',
  724. 'min_width' => '',
  725. 'min_height' => '',
  726. 'min_size' => '',
  727. 'max_width' => '',
  728. 'max_height' => '',
  729. 'max_size' => '',
  730. 'mime_types' => '',
  731. ),
  732. array(
  733. 'key' => 'field_5bd6e88a4d7c4',
  734. 'label' => 'logo_text_3',
  735. 'name' => 'logo_text_3',
  736. 'type' => 'text',
  737. 'instructions' => '',
  738. 'required' => 0,
  739. 'conditional_logic' => array(
  740. array(
  741. array(
  742. 'field' => 'field_5bd6e8974d7c5',
  743. 'operator' => '==',
  744. 'value' => 'Title / Logos with text / CTA simple',
  745. ),
  746. ),
  747. ),
  748. 'wrapper' => array(
  749. 'width' => '50',
  750. 'class' => '',
  751. 'id' => '',
  752. ),
  753. 'default_value' => '',
  754. 'placeholder' => '',
  755. 'prepend' => '',
  756. 'append' => '',
  757. 'maxlength' => '',
  758. ),
  759. array(
  760. 'key' => 'field_5bd71917f14ee',
  761. 'label' => 'logo 1',
  762. 'name' => 'logo_1',
  763. 'type' => 'image',
  764. 'instructions' => '',
  765. 'required' => 0,
  766. 'conditional_logic' => array(
  767. array(
  768. array(
  769. 'field' => 'field_5bd6e8974d7c5',
  770. 'operator' => '==',
  771. 'value' => 'Title / Paragraph / Logos only',
  772. ),
  773. ),
  774. ),
  775. 'wrapper' => array(
  776. 'width' => '25',
  777. 'class' => '',
  778. 'id' => '',
  779. ),
  780. 'return_format' => 'array',
  781. 'preview_size' => 'thumbnail',
  782. 'library' => 'all',
  783. 'min_width' => '',
  784. 'min_height' => '',
  785. 'min_size' => '',
  786. 'max_width' => '',
  787. 'max_height' => '',
  788. 'max_size' => '',
  789. 'mime_types' => '',
  790. ),
  791. array(
  792. 'key' => 'field_5bd719d7c067b',
  793. 'label' => 'logo 2',
  794. 'name' => 'logo_2',
  795. 'type' => 'image',
  796. 'instructions' => '',
  797. 'required' => 0,
  798. 'conditional_logic' => array(
  799. array(
  800. array(
  801. 'field' => 'field_5bd6e8974d7c5',
  802. 'operator' => '==',
  803. 'value' => 'Title / Paragraph / Logos only',
  804. ),
  805. ),
  806. ),
  807. 'wrapper' => array(
  808. 'width' => '25',
  809. 'class' => '',
  810. 'id' => '',
  811. ),
  812. 'return_format' => 'array',
  813. 'preview_size' => 'thumbnail',
  814. 'library' => 'all',
  815. 'min_width' => '',
  816. 'min_height' => '',
  817. 'min_size' => '',
  818. 'max_width' => '',
  819. 'max_height' => '',
  820. 'max_size' => '',
  821. 'mime_types' => '',
  822. ),
  823. array(
  824. 'key' => 'field_5bd719e9c067c',
  825. 'label' => 'logo 3',
  826. 'name' => 'logo_3',
  827. 'type' => 'image',
  828. 'instructions' => '',
  829. 'required' => 0,
  830. 'conditional_logic' => array(
  831. array(
  832. array(
  833. 'field' => 'field_5bd6e8974d7c5',
  834. 'operator' => '==',
  835. 'value' => 'Title / Paragraph / Logos only',
  836. ),
  837. ),
  838. ),
  839. 'wrapper' => array(
  840. 'width' => '25',
  841. 'class' => '',
  842. 'id' => '',
  843. ),
  844. 'return_format' => 'array',
  845. 'preview_size' => 'thumbnail',
  846. 'library' => 'all',
  847. 'min_width' => '',
  848. 'min_height' => '',
  849. 'min_size' => '',
  850. 'max_width' => '',
  851. 'max_height' => '',
  852. 'max_size' => '',
  853. 'mime_types' => '',
  854. ),
  855. array(
  856. 'key' => 'field_5bd719fec067d',
  857. 'label' => 'logo 4',
  858. 'name' => 'logo_4',
  859. 'type' => 'image',
  860. 'instructions' => '',
  861. 'required' => 0,
  862. 'conditional_logic' => array(
  863. array(
  864. array(
  865. 'field' => 'field_5bd6e8974d7c5',
  866. 'operator' => '==',
  867. 'value' => 'Title / Paragraph / Logos only',
  868. ),
  869. ),
  870. ),
  871. 'wrapper' => array(
  872. 'width' => '25',
  873. 'class' => '',
  874. 'id' => '',
  875. ),
  876. 'return_format' => 'array',
  877. 'preview_size' => 'thumbnail',
  878. 'library' => 'all',
  879. 'min_width' => '',
  880. 'min_height' => '',
  881. 'min_size' => '',
  882. 'max_width' => '',
  883. 'max_height' => '',
  884. 'max_size' => '',
  885. 'mime_types' => '',
  886. ),
  887. array(
  888. 'key' => 'field_5bd8475629acf',
  889. 'label' => 'Contact form Title',
  890. 'name' => 'contact_form_title',
  891. 'type' => 'text',
  892. 'instructions' => '',
  893. 'required' => 0,
  894. 'conditional_logic' => array(
  895. array(
  896. array(
  897. 'field' => 'field_5bd6e8974d7c5',
  898. 'operator' => '==',
  899. 'value' => 'Tltle / Contact form',
  900. ),
  901. ),
  902. ),
  903. 'wrapper' => array(
  904. 'width' => '',
  905. 'class' => '',
  906. 'id' => '',
  907. ),
  908. 'default_value' => '',
  909. 'placeholder' => '',
  910. 'prepend' => '',
  911. 'append' => '',
  912. 'maxlength' => '',
  913. ),
  914. array(
  915. 'key' => 'field_5bd868a947fa9',
  916. 'label' => 'Contact form code',
  917. 'name' => 'contact_form_code',
  918. 'type' => 'text',
  919. 'instructions' => 'Input the form shortcode here',
  920. 'required' => 0,
  921. 'conditional_logic' => array(
  922. array(
  923. array(
  924. 'field' => 'field_5bd6e8974d7c5',
  925. 'operator' => '==',
  926. 'value' => 'Tltle / Contact form',
  927. ),
  928. ),
  929. ),
  930. 'wrapper' => array(
  931. 'width' => '',
  932. 'class' => '',
  933. 'id' => '',
  934. ),
  935. 'default_value' => '',
  936. 'placeholder' => '[contact-form-7 id="#" title="#"]',
  937. 'prepend' => '',
  938. 'append' => '',
  939. 'maxlength' => '',
  940. ),
  941. array(
  942. 'key' => 'field_5be1816a44484',
  943. 'label' => 'CTA Animated',
  944. 'name' => 'cta_animated',
  945. 'type' => 'true_false',
  946. 'instructions' => '',
  947. 'required' => 0,
  948. 'conditional_logic' => array(
  949. array(
  950. array(
  951. 'field' => 'field_5bd6e8974d7c5',
  952. 'operator' => '==',
  953. 'value' => 'Title / Paragraph / CTA animated',
  954. ),
  955. ),
  956. ),
  957. 'wrapper' => array(
  958. 'width' => '',
  959. 'class' => '',
  960. 'id' => '',
  961. ),
  962. 'message' => '',
  963. 'default_value' => 0,
  964. 'ui' => 0,
  965. 'ui_on_text' => '',
  966. 'ui_off_text' => '',
  967. ),
  968. array(
  969. 'key' => 'field_5bf2c9c828eb7',
  970. 'label' => 'Button page link',
  971. 'name' => 'button_page_link',
  972. 'type' => 'true_false',
  973. 'instructions' => '',
  974. 'required' => 0,
  975. 'conditional_logic' => 0,
  976. 'wrapper' => array(
  977. 'width' => '30',
  978. 'class' => '',
  979. 'id' => '',
  980. ),
  981. 'message' => '',
  982. 'default_value' => 0,
  983. 'ui' => 0,
  984. 'ui_on_text' => '',
  985. 'ui_off_text' => '',
  986. ),
  987. array(
  988. 'key' => 'field_5bf2c9a528eb5',
  989. 'label' => 'Page link text',
  990. 'name' => 'page_link_text',
  991. 'type' => 'text',
  992. 'instructions' => '',
  993. 'required' => 0,
  994. 'conditional_logic' => 0,
  995. 'wrapper' => array(
  996. 'width' => '',
  997. 'class' => '',
  998. 'id' => '',
  999. ),
  1000. 'default_value' => '',
  1001. 'placeholder' => '',
  1002. 'prepend' => '',
  1003. 'append' => '',
  1004. 'maxlength' => '',
  1005. ),
  1006. array(
  1007. 'key' => 'field_5bf2c9bb28eb6',
  1008. 'label' => 'Page link',
  1009. 'name' => 'page_link',
  1010. 'type' => 'text',
  1011. 'instructions' => '',
  1012. 'required' => 0,
  1013. 'conditional_logic' => 0,
  1014. 'wrapper' => array(
  1015. 'width' => '',
  1016. 'class' => '',
  1017. 'id' => '',
  1018. ),
  1019. 'default_value' => '',
  1020. 'placeholder' => '',
  1021. 'prepend' => '',
  1022. 'append' => '',
  1023. 'maxlength' => '',
  1024. ),
  1025. ),
  1026. ),
  1027. ),
  1028. 'location' => array(
  1029. array(
  1030. array(
  1031. 'param' => 'page_template',
  1032. 'operator' => '==',
  1033. 'value' => 'views/template-standard.blade.php',
  1034. ),
  1035. ),
  1036. ),
  1037. 'menu_order' => 3,
  1038. 'position' => 'normal',
  1039. 'style' => 'default',
  1040. 'label_placement' => 'top',
  1041. 'instruction_placement' => 'label',
  1042. 'hide_on_screen' => '',
  1043. 'active' => 1,
  1044. 'description' => '',
  1045. ));
  1046.  
  1047. acf_add_local_field_group(array(
  1048. 'key' => 'group_5bd6efe5d569e',
  1049. 'title' => 'Carousel',
  1050. 'fields' => array(
  1051. array(
  1052. 'key' => 'field_5bd8721f30f47',
  1053. 'label' => 'Enable carousel?',
  1054. 'name' => 'carousel_choice',
  1055. 'type' => 'true_false',
  1056. 'instructions' => 'Whether or not to display the logo carousel',
  1057. 'required' => 0,
  1058. 'conditional_logic' => 0,
  1059. 'wrapper' => array(
  1060. 'width' => '',
  1061. 'class' => '',
  1062. 'id' => '',
  1063. ),
  1064. 'message' => '',
  1065. 'default_value' => 1,
  1066. 'ui' => 1,
  1067. 'ui_on_text' => 'On',
  1068. 'ui_off_text' => 'Off',
  1069. ),
  1070. array(
  1071. 'key' => 'field_5bd6efefc60b7',
  1072. 'label' => 'Carousel',
  1073. 'name' => 'carousel',
  1074. 'type' => 'repeater',
  1075. 'instructions' => '',
  1076. 'required' => 0,
  1077. 'conditional_logic' => array(
  1078. array(
  1079. array(
  1080. 'field' => 'field_5bd8721f30f47',
  1081. 'operator' => '==',
  1082. 'value' => '1',
  1083. ),
  1084. ),
  1085. ),
  1086. 'wrapper' => array(
  1087. 'width' => '',
  1088. 'class' => '',
  1089. 'id' => '',
  1090. ),
  1091. 'collapsed' => '',
  1092. 'min' => 0,
  1093. 'max' => 0,
  1094. 'layout' => 'table',
  1095. 'button_label' => 'Add logo',
  1096. 'sub_fields' => array(
  1097. array(
  1098. 'key' => 'field_5bd6f01779380',
  1099. 'label' => 'Image',
  1100. 'name' => 'image',
  1101. 'type' => 'image',
  1102. 'instructions' => '',
  1103. 'required' => 0,
  1104. 'conditional_logic' => 0,
  1105. 'wrapper' => array(
  1106. 'width' => '10',
  1107. 'class' => '',
  1108. 'id' => '',
  1109. ),
  1110. 'return_format' => 'array',
  1111. 'preview_size' => 'thumbnail',
  1112. 'library' => 'all',
  1113. 'min_width' => '',
  1114. 'min_height' => '',
  1115. 'min_size' => '',
  1116. 'max_width' => '',
  1117. 'max_height' => '',
  1118. 'max_size' => '',
  1119. 'mime_types' => '',
  1120. ),
  1121. array(
  1122. 'key' => 'field_5bd6f0b879381',
  1123. 'label' => 'Link',
  1124. 'name' => 'link',
  1125. 'type' => 'url',
  1126. 'instructions' => '',
  1127. 'required' => 0,
  1128. 'conditional_logic' => 0,
  1129. 'wrapper' => array(
  1130. 'width' => '45',
  1131. 'class' => '',
  1132. 'id' => '',
  1133. ),
  1134. 'default_value' => '',
  1135. 'placeholder' => '',
  1136. ),
  1137. array(
  1138. 'key' => 'field_5bd71d3a20de0',
  1139. 'label' => 'Alt',
  1140. 'name' => 'alt',
  1141. 'type' => 'text',
  1142. 'instructions' => 'Voer hier de bedrijfsnaam in',
  1143. 'required' => 0,
  1144. 'conditional_logic' => 0,
  1145. 'wrapper' => array(
  1146. 'width' => '45',
  1147. 'class' => '',
  1148. 'id' => '',
  1149. ),
  1150. 'default_value' => '',
  1151. 'placeholder' => '',
  1152. 'prepend' => '',
  1153. 'append' => '',
  1154. 'maxlength' => '',
  1155. ),
  1156. ),
  1157. ),
  1158. ),
  1159. 'location' => array(
  1160. array(
  1161. array(
  1162. 'param' => 'page_template',
  1163. 'operator' => '==',
  1164. 'value' => 'views/template-standard.blade.php',
  1165. ),
  1166. ),
  1167. array(
  1168. array(
  1169. 'param' => 'page_template',
  1170. 'operator' => '==',
  1171. 'value' => 'default',
  1172. ),
  1173. ),
  1174. ),
  1175. 'menu_order' => 4,
  1176. 'position' => 'normal',
  1177. 'style' => 'default',
  1178. 'label_placement' => 'top',
  1179. 'instruction_placement' => 'label',
  1180. 'hide_on_screen' => '',
  1181. 'active' => 1,
  1182. 'description' => '',
  1183. ));
  1184.  
  1185. acf_add_local_field_group(array(
  1186. 'key' => 'group_5beaa4104c597',
  1187. 'title' => 'Content',
  1188. 'fields' => array(
  1189. array(
  1190. 'key' => 'field_5beaa41f99bfa',
  1191. 'label' => 'Enable content?',
  1192. 'name' => 'content_choice',
  1193. 'type' => 'true_false',
  1194. 'instructions' => 'Whether or not to display the large white centered field for text',
  1195. 'required' => 0,
  1196. 'conditional_logic' => 0,
  1197. 'wrapper' => array(
  1198. 'width' => '',
  1199. 'class' => '',
  1200. 'id' => '',
  1201. ),
  1202. 'message' => '',
  1203. 'default_value' => 0,
  1204. 'ui' => 1,
  1205. 'ui_on_text' => 'On',
  1206. 'ui_off_text' => 'Off',
  1207. ),
  1208. array(
  1209. 'key' => 'field_5beac9846067d',
  1210. 'label' => 'Enable Comparison sliders?',
  1211. 'name' => 'comparison_choice',
  1212. 'type' => 'true_false',
  1213. 'instructions' => '',
  1214. 'required' => 0,
  1215. 'conditional_logic' => 0,
  1216. 'wrapper' => array(
  1217. 'width' => '',
  1218. 'class' => '',
  1219. 'id' => '',
  1220. ),
  1221. 'message' => '',
  1222. 'default_value' => 0,
  1223. 'ui' => 1,
  1224. 'ui_on_text' => 'On',
  1225. 'ui_off_text' => 'Off',
  1226. ),
  1227. array(
  1228. 'key' => 'field_5bec0c5edda05',
  1229. 'label' => 'Comparison',
  1230. 'name' => 'comparison',
  1231. 'type' => 'repeater',
  1232. 'instructions' => '',
  1233. 'required' => 0,
  1234. 'conditional_logic' => array(
  1235. array(
  1236. array(
  1237. 'field' => 'field_5beac9846067d',
  1238. 'operator' => '==',
  1239. 'value' => '1',
  1240. ),
  1241. ),
  1242. ),
  1243. 'wrapper' => array(
  1244. 'width' => '50',
  1245. 'class' => '',
  1246. 'id' => '',
  1247. ),
  1248. 'collapsed' => '',
  1249. 'min' => 0,
  1250. 'max' => 0,
  1251. 'layout' => 'table',
  1252. 'button_label' => '',
  1253. 'sub_fields' => array(
  1254. array(
  1255. 'key' => 'field_5bec0c77dda06',
  1256. 'label' => 'image before',
  1257. 'name' => 'image_before',
  1258. 'type' => 'image',
  1259. 'instructions' => '',
  1260. 'required' => 0,
  1261. 'conditional_logic' => 0,
  1262. 'wrapper' => array(
  1263. 'width' => '50',
  1264. 'class' => '',
  1265. 'id' => '',
  1266. ),
  1267. 'return_format' => 'url',
  1268. 'preview_size' => 'thumbnail',
  1269. 'library' => 'all',
  1270. 'min_width' => '',
  1271. 'min_height' => '',
  1272. 'min_size' => '',
  1273. 'max_width' => '',
  1274. 'max_height' => '',
  1275. 'max_size' => '',
  1276. 'mime_types' => '',
  1277. ),
  1278. array(
  1279. 'key' => 'field_5bec0c8adda07',
  1280. 'label' => 'image after',
  1281. 'name' => 'image_after',
  1282. 'type' => 'image',
  1283. 'instructions' => '',
  1284. 'required' => 0,
  1285. 'conditional_logic' => 0,
  1286. 'wrapper' => array(
  1287. 'width' => '50',
  1288. 'class' => '',
  1289. 'id' => '',
  1290. ),
  1291. 'return_format' => 'url',
  1292. 'preview_size' => 'thumbnail',
  1293. 'library' => 'all',
  1294. 'min_width' => '',
  1295. 'min_height' => '',
  1296. 'min_size' => '',
  1297. 'max_width' => '',
  1298. 'max_height' => '',
  1299. 'max_size' => '',
  1300. 'mime_types' => '',
  1301. ),
  1302. ),
  1303. ),
  1304. array(
  1305. 'key' => 'field_5beaa44899bfb',
  1306. 'label' => 'Paragraph',
  1307. 'name' => 'content_paragraph',
  1308. 'type' => 'textarea',
  1309. 'instructions' => '',
  1310. 'required' => 0,
  1311. 'conditional_logic' => array(
  1312. array(
  1313. array(
  1314. 'field' => 'field_5beaa41f99bfa',
  1315. 'operator' => '==',
  1316. 'value' => '1',
  1317. ),
  1318. ),
  1319. ),
  1320. 'wrapper' => array(
  1321. 'width' => '50',
  1322. 'class' => '',
  1323. 'id' => '',
  1324. ),
  1325. 'default_value' => '',
  1326. 'placeholder' => '',
  1327. 'maxlength' => '',
  1328. 'rows' => 20,
  1329. 'new_lines' => 'br',
  1330. ),
  1331. ),
  1332. 'location' => array(
  1333. array(
  1334. array(
  1335. 'param' => 'page_template',
  1336. 'operator' => '==',
  1337. 'value' => 'views/template-standard.blade.php',
  1338. ),
  1339. ),
  1340. ),
  1341. 'menu_order' => 2,
  1342. 'position' => 'normal',
  1343. 'style' => 'default',
  1344. 'label_placement' => 'top',
  1345. 'instruction_placement' => 'label',
  1346. 'hide_on_screen' => '',
  1347. 'active' => 1,
  1348. 'description' => '',
  1349. ));
  1350.  
  1351.  
  1352. acf_add_local_field_group(array(
  1353. 'key' => 'group_5bc45e19e0f36',
  1354. 'title' => 'Contact',
  1355. 'fields' => array(
  1356. array(
  1357. 'key' => 'field_5bd872d7affec',
  1358. 'label' => 'Enable contact?',
  1359. 'name' => 'contact_choice',
  1360. 'type' => 'true_false',
  1361. 'instructions' => 'Whether or not to display the contact segment above the footer',
  1362. 'required' => 0,
  1363. 'conditional_logic' => 0,
  1364. 'wrapper' => array(
  1365. 'width' => '',
  1366. 'class' => '',
  1367. 'id' => '',
  1368. ),
  1369. 'message' => '',
  1370. 'default_value' => 1,
  1371. 'ui' => 1,
  1372. 'ui_on_text' => 'On',
  1373. 'ui_off_text' => 'Off',
  1374. ),
  1375. array(
  1376. 'key' => 'field_5bc45e273b211',
  1377. 'label' => 'Map',
  1378. 'name' => 'map',
  1379. 'type' => 'google_map',
  1380. 'instructions' => '',
  1381. 'required' => 0,
  1382. 'conditional_logic' => array(
  1383. array(
  1384. array(
  1385. 'field' => 'field_5bd872d7affec',
  1386. 'operator' => '==',
  1387. 'value' => '1',
  1388. ),
  1389. ),
  1390. ),
  1391. 'wrapper' => array(
  1392. 'width' => '',
  1393. 'class' => '',
  1394. 'id' => '',
  1395. ),
  1396. 'center_lat' => '51.326112',
  1397. 'center_lng' => '6.088412',
  1398. 'zoom' => '',
  1399. 'height' => '',
  1400. ),
  1401. array(
  1402. 'key' => 'field_5bc470f3f81a1',
  1403. 'label' => 'Phone number',
  1404. 'name' => 'phone_number',
  1405. 'type' => 'number',
  1406. 'instructions' => '',
  1407. 'required' => 0,
  1408. 'conditional_logic' => array(
  1409. array(
  1410. array(
  1411. 'field' => 'field_5bd872d7affec',
  1412. 'operator' => '==',
  1413. 'value' => '1',
  1414. ),
  1415. ),
  1416. ),
  1417. 'wrapper' => array(
  1418. 'width' => '50',
  1419. 'class' => '',
  1420. 'id' => '',
  1421. ),
  1422. 'default_value' => '',
  1423. 'placeholder' => '',
  1424. 'prepend' => '',
  1425. 'append' => '',
  1426. 'min' => '',
  1427. 'max' => '',
  1428. 'step' => '',
  1429. ),
  1430. array(
  1431. 'key' => 'field_5bdaeb1384a07',
  1432. 'label' => 'Contact form title',
  1433. 'name' => 'contact_form_title',
  1434. 'type' => 'text',
  1435. 'instructions' => '',
  1436. 'required' => 0,
  1437. 'conditional_logic' => array(
  1438. array(
  1439. array(
  1440. 'field' => 'field_5bd872d7affec',
  1441. 'operator' => '==',
  1442. 'value' => '1',
  1443. ),
  1444. ),
  1445. ),
  1446. 'wrapper' => array(
  1447. 'width' => '50',
  1448. 'class' => '',
  1449. 'id' => '',
  1450. ),
  1451. 'default_value' => '',
  1452. 'placeholder' => '',
  1453. 'prepend' => '',
  1454. 'append' => '',
  1455. 'maxlength' => '',
  1456. ),
  1457. array(
  1458. 'key' => 'field_5bc4710df81a2',
  1459. 'label' => 'Adres',
  1460. 'name' => 'adres',
  1461. 'type' => 'textarea',
  1462. 'instructions' => '',
  1463. 'required' => 0,
  1464. 'conditional_logic' => array(
  1465. array(
  1466. array(
  1467. 'field' => 'field_5bd872d7affec',
  1468. 'operator' => '==',
  1469. 'value' => '1',
  1470. ),
  1471. ),
  1472. ),
  1473. 'wrapper' => array(
  1474. 'width' => '50',
  1475. 'class' => '',
  1476. 'id' => '',
  1477. ),
  1478. 'default_value' => '',
  1479. 'placeholder' => '',
  1480. 'maxlength' => '',
  1481. 'rows' => 2,
  1482. 'new_lines' => 'br',
  1483. ),
  1484. array(
  1485. 'key' => 'field_5bdaeb0184a06',
  1486. 'label' => 'Contact form shortcode',
  1487. 'name' => 'contact_form_shortcode',
  1488. 'type' => 'text',
  1489. 'instructions' => '',
  1490. 'required' => 0,
  1491. 'conditional_logic' => array(
  1492. array(
  1493. array(
  1494. 'field' => 'field_5bd872d7affec',
  1495. 'operator' => '==',
  1496. 'value' => '1',
  1497. ),
  1498. ),
  1499. ),
  1500. 'wrapper' => array(
  1501. 'width' => '50',
  1502. 'class' => '',
  1503. 'id' => '',
  1504. ),
  1505. 'default_value' => '',
  1506. 'placeholder' => '',
  1507. 'prepend' => '',
  1508. 'append' => '',
  1509. 'maxlength' => '',
  1510. ),
  1511. array(
  1512. 'key' => 'field_5bc4711ff81a3',
  1513. 'label' => 'Open hours',
  1514. 'name' => 'open_hours',
  1515. 'type' => 'textarea',
  1516. 'instructions' => '',
  1517. 'required' => 0,
  1518. 'conditional_logic' => array(
  1519. array(
  1520. array(
  1521. 'field' => 'field_5bd872d7affec',
  1522. 'operator' => '==',
  1523. 'value' => '1',
  1524. ),
  1525. ),
  1526. ),
  1527. 'wrapper' => array(
  1528. 'width' => '50',
  1529. 'class' => '',
  1530. 'id' => '',
  1531. ),
  1532. 'default_value' => '',
  1533. 'placeholder' => '',
  1534. 'maxlength' => '',
  1535. 'rows' => 7,
  1536. 'new_lines' => 'br',
  1537. ),
  1538. array(
  1539. 'key' => 'field_5bdb1dfb08dbd',
  1540. 'label' => 'Email',
  1541. 'name' => 'email',
  1542. 'type' => 'email',
  1543. 'instructions' => '',
  1544. 'required' => 0,
  1545. 'conditional_logic' => array(
  1546. array(
  1547. array(
  1548. 'field' => 'field_5bd872d7affec',
  1549. 'operator' => '==',
  1550. 'value' => '1',
  1551. ),
  1552. ),
  1553. ),
  1554. 'wrapper' => array(
  1555. 'width' => '',
  1556. 'class' => '',
  1557. 'id' => '',
  1558. ),
  1559. 'default_value' => '',
  1560. 'placeholder' => '',
  1561. 'prepend' => '',
  1562. 'append' => '',
  1563. ),
  1564. array(
  1565. 'key' => 'field_5bdb1e3b08dbe',
  1566. 'label' => 'facebook link',
  1567. 'name' => 'facebook',
  1568. 'type' => 'url',
  1569. 'instructions' => '',
  1570. 'required' => 0,
  1571. 'conditional_logic' => array(
  1572. array(
  1573. array(
  1574. 'field' => 'field_5bd872d7affec',
  1575. 'operator' => '==',
  1576. 'value' => '1',
  1577. ),
  1578. ),
  1579. ),
  1580. 'wrapper' => array(
  1581. 'width' => '',
  1582. 'class' => '',
  1583. 'id' => '',
  1584. ),
  1585. 'default_value' => '',
  1586. 'placeholder' => '',
  1587. ),
  1588. ),
  1589. 'location' => array(
  1590. array(
  1591. array(
  1592. 'param' => 'page_template',
  1593. 'operator' => '==',
  1594. 'value' => 'views/template-standard.blade.php',
  1595. ),
  1596. ),
  1597. ),
  1598. 'menu_order' => 5,
  1599. 'position' => 'normal',
  1600. 'style' => 'default',
  1601. 'label_placement' => 'top',
  1602. 'instruction_placement' => 'label',
  1603. 'hide_on_screen' => '',
  1604. 'active' => 1,
  1605. 'description' => '',
  1606. ));
  1607.  
  1608. endif;
  1609. if( function_exists('acf_add_local_field_group') ):
  1610.  
  1611. acf_add_local_field_group(array(
  1612. 'key' => 'group_5bc4aaa31337b',
  1613. 'title' => 'Jumbotron',
  1614. 'fields' => array(
  1615. array(
  1616. 'key' => 'field_5bc4aaa65f051',
  1617. 'label' => 'Jumbotron image',
  1618. 'name' => 'jumbotron_image',
  1619. 'type' => 'image',
  1620. 'instructions' => '',
  1621. 'required' => 0,
  1622. 'conditional_logic' => 0,
  1623. 'wrapper' => array(
  1624. 'width' => '',
  1625. 'class' => '',
  1626. 'id' => '',
  1627. ),
  1628. 'return_format' => 'array',
  1629. 'preview_size' => 'full',
  1630. 'library' => 'all',
  1631. 'min_width' => '',
  1632. 'min_height' => '',
  1633. 'min_size' => '',
  1634. 'max_width' => '',
  1635. 'max_height' => '',
  1636. 'max_size' => '',
  1637. 'mime_types' => '',
  1638. ),
  1639. array(
  1640. 'key' => 'field_5bc4ac23364d0',
  1641. 'label' => 'Jumbotron title top',
  1642. 'name' => 'jumbotron_title_top',
  1643. 'type' => 'text',
  1644. 'instructions' => '',
  1645. 'required' => 0,
  1646. 'conditional_logic' => 0,
  1647. 'wrapper' => array(
  1648. 'width' => '',
  1649. 'class' => '',
  1650. 'id' => '',
  1651. ),
  1652. 'default_value' => '',
  1653. 'placeholder' => '',
  1654. 'prepend' => '',
  1655. 'append' => '',
  1656. 'maxlength' => '',
  1657. ),
  1658. array(
  1659. 'key' => 'field_5bc4ac31364d1',
  1660. 'label' => 'Jumbotron title bottom',
  1661. 'name' => 'jumbotron_title_bottom',
  1662. 'type' => 'text',
  1663. 'instructions' => '',
  1664. 'required' => 0,
  1665. 'conditional_logic' => 0,
  1666. 'wrapper' => array(
  1667. 'width' => '',
  1668. 'class' => '',
  1669. 'id' => '',
  1670. ),
  1671. 'default_value' => '',
  1672. 'placeholder' => '',
  1673. 'prepend' => '',
  1674. 'append' => '',
  1675. 'maxlength' => '',
  1676. ),
  1677. array(
  1678. 'key' => 'field_5bc8969a588f5',
  1679. 'label' => 'Jumbotron Subtitle',
  1680. 'name' => 'jumbotron_subtitle',
  1681. 'type' => 'text',
  1682. 'instructions' => '',
  1683. 'required' => 0,
  1684. 'conditional_logic' => 0,
  1685. 'wrapper' => array(
  1686. 'width' => '',
  1687. 'class' => '',
  1688. 'id' => '',
  1689. ),
  1690. 'default_value' => '',
  1691. 'placeholder' => '',
  1692. 'prepend' => '',
  1693. 'append' => '',
  1694. 'maxlength' => '',
  1695. ),
  1696. array(
  1697. 'key' => 'field_5bc896a3588f6',
  1698. 'label' => 'jumbotron phone number name',
  1699. 'name' => 'jumbotron_phone_number_name',
  1700. 'type' => 'text',
  1701. 'instructions' => '',
  1702. 'required' => 0,
  1703. 'conditional_logic' => 0,
  1704. 'wrapper' => array(
  1705. 'width' => '50',
  1706. 'class' => '',
  1707. 'id' => '',
  1708. ),
  1709. 'default_value' => '',
  1710. 'placeholder' => '',
  1711. 'prepend' => '',
  1712. 'append' => '',
  1713. 'maxlength' => '',
  1714. ),
  1715. array(
  1716. 'key' => 'field_5bd6ed8d0a427',
  1717. 'label' => 'jumbotron phone number',
  1718. 'name' => 'jumbotron_phone_number',
  1719. 'type' => 'number',
  1720. 'instructions' => '',
  1721. 'required' => 0,
  1722. 'conditional_logic' => 0,
  1723. 'wrapper' => array(
  1724. 'width' => '50',
  1725. 'class' => '',
  1726. 'id' => '',
  1727. ),
  1728. 'default_value' => '',
  1729. 'placeholder' => '',
  1730. 'prepend' => '',
  1731. 'append' => '',
  1732. 'min' => '',
  1733. 'max' => '',
  1734. 'step' => '',
  1735. ),
  1736. array(
  1737. 'key' => 'field_5bd6ed970a428',
  1738. 'label' => 'jumbotron email name',
  1739. 'name' => 'jumbotron_email_name',
  1740. 'type' => 'text',
  1741. 'instructions' => '',
  1742. 'required' => 0,
  1743. 'conditional_logic' => 0,
  1744. 'wrapper' => array(
  1745. 'width' => '50',
  1746. 'class' => '',
  1747. 'id' => '',
  1748. ),
  1749. 'default_value' => '',
  1750. 'placeholder' => '',
  1751. 'prepend' => '',
  1752. 'append' => '',
  1753. 'maxlength' => '',
  1754. ),
  1755. array(
  1756. 'key' => 'field_5bd6ed9e0a429',
  1757. 'label' => 'jumbotron email',
  1758. 'name' => 'jumbotron_email',
  1759. 'type' => 'email',
  1760. 'instructions' => '',
  1761. 'required' => 0,
  1762. 'conditional_logic' => 0,
  1763. 'wrapper' => array(
  1764. 'width' => '50',
  1765. 'class' => '',
  1766. 'id' => '',
  1767. ),
  1768. 'default_value' => '',
  1769. 'placeholder' => '',
  1770. 'prepend' => '',
  1771. 'append' => '',
  1772. ),
  1773. ),
  1774. 'location' => array(
  1775. array(
  1776. array(
  1777. 'param' => 'page_template',
  1778. 'operator' => '==',
  1779. 'value' => 'views/template-standard.blade.php',
  1780. ),
  1781. ),
  1782. array(
  1783. array(
  1784. 'param' => 'page_template',
  1785. 'operator' => '==',
  1786. 'value' => 'views/template-404.blade.php',
  1787. ),
  1788. ),
  1789. array(
  1790. array(
  1791. 'param' => 'page_template',
  1792. 'operator' => '==',
  1793. 'value' => 'views/template-content.blade.php',
  1794. ),
  1795. ),
  1796. ),
  1797. 'menu_order' => 1,
  1798. 'position' => 'normal',
  1799. 'style' => 'default',
  1800. 'label_placement' => 'top',
  1801. 'instruction_placement' => 'label',
  1802. 'hide_on_screen' => array(
  1803. 0 => 'permalink',
  1804. 1 => 'the_content',
  1805. 2 => 'excerpt',
  1806. 3 => 'custom_fields',
  1807. 4 => 'discussion',
  1808. 5 => 'comments',
  1809. 6 => 'revisions',
  1810. 7 => 'slug',
  1811. 8 => 'author',
  1812. 9 => 'format',
  1813. 10 => 'featured_image',
  1814. 11 => 'categories',
  1815. 12 => 'tags',
  1816. 13 => 'send-trackbacks',
  1817. ),
  1818. 'active' => 1,
  1819. 'description' => '',
  1820. ));
  1821.  
  1822. acf_add_local_field_group(array(
  1823. 'key' => 'group_5bd6efe5d569e',
  1824. 'title' => 'Carousel',
  1825. 'fields' => array(
  1826. array(
  1827. 'key' => 'field_5bd8721f30f47',
  1828. 'label' => 'Carousel choice',
  1829. 'name' => 'carousel_choice',
  1830. 'type' => 'true_false',
  1831. 'instructions' => '',
  1832. 'required' => 0,
  1833. 'conditional_logic' => 0,
  1834. 'wrapper' => array(
  1835. 'width' => '',
  1836. 'class' => '',
  1837. 'id' => '',
  1838. ),
  1839. 'message' => '',
  1840. 'default_value' => 1,
  1841. 'ui' => 0,
  1842. 'ui_on_text' => '',
  1843. 'ui_off_text' => '',
  1844. ),
  1845. array(
  1846. 'key' => 'field_5bd6efefc60b7',
  1847. 'label' => 'Carousel',
  1848. 'name' => 'carousel',
  1849. 'type' => 'repeater',
  1850. 'instructions' => '',
  1851. 'required' => 0,
  1852. 'conditional_logic' => array(
  1853. array(
  1854. array(
  1855. 'field' => 'field_5bd8721f30f47',
  1856. 'operator' => '==',
  1857. 'value' => '1',
  1858. ),
  1859. ),
  1860. ),
  1861. 'wrapper' => array(
  1862. 'width' => '',
  1863. 'class' => '',
  1864. 'id' => '',
  1865. ),
  1866. 'collapsed' => '',
  1867. 'min' => 0,
  1868. 'max' => 0,
  1869. 'layout' => 'table',
  1870. 'button_label' => 'Add logo',
  1871. 'sub_fields' => array(
  1872. array(
  1873. 'key' => 'field_5bd6f01779380',
  1874. 'label' => 'Image',
  1875. 'name' => 'image',
  1876. 'type' => 'image',
  1877. 'instructions' => '',
  1878. 'required' => 0,
  1879. 'conditional_logic' => 0,
  1880. 'wrapper' => array(
  1881. 'width' => '10',
  1882. 'class' => '',
  1883. 'id' => '',
  1884. ),
  1885. 'return_format' => 'array',
  1886. 'preview_size' => 'thumbnail',
  1887. 'library' => 'all',
  1888. 'min_width' => '',
  1889. 'min_height' => '',
  1890. 'min_size' => '',
  1891. 'max_width' => '',
  1892. 'max_height' => '',
  1893. 'max_size' => '',
  1894. 'mime_types' => '',
  1895. ),
  1896. array(
  1897. 'key' => 'field_5bd6f0b879381',
  1898. 'label' => 'Link',
  1899. 'name' => 'link',
  1900. 'type' => 'url',
  1901. 'instructions' => '',
  1902. 'required' => 0,
  1903. 'conditional_logic' => 0,
  1904. 'wrapper' => array(
  1905. 'width' => '45',
  1906. 'class' => '',
  1907. 'id' => '',
  1908. ),
  1909. 'default_value' => '',
  1910. 'placeholder' => '',
  1911. ),
  1912. array(
  1913. 'key' => 'field_5bd71d3a20de0',
  1914. 'label' => 'Alt',
  1915. 'name' => 'alt',
  1916. 'type' => 'text',
  1917. 'instructions' => 'Voer hier de bedrijfsnaam in',
  1918. 'required' => 0,
  1919. 'conditional_logic' => 0,
  1920. 'wrapper' => array(
  1921. 'width' => '45',
  1922. 'class' => '',
  1923. 'id' => '',
  1924. ),
  1925. 'default_value' => '',
  1926. 'placeholder' => '',
  1927. 'prepend' => '',
  1928. 'append' => '',
  1929. 'maxlength' => '',
  1930. ),
  1931. ),
  1932. ),
  1933. ),
  1934. 'location' => array(
  1935. array(
  1936. array(
  1937. 'param' => 'page_template',
  1938. 'operator' => '==',
  1939. 'value' => 'views/template-standard.blade.php',
  1940. ),
  1941. ),
  1942. array(
  1943. array(
  1944. 'param' => 'page_template',
  1945. 'operator' => '==',
  1946. 'value' => 'default',
  1947. ),
  1948. ),
  1949. ),
  1950. 'menu_order' => 3,
  1951. 'position' => 'normal',
  1952. 'style' => 'default',
  1953. 'label_placement' => 'top',
  1954. 'instruction_placement' => 'label',
  1955. 'hide_on_screen' => '',
  1956. 'active' => 1,
  1957. 'description' => '',
  1958. ));
  1959.  
  1960. acf_add_local_field_group(array(
  1961. 'key' => 'group_5bd83dfbe9f27',
  1962. 'title' => 'Content',
  1963. 'fields' => array(
  1964. array(
  1965. 'key' => 'field_5bd83dfe41eea',
  1966. 'label' => 'Paragraph',
  1967. 'name' => 'content_paragraph',
  1968. 'type' => 'textarea',
  1969. 'instructions' => '',
  1970. 'required' => 0,
  1971. 'conditional_logic' => 0,
  1972. 'wrapper' => array(
  1973. 'width' => '',
  1974. 'class' => '',
  1975. 'id' => '',
  1976. ),
  1977. 'default_value' => '',
  1978. 'placeholder' => '',
  1979. 'maxlength' => '',
  1980. 'rows' => 40,
  1981. 'new_lines' => 'br',
  1982. ),
  1983. ),
  1984. 'location' => array(
  1985. array(
  1986. array(
  1987. 'param' => 'page_template',
  1988. 'operator' => '==',
  1989. 'value' => 'views/template-content.blade.php',
  1990. ),
  1991. ),
  1992. ),
  1993. 'menu_order' => 4,
  1994. 'position' => 'normal',
  1995. 'style' => 'default',
  1996. 'label_placement' => 'top',
  1997. 'instruction_placement' => 'label',
  1998. 'hide_on_screen' => '',
  1999. 'active' => 1,
  2000. 'description' => '',
  2001. ));
  2002.  
  2003. acf_add_local_field_group(array(
  2004. 'key' => 'group_5bc45e19e0f36',
  2005. 'title' => 'Contact',
  2006. 'fields' => array(
  2007. array(
  2008. 'key' => 'field_5bd872d7affec',
  2009. 'label' => 'Contact choice',
  2010. 'name' => 'contact_choice',
  2011. 'type' => 'true_false',
  2012. 'instructions' => '',
  2013. 'required' => 0,
  2014. 'conditional_logic' => 0,
  2015. 'wrapper' => array(
  2016. 'width' => '',
  2017. 'class' => '',
  2018. 'id' => '',
  2019. ),
  2020. 'message' => '',
  2021. 'default_value' => 1,
  2022. 'ui' => 0,
  2023. 'ui_on_text' => '',
  2024. 'ui_off_text' => '',
  2025. ),
  2026. array(
  2027. 'key' => 'field_5bc45e273b211',
  2028. 'label' => 'Map',
  2029. 'name' => 'map',
  2030. 'type' => 'google_map',
  2031. 'instructions' => '',
  2032. 'required' => 0,
  2033. 'conditional_logic' => array(
  2034. array(
  2035. array(
  2036. 'field' => 'field_5bd872d7affec',
  2037. 'operator' => '==',
  2038. 'value' => '1',
  2039. ),
  2040. ),
  2041. ),
  2042. 'wrapper' => array(
  2043. 'width' => '',
  2044. 'class' => '',
  2045. 'id' => '',
  2046. ),
  2047. 'center_lat' => '51.326112',
  2048. 'center_lng' => '6.088412',
  2049. 'zoom' => '',
  2050. 'height' => '',
  2051. ),
  2052. array(
  2053. 'key' => 'field_5bc470f3f81a1',
  2054. 'label' => 'Phone number',
  2055. 'name' => 'phone_number',
  2056. 'type' => 'number',
  2057. 'instructions' => '',
  2058. 'required' => 0,
  2059. 'conditional_logic' => array(
  2060. array(
  2061. array(
  2062. 'field' => 'field_5bd872d7affec',
  2063. 'operator' => '==',
  2064. 'value' => '1',
  2065. ),
  2066. ),
  2067. ),
  2068. 'wrapper' => array(
  2069. 'width' => '50',
  2070. 'class' => '',
  2071. 'id' => '',
  2072. ),
  2073. 'default_value' => '',
  2074. 'placeholder' => '',
  2075. 'prepend' => '',
  2076. 'append' => '',
  2077. 'min' => '',
  2078. 'max' => '',
  2079. 'step' => '',
  2080. ),
  2081. array(
  2082. 'key' => 'field_5bdaeb1384a07',
  2083. 'label' => 'Contact form title',
  2084. 'name' => 'contact_form_title',
  2085. 'type' => 'text',
  2086. 'instructions' => '',
  2087. 'required' => 0,
  2088. 'conditional_logic' => 0,
  2089. 'wrapper' => array(
  2090. 'width' => '50',
  2091. 'class' => '',
  2092. 'id' => '',
  2093. ),
  2094. 'default_value' => '',
  2095. 'placeholder' => '',
  2096. 'prepend' => '',
  2097. 'append' => '',
  2098. 'maxlength' => '',
  2099. ),
  2100. array(
  2101. 'key' => 'field_5bc4710df81a2',
  2102. 'label' => 'Adres',
  2103. 'name' => 'adres',
  2104. 'type' => 'textarea',
  2105. 'instructions' => '',
  2106. 'required' => 0,
  2107. 'conditional_logic' => array(
  2108. array(
  2109. array(
  2110. 'field' => 'field_5bd872d7affec',
  2111. 'operator' => '==',
  2112. 'value' => '1',
  2113. ),
  2114. ),
  2115. ),
  2116. 'wrapper' => array(
  2117. 'width' => '50',
  2118. 'class' => '',
  2119. 'id' => '',
  2120. ),
  2121. 'default_value' => '',
  2122. 'placeholder' => '',
  2123. 'maxlength' => '',
  2124. 'rows' => 2,
  2125. 'new_lines' => 'br',
  2126. ),
  2127. array(
  2128. 'key' => 'field_5bdaeb0184a06',
  2129. 'label' => 'Contact form shortcode',
  2130. 'name' => 'contact_form_shortcode',
  2131. 'type' => 'text',
  2132. 'instructions' => '',
  2133. 'required' => 0,
  2134. 'conditional_logic' => 0,
  2135. 'wrapper' => array(
  2136. 'width' => '50',
  2137. 'class' => '',
  2138. 'id' => '',
  2139. ),
  2140. 'default_value' => '',
  2141. 'placeholder' => '',
  2142. 'prepend' => '',
  2143. 'append' => '',
  2144. 'maxlength' => '',
  2145. ),
  2146. array(
  2147. 'key' => 'field_5bc4711ff81a3',
  2148. 'label' => 'Open hours',
  2149. 'name' => 'open_hours',
  2150. 'type' => 'textarea',
  2151. 'instructions' => '',
  2152. 'required' => 0,
  2153. 'conditional_logic' => array(
  2154. array(
  2155. array(
  2156. 'field' => 'field_5bd872d7affec',
  2157. 'operator' => '==',
  2158. 'value' => '1',
  2159. ),
  2160. ),
  2161. ),
  2162. 'wrapper' => array(
  2163. 'width' => '50',
  2164. 'class' => '',
  2165. 'id' => '',
  2166. ),
  2167. 'default_value' => '',
  2168. 'placeholder' => '',
  2169. 'maxlength' => '',
  2170. 'rows' => 7,
  2171. 'new_lines' => 'br',
  2172. ),
  2173. array(
  2174. 'key' => 'field_5bdb1dfb08dbd',
  2175. 'label' => 'Email',
  2176. 'name' => 'email',
  2177. 'type' => 'email',
  2178. 'instructions' => '',
  2179. 'required' => 0,
  2180. 'conditional_logic' => 0,
  2181. 'wrapper' => array(
  2182. 'width' => '',
  2183. 'class' => '',
  2184. 'id' => '',
  2185. ),
  2186. 'default_value' => '',
  2187. 'placeholder' => '',
  2188. 'prepend' => '',
  2189. 'append' => '',
  2190. ),
  2191. array(
  2192. 'key' => 'field_5bdb1e3b08dbe',
  2193. 'label' => 'facebook link',
  2194. 'name' => 'facebook',
  2195. 'type' => 'url',
  2196. 'instructions' => '',
  2197. 'required' => 0,
  2198. 'conditional_logic' => 0,
  2199. 'wrapper' => array(
  2200. 'width' => '',
  2201. 'class' => '',
  2202. 'id' => '',
  2203. ),
  2204. 'default_value' => '',
  2205. 'placeholder' => '',
  2206. ),
  2207. ),
  2208. 'location' => array(
  2209. array(
  2210. array(
  2211. 'param' => 'page_template',
  2212. 'operator' => '==',
  2213. 'value' => 'views/template-standard.blade.php',
  2214. ),
  2215. ),
  2216. ),
  2217. 'menu_order' => 5,
  2218. 'position' => 'normal',
  2219. 'style' => 'default',
  2220. 'label_placement' => 'top',
  2221. 'instruction_placement' => 'label',
  2222. 'hide_on_screen' => '',
  2223. 'active' => 1,
  2224. 'description' => '',
  2225. ));
  2226.  
  2227. endif;
  2228.  
  2229. if( function_exists('acf_add_local_field_group') ):
  2230.  
  2231. acf_add_local_field_group(array(
  2232. 'key' => 'group_5bebe9aa800a7',
  2233. 'title' => 'Contact_array',
  2234. 'fields' => array(
  2235. array(
  2236. 'key' => 'field_5bebe9d6fd3d1',
  2237. 'label' => 'Contact Array Text',
  2238. 'name' => 'contact_array',
  2239. 'type' => 'repeater',
  2240. 'instructions' => 'De array met text die in- en outfade',
  2241. 'required' => 0,
  2242. 'conditional_logic' => 0,
  2243. 'wrapper' => array(
  2244. 'width' => '',
  2245. 'class' => '',
  2246. 'id' => '',
  2247. ),
  2248. 'collapsed' => '',
  2249. 'min' => 0,
  2250. 'max' => 0,
  2251. 'layout' => 'table',
  2252. 'button_label' => '',
  2253. 'sub_fields' => array(
  2254. array(
  2255. 'key' => 'field_5bebea514c1ca',
  2256. 'label' => 'array_text',
  2257. 'name' => 'array_text',
  2258. 'type' => 'text',
  2259. 'instructions' => '',
  2260. 'required' => 0,
  2261. 'conditional_logic' => 0,
  2262. 'wrapper' => array(
  2263. 'width' => '',
  2264. 'class' => '',
  2265. 'id' => '',
  2266. ),
  2267. 'default_value' => '',
  2268. 'placeholder' => '',
  2269. 'prepend' => '',
  2270. 'append' => '',
  2271. 'maxlength' => '',
  2272. ),
  2273. ),
  2274. ),
  2275. ),
  2276. 'location' => array(
  2277. array(
  2278. array(
  2279. 'param' => 'page',
  2280. 'operator' => '==',
  2281. 'value' => '261',
  2282. ),
  2283. ),
  2284. array(
  2285. array(
  2286. 'param' => 'page',
  2287. 'operator' => '==',
  2288. 'value' => '199',
  2289. ),
  2290. ),
  2291. ),
  2292. 'menu_order' => 6,
  2293. 'position' => 'normal',
  2294. 'style' => 'default',
  2295. 'label_placement' => 'top',
  2296. 'instruction_placement' => 'label',
  2297. 'hide_on_screen' => '',
  2298. 'active' => 1,
  2299. 'description' => '',
  2300. ));
  2301.  
  2302. endif;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement