| @@ -6,12 +6,8 @@ | ||
| 6 | 6 | * |
| 7 | 7 | * Keep the name of this file like you've received it from Pixelgrade Cloud. |
| 8 | 8 | */ |
| 9 | 9 | |
| 10 | -if ( ! defined( 'ABSPATH' ) ) { | |
| 11 | - exit; | |
| 12 | -} | |
| 13 | - | |
| 14 | 10 | // This is where the final config should reside. |
| 15 | 11 | // Start with some sane default. We expect to have a sections entry. |
| 16 | 12 | $config = [ |
| 17 | 13 | 'sections' => [], |
| @@ -250,9 +246,9 @@ | ||
| 250 | 246 | |
| 251 | 247 | 'main_content_heading_1_font' => [ |
| 252 | 248 | 'type' => 'font', |
| 253 | 249 | 'label' => esc_html__( 'Heading 1', 'customify' ), |
| 254 | - 'desc' => '', | |
| 250 | + 'desc' => esc_html__( '', 'customify' ), | |
| 255 | 251 | 'selector' => '.alpha, h1', |
| 256 | 252 | |
| 257 | 253 | 'default' => array( |
| 258 | 254 | 'font-family' => SM_HEADINGS_FONT, |
| @@ -281,9 +277,9 @@ | ||
| 281 | 277 | |
| 282 | 278 | 'main_content_heading_2_font' => [ |
| 283 | 279 | 'type' => 'font', |
| 284 | 280 | 'label' => esc_html__( 'Heading 2', 'customify' ), |
| 285 | - 'desc' => '', | |
| 281 | + 'desc' => esc_html__( '', 'customify' ), | |
| 286 | 282 | 'selector' => '.beta, h2', |
| 287 | 283 | |
| 288 | 284 | 'default' => array( |
| 289 | 285 | 'font-family' => SM_HEADINGS_FONT, |
| @@ -312,9 +308,9 @@ | ||
| 312 | 308 | |
| 313 | 309 | 'main_content_heading_4_font' => [ |
| 314 | 310 | 'type' => 'font', |
| 315 | 311 | 'label' => esc_html__( 'Heading 4', 'customify' ), |
| 316 | - 'desc' => '', | |
| 312 | + 'desc' => esc_html__( '', 'customify' ), | |
| 317 | 313 | 'selector' => '.delta, h4', |
| 318 | 314 | |
| 319 | 315 | 'default' => array( |
| 320 | 316 | 'font-family' => SM_HEADINGS_FONT, |
| @@ -343,9 +339,9 @@ | ||
| 343 | 339 | |
| 344 | 340 | 'main_content_heading_5_font' => [ |
| 345 | 341 | 'type' => 'font', |
| 346 | 342 | 'label' => esc_html__( 'Heading 5', 'customify' ), |
| 347 | - 'desc' => '', | |
| 343 | + 'desc' => esc_html__( '', 'customify' ), | |
| 348 | 344 | 'selector' => 'h5', |
| 349 | 345 | |
| 350 | 346 | 'default' => array( |
| 351 | 347 | 'font-family' => SM_HEADINGS_FONT, |
| @@ -374,9 +370,9 @@ | ||
| 374 | 370 | |
| 375 | 371 | 'main_content_heading_6_font' => [ |
| 376 | 372 | 'type' => 'font', |
| 377 | 373 | 'label' => esc_html__( 'Heading 6', 'customify' ), |
| 378 | - 'desc' => '', | |
| 374 | + 'desc' => esc_html__( '', 'customify' ), | |
| 379 | 375 | 'selector' => 'h6', |
| 380 | 376 | |
| 381 | 377 | 'default' => array( |
| 382 | 378 | 'font-family' => SM_HEADINGS_FONT, |
| @@ -405,9 +401,9 @@ | ||
| 405 | 401 | |
| 406 | 402 | 'main_content_heading_3_font' => [ |
| 407 | 403 | 'type' => 'font', |
| 408 | 404 | 'label' => esc_html__( 'Heading 3', 'customify' ), |
| 409 | - 'desc' => '', | |
| 405 | + 'desc' => esc_html__( '', 'customify' ), | |
| 410 | 406 | 'selector' => '.gamma, h3', |
| 411 | 407 | |
| 412 | 408 | 'default' => array( |
| 413 | 409 | 'font-family' => SM_HEADINGS_FONT, |
| @@ -443,9 +439,9 @@ | ||
| 443 | 439 | ], |
| 444 | 440 | 'buttons_font' => [ |
| 445 | 441 | 'type' => 'font', |
| 446 | 442 | 'label' => esc_html__( 'Buttons', 'customify' ), |
| 447 | - 'desc' => '', | |
| 443 | + 'desc' => esc_html__( '', 'customify' ), | |
| 448 | 444 | 'selector' => '.added_to_cart, .button, button, input[type=button], input[type=reset], input[type=submit]', |
| 449 | 445 | |
| 450 | 446 | 'default' => array( |
| 451 | 447 | 'font-family' => SM_SECONDARY_FONT, |
| @@ -483,9 +479,9 @@ | ||
| 483 | 479 | |
| 484 | 480 | 'cards_price_font' => [ |
| 485 | 481 | 'type' => 'font', |
| 486 | 482 | 'label' => esc_html__( 'Price', 'customify' ), |
| 487 | - 'desc' => '', | |
| 483 | + 'desc' => esc_html__( '', 'customify' ), | |
| 488 | 484 | 'selector' => 'ul.products li.product .price', |
| 489 | 485 | |
| 490 | 486 | 'default' => array( |
| 491 | 487 | 'font-family' => SM_BODY_FONT, |
| @@ -526,9 +522,9 @@ | ||
| 526 | 522 | * Header Section |
| 527 | 523 | */ |
| 528 | 524 | 'header_section' => [ |
| 529 | 525 | 'type' => 'html', |
| 530 | - 'html' => '<span id="section-title-blog-fonts" class="separator section label large">' . esc_html__( 'Header', 'customify' ) . '</span>', | |
| 526 | + 'html' => '<span id="section-title-blog-fonts" class="separator section label large">' . esc_html__( 'Header', 'storefront' ) . '</span>', | |
| 531 | 527 | ], |
| 532 | 528 | 'header_navigation_text_color' => [ |
| 533 | 529 | 'type' => 'color', |
| 534 | 530 | 'label' => esc_html__( 'Header Text Color', 'customify' ), |
| @@ -683,9 +679,9 @@ | ||
| 683 | 679 | * Main Content |
| 684 | 680 | */ |
| 685 | 681 | 'main_content_section' => [ |
| 686 | 682 | 'type' => 'html', |
| 687 | - 'html' => '<span id="section-title-blog-fonts" class="separator section label large">' . esc_html__( 'Main Content', 'customify' ) . '</span>', | |
| 683 | + 'html' => '<span id="section-title-blog-fonts" class="separator section label large">' . esc_html__( 'Main Content', 'storefront' ) . '</span>', | |
| 688 | 684 | ], |
| 689 | 685 | 'page_title_color' => [ |
| 690 | 686 | 'type' => 'color', |
| 691 | 687 | 'label' => esc_html__( 'Page Title Color', 'customify' ), |
| @@ -821,13 +817,13 @@ | ||
| 821 | 817 | |
| 822 | 818 | // [Sub Section] Headings Colors |
| 823 | 819 | 'main_content_title_headings_color_section' => [ |
| 824 | 820 | 'type' => 'html', |
| 825 | - 'html' => '<span class="separator sub-section label">' . esc_html__( 'Headings Color', 'customify' ) . '</span>', | |
| 821 | + 'html' => '<span class="separator sub-section label">' . esc_html__( 'Headings Color', 'patch' ) . '</span>', | |
| 826 | 822 | ], |
| 827 | 823 | 'main_content_heading_1_color' => [ |
| 828 | 824 | 'type' => 'color', |
| 829 | - 'label' => esc_html__( 'Heading 1', 'customify' ), | |
| 825 | + 'label' => esc_html__( 'Heading 1', 'patch' ), | |
| 830 | 826 | 'live' => true, |
| 831 | 827 | 'default' => '#131315', |
| 832 | 828 | 'css' => [ |
| 833 | 829 | [ |
| @@ -837,9 +833,9 @@ | ||
| 837 | 833 | ], |
| 838 | 834 | ], |
| 839 | 835 | 'main_content_heading_2_color' => [ |
| 840 | 836 | 'type' => 'color', |
| 841 | - 'label' => esc_html__( 'Heading 2', 'customify' ), | |
| 837 | + 'label' => esc_html__( 'Heading 2', 'patch' ), | |
| 842 | 838 | 'live' => true, |
| 843 | 839 | 'default' => '#131315', |
| 844 | 840 | 'css' => [ |
| 845 | 841 | [ |
| @@ -849,9 +845,9 @@ | ||
| 849 | 845 | ], |
| 850 | 846 | ], |
| 851 | 847 | 'main_content_heading_3_color' => [ |
| 852 | 848 | 'type' => 'color', |
| 853 | - 'label' => esc_html__( 'Heading 3', 'customify' ), | |
| 849 | + 'label' => esc_html__( 'Heading 3', 'patch' ), | |
| 854 | 850 | 'live' => true, |
| 855 | 851 | 'default' => '#131315', |
| 856 | 852 | 'css' => [ |
| 857 | 853 | [ |
| @@ -861,9 +857,9 @@ | ||
| 861 | 857 | ], |
| 862 | 858 | ], |
| 863 | 859 | 'main_content_heading_4_color' => [ |
| 864 | 860 | 'type' => 'color', |
| 865 | - 'label' => esc_html__( 'Heading 4', 'customify' ), | |
| 861 | + 'label' => esc_html__( 'Heading 4', 'patch' ), | |
| 866 | 862 | 'live' => true, |
| 867 | 863 | 'default' => '#131315', |
| 868 | 864 | 'css' => [ |
| 869 | 865 | [ |
| @@ -873,9 +869,9 @@ | ||
| 873 | 869 | ], |
| 874 | 870 | ], |
| 875 | 871 | 'main_content_heading_5_color' => [ |
| 876 | 872 | 'type' => 'color', |
| 877 | - 'label' => esc_html__( 'Heading 5', 'customify' ), | |
| 873 | + 'label' => esc_html__( 'Heading 5', 'patch' ), | |
| 878 | 874 | 'live' => true, |
| 879 | 875 | 'default' => '#131315', |
| 880 | 876 | 'css' => [ |
| 881 | 877 | [ |
| @@ -885,9 +881,9 @@ | ||
| 885 | 881 | ], |
| 886 | 882 | ], |
| 887 | 883 | 'main_content_heading_6_color' => [ |
| 888 | 884 | 'type' => 'color', |
| 889 | - 'label' => esc_html__( 'Heading 6', 'customify' ), | |
| 885 | + 'label' => esc_html__( 'Heading 6', 'patch' ), | |
| 890 | 886 | 'live' => true, |
| 891 | 887 | 'default' => '#131315', |
| 892 | 888 | 'css' => [ |
| 893 | 889 | [ |
| @@ -899,14 +895,14 @@ | ||
| 899 | 895 | |
| 900 | 896 | // [Sub Section] Backgrounds |
| 901 | 897 | 'main_content_title_backgrounds_color_section' => [ |
| 902 | 898 | 'type' => 'html', |
| 903 | - 'html' => '<span class="separator sub-section label">' . esc_html__( 'Backgrounds', 'customify' ) . '</span>', | |
| 899 | + 'html' => '<span class="separator sub-section label">' . esc_html__( 'Backgrounds', 'patch' ) . '</span>', | |
| 904 | 900 | ], |
| 905 | 901 | |
| 906 | 902 | 'main_content_content_background_color' => [ |
| 907 | 903 | 'type' => 'color', |
| 908 | - 'label' => esc_html__( 'Content Background Color', 'customify' ), | |
| 904 | + 'label' => esc_html__( 'Content Background Color', 'patch' ), | |
| 909 | 905 | 'live' => true, |
| 910 | 906 | 'default' => '#ffffff', |
| 911 | 907 | 'css' => [ |
| 912 | 908 | [ |
| @@ -1029,9 +1025,9 @@ | ||
| 1029 | 1025 | * Buttons |
| 1030 | 1026 | */ |
| 1031 | 1027 | 'buttons_section' => [ |
| 1032 | 1028 | 'type' => 'html', |
| 1033 | - 'html' => '<span id="section-title-blog-fonts" class="separator section label large">' . esc_html__( 'Buttons', 'customify' ) . '</span>', | |
| 1029 | + 'html' => '<span id="section-title-blog-fonts" class="separator section label large">' . esc_html__( 'Buttons', 'storefront' ) . '</span>', | |
| 1034 | 1030 | ], |
| 1035 | 1031 | 'buttons_text_color' => [ |
| 1036 | 1032 | 'type' => 'color', |
| 1037 | 1033 | 'label' => esc_html__( 'Text Color', 'customify' ), |
| @@ -1150,9 +1146,9 @@ | ||
| 1150 | 1146 | * Footer |
| 1151 | 1147 | */ |
| 1152 | 1148 | 'footer_section' => [ |
| 1153 | 1149 | 'type' => 'html', |
| 1154 | - 'html' => '<span id="section-title-blog-fonts" class="separator section label large">' . esc_html__( 'Footer', 'customify' ) . '</span>', | |
| 1150 | + 'html' => '<span id="section-title-blog-fonts" class="separator section label large">' . esc_html__( 'Footer', 'storefront' ) . '</span>', | |
| 1155 | 1151 | ], |
| 1156 | 1152 | 'footer_text_color' => [ |
| 1157 | 1153 | 'type' => 'color', |
| 1158 | 1154 | 'label' => esc_html__( 'Footer Text Color', 'customify' ), |
| @@ -1206,9 +1202,9 @@ | ||
| 1206 | 1202 | * Miscellaneous |
| 1207 | 1203 | */ |
| 1208 | 1204 | 'misc_section' => [ |
| 1209 | 1205 | 'type' => 'html', |
| 1210 | - 'html' => '<span id="section-title-blog-fonts" class="separator section label large">' . esc_html__( 'Miscellaneous', 'customify' ) . '</span>', | |
| 1206 | + 'html' => '<span id="section-title-blog-fonts" class="separator section label large">' . esc_html__( 'Miscellaneous', 'storefront' ) . '</span>', | |
| 1211 | 1207 | ], |
| 1212 | 1208 | |
| 1213 | 1209 | 'woocommerce_info_background_color' => [ |
| 1214 | 1210 | 'type' => 'background-color', |