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
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
|
<?php
add_action('init','of_options');
if (!function_exists('of_options')) { function of_options() { //Access the WordPress Categories via an Array $of_categories = array(); $of_categories_obj = get_categories('hide_empty=0'); foreach ($of_categories_obj as $of_cat) { $of_categories[$of_cat->cat_ID] = $of_cat->cat_name;} $categories_tmp = array_unshift($of_categories, "Select a category:");
// Presets URL $preset_url = get_template_directory_uri().'/admin/presets/';
//Access the WordPress Pages via an Array $of_pages = array(); $of_pages_obj = get_pages('sort_column=post_parent,menu_order'); $of_pages['0'] = 'Select a page:'; foreach ($of_pages_obj as $of_page) { $of_pages[$of_page->ID] = $of_page->post_name; } //Testing $of_options_select = array("one","two","three","four","five"); $of_options_radio = array("one" => "One","two" => "Two","three" => "Three","four" => "Four","five" => "Five"); //Sample Homepage blocks for the layout manager (sorter) $of_options_homepage_blocks = array ( "disabled" => array ( "placebo" => "placebo", //REQUIRED! "block_one" => "Block One", "block_two" => "Block Two", "block_three" => "Block Three", ), "enabled" => array ( "placebo" => "placebo", //REQUIRED! "block_four" => "Block Four", ), );
//Stylesheets Reader $alt_stylesheet_path = LAYOUT_PATH; $alt_stylesheets = array(); if ( is_dir($alt_stylesheet_path) ) { if ($alt_stylesheet_dir = opendir($alt_stylesheet_path) ) { while ( ($alt_stylesheet_file = readdir($alt_stylesheet_dir)) !== false ) { if(stristr($alt_stylesheet_file, ".css") !== false) { $alt_stylesheets[] = $alt_stylesheet_file; } } } }
//Background Images Reader $bg_images_path = STYLESHEETPATH. '/images/bg/'; // change this to where you store your bg images $bg_images_url = get_bloginfo('template_url').'/images/bg/'; // change this to where you store your bg images $bg_images = array(); if ( is_dir($bg_images_path) ) { if ($bg_images_dir = opendir($bg_images_path) ) { while ( ($bg_images_file = readdir($bg_images_dir)) !== false ) { if(stristr($bg_images_file, ".png") !== false || stristr($bg_images_file, ".jpg") !== false) { $bg_images[] = $bg_images_url . $bg_images_file; } } } }
/*-----------------------------------------------------------------------------------*/ /* TO DO: Add options/functions that use these */ /*-----------------------------------------------------------------------------------*/ //More Options $uploads_arr = wp_upload_dir(); $all_uploads_path = $uploads_arr['path']; $all_uploads = get_option('of_uploads'); $other_entries = array("Select a number:","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"); $body_repeat = array("no-repeat","repeat-x","repeat-y","repeat"); $body_pos = array("top left","top center","top right","center left","center center","center right","bottom left","bottom center","bottom right"); //$google_fonts = array('Open Sans' => 'Open Sans','Sacramento' => 'Sacramento','Droid Sans' =>'Droid Sans','Oswald' => 'Oswald','Droid Serif' => 'Droid Serif','Lato' => 'Lato','Francois One' => 'Francois One','Raleway' => 'Raleway','Arvo' => 'Arvo','Roboto Slab' => 'Roboto Slab','Noto Serif' => 'Noto Serif','Noto Sans' =>'Noto Sans','Abril Fatface'=>'Abril Fatface','Clicker Script' => 'Clicker Script'); $google_fonts = array('arial'=>'Arial', 'verdana'=>'Verdana, Geneva', 'trebuchet'=>'Trebuchet', 'trebuchet ms'=>'Trebuchet MS', 'georgia' =>'Georgia', 'times'=>'Times New Roman', 'tahoma'=>'Tahoma, Geneva', 'helvetica'=>'Helvetica', 'Abel' => 'Abel', 'Abril Fatface' => 'Abril Fatface', 'Aclonica' => 'Aclonica', 'Acme' => 'Acme', 'Actor' => 'Actor', 'Adamina' => 'Adamina', 'Advent Pro' => 'Advent Pro', 'Aguafina Script' => 'Aguafina Script', 'Aladin' => 'Aladin', 'Aldrich' => 'Aldrich', 'Alegreya' => 'Alegreya', 'Alegreya SC' => 'Alegreya SC', 'Alex Brush' => 'Alex Brush', 'Alfa Slab One' => 'Alfa Slab One', 'Alice' => 'Alice', 'Alike' => 'Alike', 'Alike Angular' => 'Alike Angular', 'Allan' => 'Allan', 'Allerta' => 'Allerta', 'Allerta Stencil' => 'Allerta Stencil', 'Allura' => 'Allura', 'Almendra' => 'Almendra', 'Almendra SC' => 'Almendra SC', 'Amaranth' => 'Amaranth', 'Amatic SC' => 'Amatic SC', 'Amethysta' => 'Amethysta', 'Andada' => 'Andada', 'Andika' => 'Andika', 'Angkor' => 'Angkor', 'Annie Use Your Telescope' => 'Annie Use Your Telescope', 'Anonymous Pro' => 'Anonymous Pro', 'Antic' => 'Antic', 'Antic Didone' => 'Antic Didone', 'Antic Slab' => 'Antic Slab', 'Anton' => 'Anton', 'Arapey' => 'Arapey', 'Arbutus' => 'Arbutus', 'Architects Daughter' => 'Architects Daughter', 'Arimo' => 'Arimo', 'Arizonia' => 'Arizonia', 'Armata' => 'Armata', 'Artifika' => 'Artifika', 'Arvo' => 'Arvo', 'Asap' => 'Asap', 'Asset' => 'Asset', 'Astloch' => 'Astloch', 'Asul' => 'Asul', 'Atomic Age' => 'Atomic Age', 'Aubrey' => 'Aubrey', 'Audiowide' => 'Audiowide', 'Average' => 'Average', 'Averia Gruesa Libre' => 'Averia Gruesa Libre', 'Averia Libre' => 'Averia Libre', 'Averia Sans Libre' => 'Averia Sans Libre', 'Averia Serif Libre' => 'Averia Serif Libre', 'Bad Script' => 'Bad Script', 'Balthazar' => 'Balthazar', 'Bangers' => 'Bangers', 'Basic' => 'Basic', 'Battambang' => 'Battambang', 'Baumans' => 'Baumans', 'Bayon' => 'Bayon', 'Belgrano' => 'Belgrano', 'Belleza' => 'Belleza', 'Bentham' => 'Bentham', 'Berkshire Swash' => 'Berkshire Swash', 'Bevan' => 'Bevan', 'Bigshot One' => 'Bigshot One', 'Bilbo' => 'Bilbo', 'Bilbo Swash Caps' => 'Bilbo Swash Caps', 'Bitter' => 'Bitter', 'Black Ops One' => 'Black Ops One', 'Bokor' => 'Bokor', 'Bonbon' => 'Bonbon', 'Boogaloo' => 'Boogaloo', 'Bowlby One' => 'Bowlby One', 'Bowlby One SC' => 'Bowlby One SC', 'Brawler' => 'Brawler', 'Bree Serif' => 'Bree Serif', 'Bubblegum Sans' => 'Bubblegum Sans', 'Buda' => 'Buda', 'Buenard' => 'Buenard', 'Butcherman' => 'Butcherman', 'Butterfly Kids' => 'Butterfly Kids', 'Cabin' => 'Cabin', 'Cabin Condensed' => 'Cabin Condensed', 'Cabin Sketch' => 'Cabin Sketch', 'Caesar Dressing' => 'Caesar Dressing', 'Cagliostro' => 'Cagliostro', 'Calligraffitti' => 'Calligraffitti', 'Cambo' => 'Cambo', 'Candal' => 'Candal', 'Cantarell' => 'Cantarell', 'Cantata One' => 'Cantata One', 'Cardo' => 'Cardo', 'Carme' => 'Carme', 'Carter One' => 'Carter One', 'Caudex' => 'Caudex', 'Cedarville Cursive' => 'Cedarville Cursive', 'Ceviche One' => 'Ceviche One', 'Changa One' => 'Changa One', 'Chango' => 'Chango', 'Chau Philomene One' => 'Chau Philomene One', 'Chelsea Market' => 'Chelsea Market', 'Chenla' => 'Chenla', 'Cherry Cream Soda' => 'Cherry Cream Soda', 'Chewy' => 'Chewy', 'Chicle' => 'Chicle', 'Chivo' => 'Chivo', 'Coda' => 'Coda', 'Coda Caption' => 'Coda Caption', 'Codystar' => 'Codystar', 'Comfortaa' => 'Comfortaa', 'Coming Soon' => 'Coming Soon', 'Concert One' => 'Concert One', 'Condiment' => 'Condiment', 'Content' => 'Content', 'Contrail One' => 'Contrail One', 'Convergence' => 'Convergence', 'Cookie' => 'Cookie', 'Copse' => 'Copse', 'Corben' => 'Corben', 'Cousine' => 'Cousine', 'Coustard' => 'Coustard', 'Covered By Your Grace' => 'Covered By Your Grace', 'Crafty Girls' => 'Crafty Girls', 'Creepster' => 'Creepster', 'Crete Round' => 'Crete Round', 'Crimson Text' => 'Crimson Text', 'Crushed' => 'Crushed', 'Cuprum' => 'Cuprum', 'Cutive' => 'Cutive', 'Damion' => 'Damion', 'Dancing Script' => 'Dancing Script', 'Dangrek' => 'Dangrek', 'Dawning of a New Day' => 'Dawning of a New Day', 'Days One' => 'Days One', 'Delius' => 'Delius', 'Delius Swash Caps' => 'Delius Swash Caps', 'Delius Unicase' => 'Delius Unicase', 'Della Respira' => 'Della Respira', 'Devonshire' => 'Devonshire', 'Didact Gothic' => 'Didact Gothic', 'Diplomata' => 'Diplomata', 'Diplomata SC' => 'Diplomata SC', 'Doppio One' => 'Doppio One', 'Dorsa' => 'Dorsa', 'Dosis' => 'Dosis', 'Dr Sugiyama' => 'Dr Sugiyama', 'Droid Sans' => 'Droid Sans', 'Droid Sans Mono' => 'Droid Sans Mono', 'Droid Serif' => 'Droid Serif', 'Duru Sans' => 'Duru Sans', 'Dynalight' => 'Dynalight', 'EB Garamond' => 'EB Garamond', 'Eater' => 'Eater', 'Economica' => 'Economica', 'Electrolize' => 'Electrolize', 'Emblema One' => 'Emblema One', 'Emilys Candy' => 'Emilys Candy', 'Engagement' => 'Engagement', 'Enriqueta' => 'Enriqueta', 'Erica One' => 'Erica One', 'Esteban' => 'Esteban', 'Euphoria Script' => 'Euphoria Script', 'Ewert' => 'Ewert', 'Exo' => 'Exo', 'Exo 2' => 'Exo 2', 'Expletus Sans' => 'Expletus Sans', 'Fanwood Text' => 'Fanwood Text', 'Fascinate' => 'Fascinate', 'Fascinate Inline' => 'Fascinate Inline', 'Federant' => 'Federant', 'Federo' => 'Federo', 'Felipa' => 'Felipa', 'Fjord One' => 'Fjord One', 'Flamenco' => 'Flamenco', 'Flavors' => 'Flavors', 'Fondamento' => 'Fondamento', 'Fontdiner Swanky' => 'Fontdiner Swanky', 'Forum' => 'Forum', 'Fjalla One' => 'Fjalla One', 'Francois One' => 'Francois One', 'Fredericka the Great' => 'Fredericka the Great', 'Fredoka One' => 'Fredoka One', 'Freehand' => 'Freehand', 'Fresca' => 'Fresca', 'Frijole' => 'Frijole', 'Fugaz One' => 'Fugaz One', 'GFS Didot' => 'GFS Didot', 'GFS Neohellenic' => 'GFS Neohellenic', 'Galdeano' => 'Galdeano', 'Gentium Basic' => 'Gentium Basic', 'Gentium Book Basic' => 'Gentium Book Basic', 'Geo' => 'Geo', 'Geostar' => 'Geostar', 'Geostar Fill' => 'Geostar Fill', 'Germania One' => 'Germania One', 'Gilda Display' => 'Gilda Display', 'Give You Glory' => 'Give You Glory', 'Glass Antiqua' => 'Glass Antiqua', 'Glegoo' => 'Glegoo', 'Gloria Hallelujah' => 'Gloria Hallelujah', 'Goblin One' => 'Goblin One', 'Gochi Hand' => 'Gochi Hand', 'Gorditas' => 'Gorditas', 'Goudy Bookletter 1911' => 'Goudy Bookletter 1911', 'Graduate' => 'Graduate', 'Gravitas One' => 'Gravitas One', 'Great Vibes' => 'Great Vibes', 'Gruppo' => 'Gruppo', 'Gudea' => 'Gudea', 'Habibi' => 'Habibi', 'Hammersmith One' => 'Hammersmith One', 'Handlee' => 'Handlee', 'Hanuman' => 'Hanuman', 'Happy Monkey' => 'Happy Monkey', 'Henny Penny' => 'Henny Penny', 'Herr Von Muellerhoff' => 'Herr Von Muellerhoff', 'Holtwood One SC' => 'Holtwood One SC', 'Homemade Apple' => 'Homemade Apple', 'Homenaje' => 'Homenaje', 'IM Fell DW Pica' => 'IM Fell DW Pica', 'IM Fell DW Pica SC' => 'IM Fell DW Pica SC', 'IM Fell Double Pica' => 'IM Fell Double Pica', 'IM Fell Double Pica SC' => 'IM Fell Double Pica SC', 'IM Fell English' => 'IM Fell English', 'IM Fell English SC' => 'IM Fell English SC', 'IM Fell French Canon' => 'IM Fell French Canon', 'IM Fell French Canon SC' => 'IM Fell French Canon SC', 'IM Fell Great Primer' => 'IM Fell Great Primer', 'IM Fell Great Primer SC' => 'IM Fell Great Primer SC', 'Iceberg' => 'Iceberg', 'Iceland' => 'Iceland', 'Imprima' => 'Imprima', 'Inconsolata' => 'Inconsolata', 'Inder' => 'Inder', 'Indie Flower' => 'Indie Flower', 'Inika' => 'Inika', 'Irish Grover' => 'Irish Grover', 'Istok Web' => 'Istok Web', 'Italiana' => 'Italiana', 'Italianno' => 'Italianno', 'Jim Nightshade' => 'Jim Nightshade', 'Jockey One' => 'Jockey One', 'Jolly Lodger' => 'Jolly Lodger', 'Josefin Sans' => 'Josefin Sans', 'Josefin Slab' => 'Josefin Slab', 'Judson' => 'Judson', 'Julee' => 'Julee', 'Junge' => 'Junge', 'Jura' => 'Jura', 'Just Another Hand' => 'Just Another Hand', 'Just Me Again Down Here' => 'Just Me Again Down Here', 'Kameron' => 'Kameron', 'Karla' => 'Karla', 'Kaushan Script' => 'Kaushan Script', 'Kelly Slab' => 'Kelly Slab', 'Kenia' => 'Kenia', 'Khmer' => 'Khmer', 'Knewave' => 'Knewave', 'Kotta One' => 'Kotta One', 'Koulen' => 'Koulen', 'Kranky' => 'Kranky', 'Kreon' => 'Kreon', 'Kristi' => 'Kristi', 'Krona One' => 'Krona One', 'La Belle Aurore' => 'La Belle Aurore', 'Lancelot' => 'Lancelot', 'Lato' => 'Lato', 'League Script' => 'League Script', 'Leckerli One' => 'Leckerli One', 'Ledger' => 'Ledger', 'Lekton' => 'Lekton', 'Lemon' => 'Lemon', 'Libre Baskerville' => 'Libre Baskerville', 'Lilita One' => 'Lilita One', 'Limelight' => 'Limelight', 'Linden Hill' => 'Linden Hill', 'Lobster' => 'Lobster', 'Lobster Two' => 'Lobster Two', 'Londrina Outline' => 'Londrina Outline', 'Londrina Shadow' => 'Londrina Shadow', 'Londrina Sketch' => 'Londrina Sketch', 'Londrina Solid' => 'Londrina Solid', 'Lora' => 'Lora', 'Love Ya Like A Sister' => 'Love Ya Like A Sister', 'Loved by the King' => 'Loved by the King', 'Lovers Quarrel' => 'Lovers Quarrel', 'Luckiest Guy' => 'Luckiest Guy', 'Lusitana' => 'Lusitana', 'Lustria' => 'Lustria', 'Macondo' => 'Macondo', 'Macondo Swash Caps' => 'Macondo Swash Caps', 'Magra' => 'Magra', 'Maiden Orange' => 'Maiden Orange', 'Mako' => 'Mako', 'Marcellus' => 'Marcellus', 'Marcellus SC' => 'Marcellus SC', 'Marck Script' => 'Marck Script', 'Marko One' => 'Marko One', 'Marmelad' => 'Marmelad', 'Marvel' => 'Marvel', 'Mate' => 'Mate', 'Mate SC' => 'Mate SC', 'Maven Pro' => 'Maven Pro', 'Meddon' => 'Meddon', 'MedievalSharp' => 'MedievalSharp', 'Medula One' => 'Medula One', 'Megrim' => 'Megrim', 'Merienda One' => 'Merienda One', 'Merriweather' => 'Merriweather', 'Metal' => 'Metal', 'Metamorphous' => 'Metamorphous', 'Metrophobic' => 'Metrophobic', 'Michroma' => 'Michroma', 'Miltonian' => 'Miltonian', 'Miltonian Tattoo' => 'Miltonian Tattoo', 'Miniver' => 'Miniver', 'Miss Fajardose' => 'Miss Fajardose', 'Modern Antiqua' => 'Modern Antiqua', 'Molengo' => 'Molengo', 'Monofett' => 'Monofett', 'Monoton' => 'Monoton', 'Monsieur La Doulaise' => 'Monsieur La Doulaise', 'Montaga' => 'Montaga', 'Montez' => 'Montez', 'Montserrat' => 'Montserrat', 'Montserrat Alternates' => 'Montserrat Alternates', 'Montserrat Subrayada' => 'Montserrat Subrayada', 'Moul' => 'Moul', 'Moulpali' => 'Moulpali', 'Mountains of Christmas' => 'Mountains of Christmas', 'Mr Bedfort' => 'Mr Bedfort', 'Mr Dafoe' => 'Mr Dafoe', 'Mr De Haviland' => 'Mr De Haviland', 'Mrs Saint Delafield' => 'Mrs Saint Delafield', 'Mrs Sheppards' => 'Mrs Sheppards', 'Muli' => 'Muli', 'Mystery Quest' => 'Mystery Quest', 'Neucha' => 'Neucha', 'Neuton' => 'Neuton', 'News Cycle' => 'News Cycle', 'Niconne' => 'Niconne', 'Nixie One' => 'Nixie One', 'Nobile' => 'Nobile', 'Nokora' => 'Nokora', 'Norican' => 'Norican', 'Nosifer' => 'Nosifer', 'Nothing You Could Do' => 'Nothing You Could Do', 'Noticia Text' => 'Noticia Text', 'Noto Sans' => 'Noto Sans', 'Nova Cut' => 'Nova Cut', 'Nova Flat' => 'Nova Flat', 'Nova Mono' => 'Nova Mono', 'Nova Oval' => 'Nova Oval', 'Nova Round' => 'Nova Round', 'Nova Script' => 'Nova Script', 'Nova Slim' => 'Nova Slim', 'Nova Square' => 'Nova Square', 'Numans' => 'Numans', 'Nunito' => 'Nunito', 'Odor Mean Chey' => 'Odor Mean Chey', 'Old Standard TT' => 'Old Standard TT', 'Oldenburg' => 'Oldenburg', 'Oleo Script' => 'Oleo Script', 'Open Sans' => 'Open Sans', 'Open Sans Condensed' => 'Open Sans Condensed', 'Orbitron' => 'Orbitron', 'Original Surfer' => 'Original Surfer', 'Oswald' => 'Oswald', 'Over the Rainbow' => 'Over the Rainbow', 'Overlock' => 'Overlock', 'Overlock SC' => 'Overlock SC', 'Ovo' => 'Ovo', 'Oxygen' => 'Oxygen', 'PT Mono' => 'PT Mono', 'PT Sans' => 'PT Sans', 'PT Sans Caption' => 'PT Sans Caption', 'PT Sans Narrow' => 'PT Sans Narrow', 'PT Serif' => 'PT Serif', 'PT Serif Caption' => 'PT Serif Caption', 'Pacifico' => 'Pacifico', 'Parisienne' => 'Parisienne', 'Passero One' => 'Passero One', 'Passion One' => 'Passion One', 'Patrick Hand' => 'Patrick Hand', 'Patua One' => 'Patua One', 'Paytone One' => 'Paytone One', 'Permanent Marker' => 'Permanent Marker', 'Petrona' => 'Petrona', 'Philosopher' => 'Philosopher', 'Piedra' => 'Piedra', 'Pinyon Script' => 'Pinyon Script', 'Plaster' => 'Plaster', 'Play' => 'Play', 'Playball' => 'Playball', 'Playfair Display' => 'Playfair Display', 'Podkova' => 'Podkova', 'Poiret One' => 'Poiret One', 'Poller One' => 'Poller One', 'Poly' => 'Poly', 'Pompiere' => 'Pompiere', 'Pontano Sans' => 'Pontano Sans', 'Port Lligat Sans' => 'Port Lligat Sans', 'Port Lligat Slab' => 'Port Lligat Slab', 'Prata' => 'Prata', 'Preahvihear' => 'Preahvihear', 'Press Start 2P' => 'Press Start 2P', 'Princess Sofia' => 'Princess Sofia', 'Prociono' => 'Prociono', 'Prosto One' => 'Prosto One', 'Puritan' => 'Puritan', 'Quantico' => 'Quantico', 'Quattrocento' => 'Quattrocento', 'Quattrocento Sans' => 'Quattrocento Sans', 'Questrial' => 'Questrial', 'Quicksand' => 'Quicksand', 'Qwigley' => 'Qwigley', 'Radley' => 'Radley', 'Raleway' => 'Raleway', 'Rammetto One' => 'Rammetto One', 'Rancho' => 'Rancho', 'Rationale' => 'Rationale', 'Redressed' => 'Redressed', 'Reenie Beanie' => 'Reenie Beanie', 'Revalia' => 'Revalia', 'Ribeye' => 'Ribeye', 'Ribeye Marrow' => 'Ribeye Marrow', 'Righteous' => 'Righteous', 'Roboto' => 'Roboto', 'Roboto Sans' => 'Roboto Sans', 'Rochester' => 'Rochester', 'Rock Salt' => 'Rock Salt', 'Rokkitt' => 'Rokkitt', 'Ropa Sans' => 'Ropa Sans', 'Rosario' => 'Rosario', 'Rosarivo' => 'Rosarivo', 'Rouge Script' => 'Rouge Script', 'Ruda' => 'Ruda', 'Ruge Boogie' => 'Ruge Boogie', 'Ruluko' => 'Ruluko', 'Rum Raisin' => 'Rum Raisin', 'Ruslan Display' => 'Ruslan Display', 'Russo One' => 'Russo One', 'Ruthie' => 'Ruthie', 'Sacramento' => 'Sacramento', 'Sail' => 'Sail', 'Salsa' => 'Salsa', 'Sancreek' => 'Sancreek', 'Sansita One' => 'Sansita One', 'Sarina' => 'Sarina', 'Satisfy' => 'Satisfy', 'Schoolbell' => 'Schoolbell', 'Seaweed Script' => 'Seaweed Script', 'Sevillana' => 'Sevillana', 'Seymour One' => 'Seymour One', 'Shadows Into Light' => 'Shadows Into Light', 'Shadows Into Light Two' => 'Shadows Into Light Two', 'Shanti' => 'Shanti', 'Share' => 'Share', 'Shojumaru' => 'Shojumaru', 'Short Stack' => 'Short Stack', 'Siemreap' => 'Siemreap', 'Sigmar One' => 'Sigmar One', 'Signika' => 'Signika', 'Signika Negative' => 'Signika Negative', 'Simonetta' => 'Simonetta', 'Sirin Stencil' => 'Sirin Stencil', 'Six Caps' => 'Six Caps', 'Slackey' => 'Slackey', 'Smokum' => 'Smokum', 'Smythe' => 'Smythe', 'Sniglet' => 'Sniglet', 'Snippet' => 'Snippet', 'Sofia' => 'Sofia', 'Sonsie One' => 'Sonsie One', 'Sorts Mill Goudy' => 'Sorts Mill Goudy', 'Special Elite' => 'Special Elite', 'Spicy Rice' => 'Spicy Rice', 'Spinnaker' => 'Spinnaker', 'Spirax' => 'Spirax', 'Squada One' => 'Squada One', 'Stardos Stencil' => 'Stardos Stencil', 'Stint Ultra Condensed' => 'Stint Ultra Condensed', 'Stint Ultra Expanded' => 'Stint Ultra Expanded', 'Stoke' => 'Stoke', 'Sue Ellen Francisco' => 'Sue Ellen Francisco', 'Sunshiney' => 'Sunshiney', 'Supermercado One' => 'Supermercado One', 'Suwannaphum' => 'Suwannaphum', 'Swanky and Moo Moo' => 'Swanky and Moo Moo', 'Syncopate' => 'Syncopate', 'Tangerine' => 'Tangerine', 'Taprom' => 'Taprom', 'Telex' => 'Telex', 'Tenor Sans' => 'Tenor Sans', 'The Girl Next Door' => 'The Girl Next Door', 'Tienne' => 'Tienne', 'Tinos' => 'Tinos', 'Titan One' => 'Titan One', 'Titillium Web' => 'Titillium Web', 'Trade Winds' => 'Trade Winds', 'Trocchi' => 'Trocchi', 'Trochut' => 'Trochut', 'Trykker' => 'Trykker', 'Tulpen One' => 'Tulpen One', 'Ubuntu' => 'Ubuntu', 'Ubuntu Condensed' => 'Ubuntu Condensed', 'Ubuntu Mono' => 'Ubuntu Mono', 'Ultra' => 'Ultra', 'Uncial Antiqua' => 'Uncial Antiqua', 'UnifrakturCook' => 'UnifrakturCook', 'UnifrakturMaguntia' => 'UnifrakturMaguntia', 'Unkempt' => 'Unkempt', 'Unlock' => 'Unlock', 'Unna' => 'Unna', 'VT323' => 'VT323', 'Varela' => 'Varela', 'Varela Round' => 'Varela Round', 'Vast Shadow' => 'Vast Shadow', 'Vibur' => 'Vibur', 'Vidaloka' => 'Vidaloka', 'Viga' => 'Viga', 'Voces' => 'Voces', 'Volkhov' => 'Volkhov', 'Vollkorn' => 'Vollkorn', 'Voltaire' => 'Voltaire', 'Waiting for the Sunrise' => 'Waiting for the Sunrise', 'Wallpoet' => 'Wallpoet', 'Walter Turncoat' => 'Walter Turncoat', 'Wellfleet' => 'Wellfleet', 'Wire One' => 'Wire One', 'Yanone Kaffeesatz' => 'Yanone Kaffeesatz', 'Yellowtail' => 'Yellowtail', 'Yeseva One' => 'Yeseva One', 'Yesteryear' => 'Yesteryear', 'Zeyada' => 'Zeyada' );
// Image Alignment radio box $of_options_thumb_align = array("alignleft" => "Left","alignright" => "Right","aligncenter" => "Center"); // Image Links to Options $of_options_image_link_to = array("image" => "The Image","post" => "The Post");
/*-----------------------------------------------------------------------------------*/ /* The Options Array */ /*-----------------------------------------------------------------------------------*/
// Set the Options Array global $of_options; $of_options = array();
// GENERAL //
$of_options[] = array( "name" => "Logo and icons", "type" => "heading" );
$of_options[] = array( "name" => "Logo", "desc" => "Upload logo here.", "id" => "site_logo", "std" => "", "type" => "media" );
$of_options[] = array( "name" => "Favicon", "desc" => "Add your custom Favicon image. 16x16px .ico or .png file required.", "id" => "site_favicon", "std" => "", "type" => "media" );
$of_options[] = array( "name" => "Favicon retina", "desc" => "The Retina/iOS version of your Favicon. 144x144px .png file required.", "id" => "site_favicon_large", "std" => "", "type" => "media" );
$of_options[] = array( "name" => "Custom Cart Icon", "desc" => "Upload a custom cart icon image here if you want to repliace the default cart icon. You need to add something to cart to see results.", "id" => "custom_cart_icon", "std" => "", "type" => "media" );
$of_options[] = array( "name" => "Dark Logo", "desc" => "Upload dark logo version here. Used for Transparent header template", "id" => "site_logo_dark", "std" => "", "type" => "media" );
// HEADER SETTINGS // $of_options[] = array( "name" => "Layout", "type" => "heading" );
$url = ADMIN_DIR . 'assets/images/'; $of_options[] = array( "name" => "Layout mode", "desc" => "Select Full width, boxed or framed layout", "id" => "body_layout", "std" => "full-width", "type" => "images", "options" => array( 'full-width' => $url . 'full-width.gif', 'boxed' => $url . 'boxed.gif', 'framed-layout' => $url . 'framed.gif', ) );
$of_options[] = array( "name" => "Layout Box Shadow", "desc" => "Add a subtle shadow around content", "id" => "box_shadow", "std" => 0, "type" => "checkbox" );
$of_options[] = array( "name" => "Body Background Color (only for boxed and framed layout)", "desc" => "Pick a color for the background. Only shows on boxed layout (default: #eee).", "id" => "body_bg", "std" => "", "type" => "color" );
$of_options[] = array( "name" => "Body Background Image (only for boxed and framed layout)", "desc" => "Pick a pattern for background. Check <a href='http://subtlepatterns.com' target='_blank'>here</a> for awesome textures", "id" => "body_bg_image", "std" => "", "type" => "media" );
$of_options[] = array( "name" => "Body Background Repeat", "desc" => "", "id" => "body_bg_type", "std" => "", "type" => "select", "options" => array("bg-full-size" => "Full Size", "bg-tiled" => "Tiled" ) );
$of_options[] = array( "name" => "Content text color", "desc" => "Light or Dark content text color", "id" => "content_color", "std" => "light", "type" => "images", "options" => array( 'light' => $url . 'text-light.gif', 'dark' => $url . 'text-dark.gif', ) );
$of_options[] = array( "name" => "Content background color", "desc" => "Change background color for content", "id" => "content_bg", "std" => "#FFF", "type" => "color" );
// HEADER // // HEADER // // HEADER // // HEADER // $of_options[] = array( "name" => "Header", "type" => "heading" );
/* $of_options[] = array( "name" => "Header preset", "desc" => "Select hader", "id" => "header_preset", "type" => "presets", "options" => array( $preset_url.'/headers/header1.jpg' => "header_1", $preset_url.'/headers/header2.jpg' => "header_2", ) ); */
$of_options[] = array( "name" => "Header height", "desc" => "Set height of header in px.", "id" => "header_height", "std" => "120", "min" => "50", "step" => "1", "max" => "240", "type" => "sliderui" );
$of_options[] = array( "name" => "Logo container width", "desc" => "Set width of logo container. Height is same as header height", "id" => "logo_width", "std" => "210", "min" => "90", "step" => "1", "max" => "450", "type" => "sliderui" );
$of_options[] = array( "name" => "Logo position", "desc" => "Select logo position", "id" => "logo_position", "std" => "left", "type" => "select",
"options" => array( "left" => "left", "center" => "center" ) );
$of_options[] = array( "name" => "Search position", "desc" => "Change position of search in main navigation", "id" => "search_pos", "std" => "left", "type" => "select", "options" => array( "left" => "Left (default)", "right" => "Right", "hide" => "Hide"
) );
$of_options[] = array( "name" => "Main Navigation position", "desc" => "Change position of main navigation", "id" => "nav_position", "std" => "top", "type" => "select",
"options" => array( "top" => "Top Left (beside logo)", "top_right" => "Top Right", "bottom" => "Full width - Left", "bottom_center" => "Full width - Centered" ) );
$of_options[] = array( "name" => "Main Navigation Size", "desc" => "Change size of main navigation", "id" => "nav_size", "std" => "80%", "type" => "select", "options" => array( "70%" => "Small", "80%" => "Normal", "90%" => "Medium", "100%" => "Large"
) );
$of_options[] = array( "name" => "Show login/My account link", "desc" => "Show my account / login link in header", "id" => "myaccount_dropdown", "std" => 1, "type" => "checkbox" );
$of_options[] = array( "name" => "Show Mini Cart", "desc" => "Show cart in header (Requires WooCommerce)", "id" => "show_cart", "std" => 1, "type" => "checkbox" );
$of_options[] = array( "name" => "Show Right Content", "desc" => "Add HTML or shortcodes here that will show beside Cart and My Account links or replace them.<br> <br>You could use these: <br><strong>[follow facebook='#' twitter='#' instagram='#']<br> [header_button text='Shop now' tooltip='' link='http://#' border='2px']<br> [phone number='+00 000 000' border='2px' tooltip='Contact us today']<br>[search] <br> [share] </strong>", "id" => "top_right_text", "type" => "text" );
$of_options[] = array( "name" => "Sticky Header on scroll", "desc" => "Make header stick to top on scroll", "id" => "header_sticky", "std" => 1, "type" => "checkbox" );
$of_options[] = array( "name" => "Sticky Header height", "desc" => "Set height of sticky header in px.", "id" => "header_height_sticky", "std" => "70", "min" => "50", "step" => "1", "max" => "220", "type" => "sliderui" );
$of_options[] = array( "name" => "Header text color", "desc" => "Light or Dark header text color", "id" => "header_color", "std" => "light", "type" => "images", "options" => array( 'light' => $url . 'text-light.gif', 'dark' => $url . 'text-dark.gif', ) );
$of_options[] = array( "name" => "Header BG color", "desc" => "Pick header background color", "id" => "header_bg", "std" => "#fff", "type" => "color" );
$of_options[] = array( "name" => "Header BG image", "desc" => "Upload background image to header", "id" => "header_bg_img", "std" => "", "type" => "media" );
$of_options[] = array( "name" => "Header BG image position", "desc" => "Change header bg position", "id" => "header_bg_img_pos", "std" => "repeat-x", "type" => "select",
"options" => array( "repeat-x" => "repeat-x",//please, always use this key: "none" "no-repeat" => "no-repeat"
) );
$of_options[] = array( "name" => "Show Top Bar", "id" => "topbar_show", "std" => 1, "type" => "checkbox" );
$of_options[] = array( "name" => "Top Bar BG color", "desc" => "Pick a background color for top bar background (default: #58728a).", "id" => "topbar_bg", "std" => "", "type" => "color" );
$of_options[] = array( "name" => "Top bar left", "desc" => "Insert text for left top bar.", "id" => "topbar_left", "std" => "Add anything here here or just remove it..", "type" => "text" );
$of_options[] = array( "name" => "Main Navigation background (For full width nav)", "desc" => "Change position of main navigation", "id" => "nav_position_bg", "std" => "#eee", "type" => "color" );
$of_options[] = array( "name" => "Main Navigation link color (For full width nav)", "desc" => "Change position of main navigation", "id" => "nav_position_color", "std" => "light", "type" => "images", "options" => array( 'light-header' => $url . 'text-light.gif', 'dark-header' => $url . 'text-dark.gif', ) );
$of_options[] = array( "name" => "Full width Nav - Right menu content", "desc" => "Insert content to right of the main menu. Shortcodes are allowed", "id" => "nav_position_text", "std" => "Add shortcode or text here", "type" => "text" );
$of_options[] = array( "name" => "Full width Nav - Top content", "desc" => "Insert content for header beside logo or search. Shortcodes are allowed", "id" => "nav_position_text_top", "std" => "Add shortcode or text here", "type" => "text" );
$of_options[] = array( "name" => "Footer", "type" => "heading" );
$of_options[] = array( "name" => "Footer bottom left content (copyright text)", "desc" => "Insert text/html for left footer content", "id" => "footer_left_text", "std" => "Copyright 2014 © <strong>UX Themes</strong>. Powered by <strong>WooCommerce</strong>", "type" => "text" );
$of_options[] = array( "name" => "Footer bottom right content", "desc" => "Add image of creditcards etc. here", "id" => "footer_right_text", "std" => "", "type" => "textarea" );
$of_options[] = array( "name" => "Footer 1 text color", "desc" => "Light or Dark text color", "id" => "footer_1_color", "std" => "light", "type" => "images", "options" => array( 'light' => $url . 'text-light.gif', 'dark' => $url . 'text-dark.gif', ) );
$of_options[] = array( "name" => "Footer 1 BG color", "id" => "footer_1_bg_color", "std" => "#fff", "type" => "color" );
$of_options[] = array( "name" => "Footer 2 text color", "desc" => "Light or Dark text color", "id" => "footer_2_color", "std" => "dark", "type" => "images", "options" => array( 'light' => $url . 'text-light.gif', 'dark' => $url . 'text-dark.gif', ) );
$of_options[] = array( "name" => "Footer 2 BG color", "id" => "footer_2_bg_color", "std" => "#777", "type" => "color" );
$of_options[] = array( "name" => "Footer bottom bar text color", "desc" => "Light or Dark text color", "id" => "footer_bottom_style", "std" => "dark", "type" => "images", "options" => array( 'light' => $url . 'text-light.gif', 'dark' => $url . 'text-dark.gif', ) );
$of_options[] = array( "name" => "Footer bottom bar BG color", "id" => "footer_bottom_color", "std" => "#333", "type" => "color" );
// TYPE
$of_options[] = array( "name" => "Fonts", "type" => "heading" );
$of_options[] = array( "name" => "Disable Google fonts", "desc" => "Disable google fonts. No fonts will be loaded from Google.", "id" => "disable_fonts", "std" => 0, "type" => "checkbox" );
$of_options[] = array( "name" => "Heading fonts (h1,h2 etc)", "desc" => "Select heading fonts.<br> Need inspiration? <br>Check popuplar <a href='http://www.google.com/fonts/#Analytics:total' target='_blank'>google fonts here</a>", "id" => "type_headings", "std" => "Lato", "type" => "select_google_font", "preview" => array( "text" => "<strong>Flatsome is Awesome!</strong> <br><span style='font-size:60%!important'>THIS TEXT IS IN UPPERCASE</span>", //this is the text from preview box "size" => "30px" //this is the text size from preview box ), "options" => $google_fonts );
$of_options[] = array( "name" => "Text fonts (paragraphs, buttons, sub-navigations)", "desc" => "Select heading fonts", "id" => "type_texts", "std" => "Lato", "type" => "select_google_font", "preview" => array( "text" => "Nostrud qui disrupt, vinyl occupy ennui beard. Assumenda mollit 90's sunt occupy. Marfa helvetica brooklyn, narwhal odd future leggings sint ethnic. Eu officia fixie, veniam gluten-free pop-up church-key truffaut nihil dreamcatcher sed aliquip odio wes anderson.", //this is the text from preview box "size" => "14px" //this is the text size from preview box ), "options" => $google_fonts );
$of_options[] = array( "name" => "Main navigation", "desc" => "Select heading fonts", "id" => "type_nav", "std" => "Lato", "type" => "select_google_font", "preview" => array( "text" => "<span style='font-size:45%'>HOME WOMEN MEN APPERAL</span>", //this is the text from preview box "size" => "30px" //this is the text size from preview box ), "options" => $google_fonts );
$of_options[] = array( "name" => "Alterntative font (.alt-font)", "desc" => "Select alternative font", "id" => "type_alt", "std" => "Dancing Script", "type" => "select_google_font", "preview" => array( "text" => "This font will be used on banners etc.", //this is the text from preview box "size" => "30px" //this is the text size from preview box ), "options" => $google_fonts );
$of_options[] = array( "name" => "Character Sub-sets", "desc" => "Choose the character sets you want.", "id" => "type_subset", "std" => array("latin"), "type" => "multicheck", "options" => array("latin" => "Latin","cyrillic-ext" => "Cyrillic Extended","greek-ext" => "Greek Extended","greek" => "Greek","vietnamese" => "Vietnamese","latin-ext" => "Latin Extended","cyrillic" => "Cyrillic") );
// COLORS
$of_options[] = array( "name" => "Style and Colors", "type" => "heading", );
$of_options[] = array( "name" => "Primary Color", "desc" => "Change primary color. Used for primary buttons, shopping cart icon, Top bar background, etc.", "id" => "color_primary", "std" => "#627f9a", "type" => "color" );
$of_options[] = array( "name" => "Secondary Color", "desc" => "Change secondary color. Used for Add to cart, checkout buttons, review stars and sale bubble.", "id" => "color_secondary", "std" => "#d26e4b", "type" => "color" );
$of_options[] = array( "name" => "Success Color", "desc" => "Change the success color. Used for global success messages.", "id" => "color_success", "std" => "#7a9c59", "type" => "color" );
$of_options[] = array( "name" => "Default link color", "desc" => "Change default link color. Used for product links, and links at pages and blog entries.", "id" => "color_links", "std" => "", "type" => "color" );
$of_options[] = array( "name" => "Add to cart / Checkout buttons", "desc" => "Change color for checkout buttons. Default is Secondary color", "id" => "color_checkout", "std" => "", "type" => "color" );
$of_options[] = array( "name" => "Sale bubble", "desc" => "Change color of sale bubble. Default is Secondary color", "id" => "color_sale", "std" => "", "type" => "color" );
$of_options[] = array( "name" => "Review Stars", "desc" => "Change color of review stars", "id" => "color_review", "std" => "", "type" => "color" );
$of_options[] = array( "name" => "Button border radius", "desc" => "change radius on buttons", "id" => "button_radius", "std" => "0px", "type" => "select",
"options" => array( "0px" => "0px", "3px" => "3px", "5px" => "5px", "10px" => "10px", "15px" => "15px", "30px" => "30px", "99px" => "99px",
) );
$of_options[] = array( "name" => "Dropdown border color", "desc" => "Change color of dropdown border", "id" => "dropdown_border", "std" => "", "type" => "color" );
$of_options[] = array( "name" => "Dropdown Background Color", "desc" => "Change color of dropdown background", "id" => "dropdown_bg", "std" => "", "type" => "color" );
$of_options[] = array( "name" => "Dropdown Text Color", "desc" => "Light or Dark dropdown color", "id" => "dropdown_text", "std" => "light", "type" => "images", "options" => array( 'light' => $url . 'text-light.gif', 'dark' => $url . 'text-dark.gif', ) );
$of_options[] = array( "name" => "Product Page", "type" => "heading", );
$of_options[] = array( "name" => "Show Cart dropdown when product is added to cart", "id" => "cart_dropdown_show", "desc" => "Show Mini-cart dropdown after product is added to cart.", "std" => 1, "type" => "checkbox" );
$of_options[] = array( "name" => "Up-sell title", "id" => "shop_aside_title", "std" => "complete the look", "type" => "text" );
$of_options[] = array( "name" => "Product Sidebar", "desc" => "", "id" => "product_sidebar", "std" => "no_sidebar", "type" => "select", "options" => array( "no_sidebar" => "No sidebar", "left_sidebar" => "Left Sidebar", "right_sidebar" => "Right Sidebar" ) );
$of_options[] = array( "name" => "Related Products", "desc" => "", "id" => "related_products", "std" => "slider", "type" => "select", "options" => array( "slider" => "Slider", "grid" => "Grid", "hidden" => "Remove" ) );
$of_options[] = array( "name" => "Related Products pr row", "desc" => "", "id" => "related_products_pr_row", "std" => "4", "type" => "select", "options" => array( "2" => "2", "3" => "3", "4" => "4", "5" => "5", "6" => "6" ) );
$of_options[] = array( "name" => "Max number of related products", "desc" => "", "id" => "max_related_products", "std" => "12", "type" => "text", );
$of_options[] = array( "name" => "Product info style", "desc" => "Select how you want to display product info...", "id" => "product_display", "std" => "tabs", "type" => "select",
"options" => array( "tabs" => "Tabs", "tabs_center" => "Tabs Center", "tabs_pills" => "Tabs (Pills style. NEW!)", "sections" => "Sections", "accordian" => "Accordian", "tabs_vertical" => "Vertical tabs"
) );
$of_options[] = array( "name" => "Additional Global tab/section title", "id" => "tab_title", "std" => "", "type" => "text" );
$of_options[] = array( "name" => "Additional Global tab/section content", "id" => "tab_content", "std" => "", "type" => "textarea", "desc" => "Add additional tab content here... Like Size Charts etc." );
$of_options[] = array( "name" => "Disable product gallery scrollbar", "id" => "disable_product_scrollbar", "desc" => "Remove the scrollbar thats on top of product gallery slider.", "std" => 0, "type" => "checkbox" );
$of_options[] = array( "name" => "Category Page", "type" => "heading" );
$of_options[] = array( "name" => "Shop sidebar", "desc" => "Select if you want a sidebar on product categories.", "id" => "category_sidebar", "std" => "left-sidebar", "type" => "select",
"options" => array( "none" => "No sidebar",//please, always use this key: "none" "left-sidebar" => "Left sidebar", "right-sidebar" => "Right sidebar",
) );
$url = ADMIN_DIR . 'assets/images/'; $of_options[] = array( "name" => "Product Grid style", "desc" => "Select product grid style", "id" => "grid_style", "std" => "grid1", "type" => "images", "options" => array( 'grid1' => $url . 'grid1.gif', 'grid2' => $url . 'grid2.gif', 'grid3' => $url . 'grid3.gif', ) );
$of_options[] = array( "name" => "Category Box style", "desc" => "Change default category box style", "id" => "cat_style", "std" => "text-badge", "type" => "select", "options" => array( "text-badge" => "Text badge (default)", "text-overlay" => "Text Overlay", "text-bounce" => "Text Bounce", "text-normal" => "Text Normal",
) );
$of_options[] = array( "name" => "Breadcrumb size", "desc" => "Change size of breadcrumb on product categories. Useful if you have long breadcrumbs.", "id" => "breadcrumb_size", "std" => "breadcrumb-normal", "type" => "select",
"options" => array( "breadcrumb-normal" => "Normal",//please, always use this key: "none" "breadcrumb-medium" => "Medium", "breadcrumb-small" => "Small",
) );
$of_options[] = array( "name" => "Show 'Home' in breadcrumb", "id" => "breadcrumb_home", "desc" => "Show 'Home' > in breadcrumb", "std" => 1, "type" => "checkbox" );
$of_options[] = array( "name" => "Products per row", "desc" => "Change product per row for category pages.", "id" => "category_row_count", "std" => "3", "type" => "select",
"options" => array( "2" => "2", "3" => "3", "4" => "4", "5" => "5", "6" => "6",
) );
$of_options[] = array( "name" => "Products per page", "id" => "products_pr_page", "desc" => "Change products per page.", "std" => "12", "type" => "text" );
$of_options[] = array( "name" => "Enable Blog and Pages in Search result", "desc" => "", "id" => "search_result", "desc" => "Enable blog and pages in search result page.", "std" => 0, "type" => "checkbox" );
$of_options[] = array( "name" => "Add to cart icon in grid", "desc" => "Show add to cart icon in grid", "id" => "add_to_cart_icon", "std" => "disable", "type" => "select",
"options" => array( "show" => "Show", "disable" => "Disable", ) );
$of_options[] = array( "name" => "Product image hover style", "desc" => "Change product image hover style", "id" => "product_hover", "std" => "fade_in_back", "type" => "select",
"options" => array( "fade_in_back" => "Fade in back", "zoom_in" => "Zoom in", "none" => "Disabled" ) );
$url = ADMIN_DIR . 'assets/images/'; $of_options[] = array( "name" => "Sale bubble style", "desc" => "change sale bubble style", "id" => "bubble_style", "std" => "style1", "type" => "images", "options" => array( 'style1' => $url . 'sale-bubble-style1.gif', 'style2' => $url . 'sale-bubble-style2.gif', 'style3' => $url . 'sale-bubble-style3.gif', ) );
$of_options[] = array( "name" => "Display % instad of 'Sale!' in Sale bubble (New in 1.9)", "id" => "sale_bubble_percentage", "desc" => "Show % instad of the sale text. This will override the bubble text.", "std" => 0, "type" => "checkbox" );
$of_options[] = array( "name" => "Disable quick view", "id" => "disable_quick_view", "desc" => "", "std" => 0, "type" => "checkbox" );
$of_options[] = array( "name" => "Blog", "type" => "heading" );
$of_options[] = array( "name" => "Blog list layout", "desc" => "Change blog layout", "id" => "blog_layout", "std" => "right-sidebar", "type" => "select", "options" => array("left-sidebar" => "Left sidebar", "right-sidebar" => "Right sidebar", "no-sidebar" => "No sidebar (Centered)" ) );
$of_options[] = array( "name" => "Blog list style", "desc" => "Change blog style", "id" => "blog_style", "std" => "blog-normal", "type" => "select", "options" => array("blog-normal" => "Normal", "blog-list" => "List style", "blog-pinterest" => "Pinterest style" ) );
$of_options[] = array( "name" => "Blog Header HTML", "desc" => "Enter HTML for blog header here. Will be placed above content and sidebar. Shortcodes are allowed. F.ex [block id='blog-header']", "id" => "blog_header", "std" => " ", "type" => "textarea" );
$of_options[] = array( "name" => "Blog single post layout", "desc" => "Change blog post layout", "id" => "blog_post_layout", "std" => "right-sidebar", "type" => "select", "options" => array("left-sidebar" => "Left sidebar", "right-sidebar" => "Right sidebar", "no-sidebar" => "No sidebar (Centered)" ) );
$of_options[] = array( "name" => "Blog single post header style", "desc" => "Change blog post style", "id" => "blog_post_style", "std" => "default", "type" => "select", "options" => array("default" => "Default", "big-featured-image" => "Big featured image") );
$of_options[] = array( "name" => "Show author box", "desc" => "", "id" => "blog_author_box", "desc" => "Show author box on blog posts", "std" => 1, "type" => "checkbox" );
$of_options[] = array( "name" => "Enable Share Icons", "desc" => "", "id" => "blog_share", "desc" => "Enable Share icons on blog", "std" => 0, "type" => "checkbox" );
$of_options[] = array( "name" => "Parallax effect", "desc" => "", "id" => "blog_parallax", "desc" => "Enable parallax effect on featured images", "std" => 0, "type" => "checkbox" );
$of_options[] = array( "name" => "Featured Items", "type" => "heading" );
$of_options[] = array( "name" => "Items per page (Archive and Template pages)", "id" => "featured_items_pr_page", "desc" => "Change items per page.", "std" => "12", "type" => "text" );
/* $of_options[] = array( "name" => "Featured items page", "desc" => "Select the featured items page here.", "id" => "featured_item_custom_link", "std" => "featured", "type" => "select", "options" => $of_pages ); */
$of_options[] = array( "name" => "Related items", "desc" => "Change style of related featured items", "id" => "featured_items_related", "std" => "2", "type" => "select", "options" => array("default" => "Default", "text_overlay" => "Text Overlay", "disabled" => "Disabled" ), );
$of_options[] = array( "name" => "Featured items height", "id" => "featured_items_related_height", "desc" => "Change image height on featured items.", "std" => "250px", "type" => "text" );
$of_options[] = array( "name" => "HTML blocks", "type" => "heading" );
$of_options[] = array( "name" => "Custom CSS ", "desc" => "Add custom CSS here", "id" => "html_custom_css", "std" => "div {}", "type" => "textarea" );
$of_options[] = array( "name" => "Custom CSS (Mobile only)", "desc" => "Add custom CSS here for mobile view", "id" => "html_custom_css_mobile", "std" => "", "type" => "textarea" );
$of_options[] = array( "name" => "Footer Scripts", "desc" => "Here is the place to paste your Google Analytics code or any other JS code you might want to add to be loaded in the footer of your website.", "id" => "html_scripts_footer", "std" => "", "type" => "textarea" );
$of_options[] = array( "name" => "HTML Homepage Intro", "desc" => "Enter HTML that would be placed before header on homepage. Use for Intro images, slides etc.", "id" => "html_intro", "std" => "", "type" => "textarea" );
$of_options[] = array( "name" => "HTML Shop header", "desc" => "Enter HTML that should be placed on top of main Shop page.", "id" => "html_shop_page", "std" => "", "type" => "textarea" );
$of_options[] = array( "name" => "HTML after header (Global)", "desc" => "Enter HTML that should be placed after header here. Shortcodes are allowed.", "id" => "html_after_header", "std" => "", "type" => "textarea" );
$of_options[] = array( "name" => "HTML before footer (Global)", "desc" => "Enter HTML for footer here. Shortcodes are allowed. F.ex [block id='payments']", "id" => "html_before_footer", "std" => "", "type" => "textarea" );
$of_options[] = array( "name" => "HTML after footer (Global)", "desc" => "Enter HTML for footer here. Shortcodes are allowed. F.ex [block id='payments']", "id" => "html_after_footer", "std" => "", "type" => "textarea" );
$of_options[] = array( "name" => "HTML before Add To Cart (Product Page)", "desc" => "Enter HTML and shortcodes that will show before Add to cart selections.", "id" => "html_before_add_to_cart", "std" => " ", "type" => "textarea" );
$of_options[] = array( "name" => "HTML after Add To Cart (Product Page)", "desc" => "Enter HTML and shortcodes that will show after Add to cart button.", "id" => "html_after_add_to_cart", "std" => "", "type" => "textarea" );
$of_options[] = array( "name" => "HTML after cart", "desc" => "Enter HTML that will show after cart here.", "id" => "html_cart_footer", "std" => "", "type" => "textarea" );
$of_options[] = array( "name" => "Catalog Mode", "type" => "heading", );
$of_options[] = array( "name" => "Enable catalog mode", "id" => "catalog_mode", "desc" => "Enable catalog mode. This will disable Add To Cart buttons / Checkout and Shopping cart.", "std" => 0, "type" => "checkbox" );
$of_options[] = array( "name" => "Disable prices", "id" => "catalog_mode_prices", "desc" => "Select to disable prices on category pages and product page.", "std" => 0, "type" => "checkbox" );
$of_options[] = array( "name" => "Cart / Account replacement (header)", "id" => "catalog_mode_header", "std" => "", "type" => "textarea", "desc" => "Enter content you want to display instad of Account / Cart. Shortcodes are allowed. For search box enter <b>[search]</b>. For social icons enter: <b>[follow twitter='http://' facebook='http://' email='post@email.com' pinterest='http://']</b>" );
$of_options[] = array( "name" => "Add to cart replacement - Product page", "id" => "catalog_mode_product", "std" => "", "type" => "textarea", "desc" => "Enter contact information or enquery form shortcode here." );
$of_options[] = array( "name" => "Add to cart replacement - Product Quick View", "id" => "catalog_mode_lightbox", "std" => "", "type" => "textarea", "desc" => "Enter text that will show in product quick view" );
$of_options[] = array( "name" => "Account and Social", "type" => "heading", );
$of_options[] = array( "name" => "Enable Facebook Login / Register on Login page", "id" => "facebook_login", "desc" => "This will create a Registrer/login button for Facebook on all My Account pages. Requires the plugin 'Nextend Facebook Connect'", "std" => 0, "type" => "checkbox" );
$of_options[] = array( "name" => "Facebook login - background image", "desc" => "Upload background for facebook login header.", "id" => "facebook_login_bg", "std" => "", "type" => "media" );
$of_options[] = array( "name" => "Facebook login - description text", "id" => "facebook_login_text", "std" => "", "type" => "text" );
$of_options[] = array( "name" => "Enable Facebook Login / Register on Checkout", "id" => "facebook_login_checkout", "desc" => "Enable facebook login button on Checkout page", "std" => 0, "type" => "checkbox" );
$of_options[] = array( "name" => "Share icons", "desc" => "Select icons to be shown on share icons on product page, blog and [share] shortcode", "id" => "social_icons", "std" => array("facebook","twitter","email","pinterest","googleplus"), "type" => "multicheck", "options" => array("facebook" => "Facebook","twitter" => "Twitter","email" => "Email","pinterest" => "Pinterest","googleplus" => "Google Plus","vk" => "VKontakte") );
$of_options[] = array( "name" => "Enable Coupon on Checkout page", "id" => "coupon_checkout", "desc" => "Enable coupon at checkout page.", "std" => 0, "type" => "checkbox" );
$of_options[] = array( "name" => "Global settings", "type" => "heading", );
$of_options[] = array( "name" => "Enable minified CSS and JS", "id" => "minified_flatsome", "desc" => "Speed up your site by enable the minified CSS and Javscript of flatsome. <strong>NB!</strong> style.css will not be loaded. Custom styles needs to be placed in Theme Option > HTML Blocks > Custom CSS.", "std" => 0, "type" => "checkbox" );
$of_options[] = array( "name" => "Flatsome Builder Beta", "id" => "flatsome_builder", "desc" => "Enable Flatsome Builder Beta.", "std" => 1, "type" => "checkbox" ); // Backup Options $of_options[] = array( "name" => "Backup and Import", "type" => "heading", ); $of_options[] = array( "name" => "Backup and Restore Options", "id" => "of_backup", "std" => "", "type" => "backup", "desc" => 'You can use the two buttons below to backup your current options, and then restore it back at a later time. This is useful if you want to experiment on the options but would like to keep the old settings in case you need it back.', ); $of_options[] = array( "name" => "Transfer Theme Options Data", "id" => "of_transfer", "std" => "", "type" => "transfer", "desc" => 'You can tranfer the saved options data between different installs by copying the text inside the text box. To import data from another install, replace the data in the text box with the one from another install and click "Import Options".', );
}//End function: of_options() }//End chack if function exists: of_options() ?>
|