Plugin Directory

Changeset 1578558


Ignore:
Timestamp:
01/20/2017 08:57:22 AM (9 years ago)
Author:
saturnplugins
Message:

Added v1.2

Location:
advanced-twenty-seventeen/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • advanced-twenty-seventeen/trunk/advanced-twenty-seventeen.php

    r1564474 r1578558  
    44 * Plugin URI: https://saturnthemes.com/
    55 * Description: An toolkit that helps you customize the Twenty Seventeen theme completely.
    6  * Version: 1.1.5
     6 * Version: 1.2
    77 * Author: saturnplugins
    88 * Author URI: https://saturnthemes.com
     
    1919if ( ! class_exists( 'AdvancedTwentySeventeen' ) ) {
    2020    class AdvancedTwentySeventeen {
    21         public $version = '1.1.5';
     21        public $version = '1.2';
    2222
    2323        protected static $_instance = null;
  • advanced-twenty-seventeen/trunk/i18n/languages/advanced-twenty-seventeen.pot

    r1558751 r1578558  
    1 # Copyright (C) 2016 advanced-twenty-seventeen
     1# Copyright (C) 2017 advanced-twenty-seventeen
    22# This file is distributed under the same license as the advanced-twenty-seventeen package.
    33msgid ""
     
    1313"Plural-Forms: nplurals=2; plural=(n != 1);\n"
    1414
    15 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:23
    16 msgid "Advanced: Global"
    17 msgstr ""
    18 
    19 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:28, src/advanced-twenty-seventeen/inc/class-ats-customizer.php:167
     15#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:46, src/advanced-twenty-seventeen/inc/class-ats-customizer.php:64, src/advanced-twenty-seventeen/inc/class-ats-customizer.php:82, src/advanced-twenty-seventeen/inc/class-ats-customizer.php:112
    2016msgid "General"
    2117msgstr ""
    2218
    23 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:40, src/advanced-twenty-seventeen/inc/class-ats-customizer.php:179, src/advanced-twenty-seventeen/inc/class-ats-customizer.php:313
    24 msgid "Background Image"
    25 msgstr ""
    26 
    27 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:51, src/advanced-twenty-seventeen/inc/class-ats-customizer.php:190, src/advanced-twenty-seventeen/inc/class-ats-customizer.php:324
    28 msgid "Background Repeat"
    29 msgstr ""
    30 
    31 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:62, src/advanced-twenty-seventeen/inc/class-ats-customizer.php:201, src/advanced-twenty-seventeen/inc/class-ats-customizer.php:335
    32 msgid "Background Position"
    33 msgstr ""
    34 
    35 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:73
    36 msgid "Background Attachment"
    37 msgstr ""
    38 
    39 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:85, src/advanced-twenty-seventeen/inc/class-ats-customizer.php:213, src/advanced-twenty-seventeen/inc/class-ats-customizer.php:347
    40 msgid "Background Color"
    41 msgstr ""
    42 
    43 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:97
    44 msgid "Text Color"
    45 msgstr ""
    46 
    47 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:109
    48 msgid "Heading Color"
    49 msgstr ""
    50 
    51 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:121
    52 msgid "Link Color"
    53 msgstr ""
    54 
    55 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:133
    56 msgid "Link Color on Hover"
    57 msgstr ""
    58 
    59 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:139
     19#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:52
     20msgid "Typography"
     21msgstr ""
     22
     23#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:58
    6024msgid "Layout"
    6125msgstr ""
    6226
    63 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:155
     27#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:70
     28msgid "Site Branding"
     29msgstr ""
     30
     31#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:76
     32msgid "Menu"
     33msgstr ""
     34
     35#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:88
     36msgid "Widget"
     37msgstr ""
     38
     39#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:94
     40msgid "Custom Copyright"
     41msgstr ""
     42
     43#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:100
     44msgid "Social Icons"
     45msgstr ""
     46
     47#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:106
     48msgid "Custom Code"
     49msgstr ""
     50
     51#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:123
    6452msgid "Full Width"
    6553msgstr ""
    6654
    67 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:156
     55#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:124
    6856msgid "Boxed"
    6957msgstr ""
    7058
    71 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:162
    72 msgid "Advanced: Header"
    73 msgstr ""
    74 
    75 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:219
    76 msgid "Site Branding"
    77 msgstr ""
    78 
    79 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:235, src/advanced-twenty-seventeen/inc/class-ats-customizer.php:299
     59#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:137, src/advanced-twenty-seventeen/inc/class-ats-customizer.php:342
     60msgid "To use this option properly please go to Customizer > Header Media > click on Hide Image of Header Image."
     61msgstr ""
     62
     63#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:424, src/advanced-twenty-seventeen/inc/class-ats-customizer.php:484
    8064msgid "Left"
    8165msgstr ""
    8266
    83 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:236, src/advanced-twenty-seventeen/inc/class-ats-customizer.php:300
     67#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:425, src/advanced-twenty-seventeen/inc/class-ats-customizer.php:485
    8468msgid "Center"
    8569msgstr ""
    8670
    87 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:237, src/advanced-twenty-seventeen/inc/class-ats-customizer.php:301
     71#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:426, src/advanced-twenty-seventeen/inc/class-ats-customizer.php:486
    8872msgid "Right"
    8973msgstr ""
    9074
    91 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:239
     75#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:428
    9276msgid "Horizontal align for site branding"
    9377msgstr ""
    9478
    95 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:249
    96 msgid "Site Title Color"
    97 msgstr ""
    98 
    99 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:260
    100 msgid "Size Title Font Size"
    101 msgstr ""
    102 
    103 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:264, src/advanced-twenty-seventeen/inc/class-ats-customizer.php:412
    104 msgid "For example: 36px, 1.2em, 2rem"
    105 msgstr ""
    106 
    107 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:277
    108 msgid "Site Description Color"
    109 msgstr ""
    110 
    111 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:283
    112 msgid "Menu"
    113 msgstr ""
    114 
    115 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:303
     79#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:488
    11680msgid "Horizontal align for menu"
    11781msgstr ""
    11882
    119 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:358, src/advanced-twenty-seventeen/inc/class-ats-customizer.php:371, src/advanced-twenty-seventeen/inc/class-ats-customizer.php:408
    120 msgid "Item Font Size"
    121 msgstr ""
    122 
    123 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:362, src/advanced-twenty-seventeen/inc/class-ats-customizer.php:375
     83#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:589, src/advanced-twenty-seventeen/inc/class-ats-customizer.php:606
    12484msgid "For example: 1px solid #eee or none"
    12585msgstr ""
    12686
    127 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:385
    128 msgid "Item Color"
    129 msgstr ""
    130 
    131 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:397
    132 msgid "Item Color on Hover"
    133 msgstr ""
    134 
    135 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:424
    136 msgid "Text Transform"
    137 msgstr ""
    138 
    139 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:431
    140 msgid "Advanced: Footer"
    141 msgstr ""
    142 
    143 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:436
    144 msgid "Custom Copyright"
    145 msgstr ""
    146 
    147 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:442, src/advanced-twenty-seventeen/inc/admin/child-theme/template-parts/footer/site-info.php:13
     87#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:745
     88msgid "Advanced Widgets"
     89msgstr ""
     90
     91#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:749
     92msgid "Allow to add more widget section in the footer"
     93msgstr ""
     94
     95#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:754
     96msgid "Sections"
     97msgstr ""
     98
     99#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:759
     100msgid "Widget Section"
     101msgstr ""
     102
     103#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:776
     104msgid "Section Width"
     105msgstr ""
     106
     107#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:792
     108msgid "Widget Title"
     109msgstr ""
     110
     111#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:815
     112msgid "Widget Text"
     113msgstr ""
     114
     115#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:838
     116msgid "Widget Link"
     117msgstr ""
     118
     119#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:863, src/advanced-twenty-seventeen/inc/admin/child-theme/template-parts/footer/site-info.php:13
    148120msgid "Proudly powered by WordPress"
    149121msgstr ""
    150122
    151 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:456
    152 msgid "Advanced: Miscellaneous"
    153 msgstr ""
    154 
    155 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:461
    156 msgid "Custom Code"
    157 msgstr ""
    158 
    159 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:467
     123#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:952
     124msgid "Copyright Text"
     125msgstr ""
     126
     127#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:974
     128msgid "Color"
     129msgstr ""
     130
     131#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:990
     132msgid "Icon Color"
     133msgstr ""
     134
     135#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1006
     136msgid "Color on Hover"
     137msgstr ""
     138
     139#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1022
     140msgid "Icon Color on Hover"
     141msgstr ""
     142
     143#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1041
    160144msgid "<!-- Your Custom HTML Code -->"
    161145msgstr ""
    162146
    163 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:524
     147#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1054
     148msgid "Hide Panel Title"
     149msgstr ""
     150
     151#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1058
     152msgid "Hide title panel or not"
     153msgstr ""
     154
     155#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1087
    164156msgid "Repeat"
    165157msgstr ""
    166158
    167 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:525
     159#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1088
    168160msgid "Repeat Horizontal"
    169161msgstr ""
    170162
    171 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:526
     163#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1089
    172164msgid "Repeat Vertical"
    173165msgstr ""
    174166
    175 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:527
     167#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1090
    176168msgid "No Repeat"
    177169msgstr ""
    178170
    179 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:539
     171#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1096
    180172msgid "Left Top"
    181173msgstr ""
    182174
    183 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:540
     175#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1097
    184176msgid "Left Center"
    185177msgstr ""
    186178
    187 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:541
     179#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1098
    188180msgid "Left Bottom"
    189181msgstr ""
    190182
    191 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:542
     183#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1099
    192184msgid "Right Top"
    193185msgstr ""
    194186
    195 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:543
     187#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1100
    196188msgid "Right Center"
    197189msgstr ""
    198190
    199 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:544
     191#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1101
    200192msgid "Right Bottom"
    201193msgstr ""
    202194
    203 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:545
     195#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1102
    204196msgid "Center Top"
    205197msgstr ""
    206198
    207 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:546
     199#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1103
    208200msgid "Center Center"
    209201msgstr ""
    210202
    211 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:547
     203#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1104
    212204msgid "Center Bottom"
    213205msgstr ""
    214206
    215 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:559
     207#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1110
    216208msgid "Scroll"
    217209msgstr ""
    218210
    219 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:560
     211#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1111
    220212msgid "Fixed"
    221213msgstr ""
    222214
    223 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:561, src/advanced-twenty-seventeen/inc/class-ats-customizer.php:577
     215#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1112, src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1122
    224216msgid "Inherit"
    225217msgstr ""
    226218
    227 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:573
     219#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1118
    228220msgid "None"
    229221msgstr ""
    230222
    231 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:574
     223#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1119
    232224msgid "Capitalize"
    233225msgstr ""
    234226
    235 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:575
     227#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1120
    236228msgid "Uppercase"
    237229msgstr ""
    238230
    239 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:576
     231#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1121
    240232msgid "Lowercase"
    241233msgstr ""
    242234
    243 #: src/advanced-twenty-seventeen/inc/admin/class-ats-admin-child-theme.php:47, src/advanced-twenty-seventeen/inc/admin/class-ats-admin-child-theme.php:61
     235#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1134
     236msgid "Footer %d"
     237msgstr ""
     238
     239#: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1136
     240msgid "Add widgets here to appear in your footer."
     241msgstr ""
     242
     243#: src/advanced-twenty-seventeen/inc/admin/class-ats-admin-child-theme.php:48, src/advanced-twenty-seventeen/inc/admin/class-ats-admin-child-theme.php:62
    244244msgid "Advanced Twenty Seventeen plugin"
    245245msgstr ""
    246246
    247 #: src/advanced-twenty-seventeen/inc/admin/class-ats-admin-child-theme.php:49
     247#: src/advanced-twenty-seventeen/inc/admin/class-ats-admin-child-theme.php:50
    248248msgid "Please activate the theme Twenty Seventeen."
    249249msgstr ""
    250250
    251 #: src/advanced-twenty-seventeen/inc/admin/class-ats-admin-child-theme.php:52
     251#: src/advanced-twenty-seventeen/inc/admin/class-ats-admin-child-theme.php:53
    252252msgid "Please click <a href=\"%s\">here</a> to create advanced child theme for Twenty Seventeen"
    253253msgstr ""
    254254
    255 #: src/advanced-twenty-seventeen/inc/admin/class-ats-admin-child-theme.php:62
     255#: src/advanced-twenty-seventeen/inc/admin/class-ats-admin-child-theme.php:63
    256256msgid "The child theme is created successfully. Please go to <a href=\"%s\">customize</a> to use Advanced Twenty Seventeen"
    257257msgstr ""
  • advanced-twenty-seventeen/trunk/inc/admin/child-theme/style.css

    r1562791 r1578558  
    4949}
    5050
     51.ats-hide-panel-title .twentyseventeen-panel .entry-header {
     52    display: none;
     53}
     54
     55.ats-hide-panel-title .twentyseventeen-panel .entry-content {
     56    float: none !important;
     57    width: 100% !important;
     58}
     59
    5160@media (max-width: 1170px) {
    5261    .ats-preview.ats-layout-boxed #page,
  • advanced-twenty-seventeen/trunk/inc/class-ats-customizer.php

    r1562791 r1578558  
    2020        Kirki::add_panel( 'ats_global_panel', array(
    2121            'priority'    => $panel_priority++,
    22             'title'       => __( 'Advanced: Global', 'textdomain' ),
     22            'title'       => __( 'Advanced: Global', 'advanced-twenty-seventeen' ),
    2323        ) );
    2424
    2525        Kirki::add_panel( 'ats_header_panel', array(
    2626            'priority'    => $panel_priority++,
    27             'title'       => __( 'Advanced: Header', 'textdomain' ),
     27            'title'       => __( 'Advanced: Header', 'advanced-twenty-seventeen' ),
    2828        ) );
    2929
    3030        Kirki::add_panel( 'ats_footer_panel', array(
    3131            'priority'    => $panel_priority++,
    32             'title'       => __( 'Advanced: Footer', 'textdomain' ),
     32            'title'       => __( 'Advanced: Footer', 'advanced-twenty-seventeen' ),
    3333        ) );
    3434
    3535        Kirki::add_panel( 'ats_miscellaneous_panel', array(
    3636            'priority'    => $panel_priority++,
    37             'title'       => __( 'Advanced: Miscellaneous', 'textdomain' ),
     37            'title'       => __( 'Advanced: Miscellaneous', 'advanced-twenty-seventeen' ),
     38        ) );
     39
     40        Kirki::add_panel( 'ats_home_panel', array(
     41            'priority'    => $panel_priority++,
     42            'title'       => __( 'Advanced: Home Page', 'advanced-twenty-seventeen' ),
    3843        ) );
    3944
     
    4449        ) );
    4550
     51        Kirki::add_section( 'ats_typography_section', array(
     52            'title'          => __( 'Typography', 'advanced-twenty-seventeen' ),
     53            'panel'          => 'ats_global_panel',
     54            'priority'       => $section_priority++,
     55        ) );
     56
    4657        Kirki::add_section( 'ats_layout_section', array(
    4758            'title'          => __( 'Layout', 'advanced-twenty-seventeen' ),
     
    98109        ) );
    99110
     111        Kirki::add_section( 'ats_home_general_section', array(
     112            'title'          => __( 'General', 'advanced-twenty-seventeen' ),
     113            'panel'          => 'ats_home_panel',
     114            'priority'       => $section_priority++,
     115        ) );
     116
    100117        Kirki::add_field( 'ats', array(
    101118            'settings' => 'ats_site_layout',
    102             'label'    => __( 'Layout', 'translation_domain' ),
     119            'label'    => __( 'Layout', 'advanced-twenty-seventeen' ),
    103120            'section'  => 'ats_general_section',
    104121            'type'     => 'select',
     
    114131        Kirki::add_field( 'ats', array(
    115132            'settings' => 'ats_general_background_image',
    116             'label'    => __( 'Background Image', 'translation_domain' ),
     133            'label'    => __( 'Background Image', 'advanced-twenty-seventeen' ),
    117134            'section'  => 'ats_general_section',
    118135            'type'     => 'image',
     
    136153        Kirki::add_field( 'ats', array(
    137154            'settings' => 'ats_general_background_repeat',
    138             'label'    => __( 'Background Repeat', 'translation_domain' ),
     155            'label'    => __( 'Background Repeat', 'advanced-twenty-seventeen' ),
    139156            'section'  => 'ats_general_section',
    140157            'type'     => 'select',
     
    160177        Kirki::add_field( 'ats', array(
    161178            'settings' => 'ats_general_background_position',
    162             'label'    => __( 'Background Position', 'translation_domain' ),
     179            'label'    => __( 'Background Position', 'advanced-twenty-seventeen' ),
    163180            'section'  => 'ats_general_section',
    164181            'type'     => 'select',
     
    184201        Kirki::add_field( 'ats', array(
    185202            'settings' => 'ats_general_background_attachment',
    186             'label'    => __( 'Background Attachment', 'translation_domain' ),
     203            'label'    => __( 'Background Attachment', 'advanced-twenty-seventeen' ),
    187204            'section'  => 'ats_general_section',
    188205            'type'     => 'select',
     
    208225        Kirki::add_field( 'ats', array(
    209226            'settings' => 'ats_general_background_color',
    210             'label'    => __( 'Background Color', 'translation_domain' ),
     227            'label'    => __( 'Background Color', 'advanced-twenty-seventeen' ),
    211228            'section'  => 'ats_general_section',
    212229            'type'     => 'color',
     
    230247
    231248        Kirki::add_field( 'ats', array(
     249            'type'        => 'typography',
     250            'settings'    => 'ats_global_text',
     251            'label'       => esc_attr__( 'Text', 'kirki' ),
     252            'section'     => 'ats_typography_section',
     253            'default'     => array(
     254                'font-family'    => 'Libre Franklin',
     255                'variant'        => '400',
     256                'font-size'      => '16px',
     257                'letter-spacing' => '0em',
     258                'subsets'        => array( 'latin-ext' ),
     259                'color'          => '#333',
     260                'text-transform' => 'none',
     261                'line-height' => '24px'
     262            ),
     263            'transport' => 'auto',
     264            'priority'    => $control_priority++,
     265            'output'      => array(
     266                array(
     267                    'element' => 'body',
     268                ),
     269            ),
     270        ) );
     271
     272        Kirki::add_field( 'ats', array(
    232273            'settings' => 'ats_general_color',
    233             'label'    => __( 'Text Color', 'translation_domain' ),
    234             'section'  => 'ats_general_section',
     274            'label'    => __( 'Text Color', 'advanced-twenty-seventeen' ),
     275            'section'  => 'ats_typography_section',
    235276            'type'     => 'color',
    236277            'default' => '',
     
    247288        Kirki::add_field( 'ats', array(
    248289            'settings' => 'ats_general_cats_general_heading_colorolor',
    249             'label'    => __( 'Heading Color', 'translation_domain' ),
    250             'section'  => 'ats_general_section',
     290            'label'    => __( 'Heading Color', 'advanced-twenty-seventeen' ),
     291            'section'  => 'ats_typography_section',
    251292            'type'     => 'color',
    252293            'default' => '',
     
    263304        Kirki::add_field( 'ats', array(
    264305            'settings' => 'ats_general_link_color',
    265             'label'    => __( 'Link Color', 'translation_domain' ),
    266             'section'  => 'ats_general_section',
     306            'label'    => __( 'Link Color', 'advanced-twenty-seventeen' ),
     307            'section'  => 'ats_typography_section',
    267308            'type'     => 'color',
    268309            'default' => '',
     
    279320        Kirki::add_field( 'ats', array(
    280321            'settings' => 'ats_general_link_color_hover',
    281             'label'    => __( 'Link Color on Hover', 'translation_domain' ),
    282             'section'  => 'ats_general_section',
     322            'label'    => __( 'Link Color on Hover', 'advanced-twenty-seventeen' ),
     323            'section'  => 'ats_typography_section',
    283324            'type'     => 'color',
    284325            'default' => '',
     
    295336        Kirki::add_field( 'ats', array(
    296337            'settings' => 'ats_header_background_image',
    297             'label'    => __( 'Background Image', 'translation_domain' ),
     338            'label'    => __( 'Background Image', 'advanced-twenty-seventeen' ),
    298339            'section'  => 'ats_header_general_section',
    299340            'type'     => 'image',
     
    310351        Kirki::add_field( 'ats', array(
    311352            'settings' => 'ats_header_background_repeat',
    312             'label'    => __( 'Background Repeat', 'translation_domain' ),
     353            'label'    => __( 'Background Repeat', 'advanced-twenty-seventeen' ),
    313354            'section'  => 'ats_header_general_section',
    314355            'type'     => 'select',
     
    327368        Kirki::add_field( 'ats', array(
    328369            'settings' => 'ats_header_background_position',
    329             'label'    => __( 'Background Position', 'translation_domain' ),
     370            'label'    => __( 'Background Position', 'advanced-twenty-seventeen' ),
    330371            'section'  => 'ats_header_general_section',
    331372            'type'     => 'select',
     
    344385        Kirki::add_field( 'ats', array(
    345386            'settings' => 'ats_header_background_attachment',
    346             'label'    => __( 'Background Attachment', 'translation_domain' ),
     387            'label'    => __( 'Background Attachment', 'advanced-twenty-seventeen' ),
    347388            'section'  => 'ats_header_general_section',
    348389            'type'     => 'select',
     
    361402        Kirki::add_field( 'ats', array(
    362403            'settings' => 'ats_header_background_color',
    363             'label'    => __( 'Background Color', 'translation_domain' ),
     404            'label'    => __( 'Background Color', 'advanced-twenty-seventeen' ),
    364405            'section'  => 'ats_header_general_section',
    365406            'type'     => 'color',
     
    377418        Kirki::add_field( 'ats', array(
    378419            'settings' => 'ats_branding_align',
    379             'label'    => __( 'Align', 'translation_domain' ),
     420            'label'    => __( 'Align', 'advanced-twenty-seventeen' ),
    380421            'section'  => 'ats_branding_section',
    381422            'type'     => 'select',
     
    437478        Kirki::add_field( 'ats', array(
    438479            'settings' => 'ats_menu_align',
    439             'label'    => __( 'Align', 'translation_domain' ),
     480            'label'    => __( 'Align', 'advanced-twenty-seventeen' ),
    440481            'section'  => 'ats_menu_section',
    441482            'type'     => 'select',
     
    459500        Kirki::add_field( 'ats', array(
    460501            'settings' => 'ats_menu_background_image',
    461             'label'    => __( 'Background Image', 'translation_domain' ),
     502            'label'    => __( 'Background Image', 'advanced-twenty-seventeen' ),
    462503            'section'  => 'ats_menu_section',
    463504            'type'     => 'image',
     
    473514        Kirki::add_field( 'ats', array(
    474515            'settings' => 'ats_menu_background_repeat',
    475             'label'    => __( 'Background Repeat', 'translation_domain' ),
     516            'label'    => __( 'Background Repeat', 'advanced-twenty-seventeen' ),
    476517            'section'  => 'ats_menu_section',
    477518            'type'     => 'select',
     
    490531        Kirki::add_field( 'ats', array(
    491532            'settings' => 'ats_menu_background_position',
    492             'label'    => __( 'Background Position', 'translation_domain' ),
     533            'label'    => __( 'Background Position', 'advanced-twenty-seventeen' ),
    493534            'section'  => 'ats_menu_section',
    494535            'type'     => 'select',
     
    507548        Kirki::add_field( 'ats', array(
    508549            'settings' => 'ats_menu_background_attachment',
    509             'label'    => __( 'Background Attachment', 'translation_domain' ),
     550            'label'    => __( 'Background Attachment', 'advanced-twenty-seventeen' ),
    510551            'section'  => 'ats_menu_section',
    511552            'type'     => 'select',
     
    524565        Kirki::add_field( 'ats', array(
    525566            'settings' => 'ats_menu_background_color',
    526             'label'    => __( 'Background Color', 'translation_domain' ),
     567            'label'    => __( 'Background Color', 'advanced-twenty-seventeen' ),
    527568            'section'  => 'ats_menu_section',
    528569            'type'     => 'color',
     
    540581        Kirki::add_field( 'ats', array(
    541582            'settings' => 'ats_menu_border_top',
    542             'label'    => __( 'Border Top', 'translation_domain' ),
     583            'label'    => __( 'Border Top', 'advanced-twenty-seventeen' ),
    543584            'section'  => 'ats_menu_section',
    544585            'type'     => 'textfield',
     
    557598        Kirki::add_field( 'ats', array(
    558599            'settings' => 'ats_menu_border_bottom',
    559             'label'    => __( 'Border Bottom', 'translation_domain' ),
     600            'label'    => __( 'Border Bottom', 'advanced-twenty-seventeen' ),
    560601            'section'  => 'ats_menu_section',
    561602            'type'     => 'textfield',
     
    620661        Kirki::add_field( 'ats', array(
    621662            'settings' => 'ats_footer_general_background_image',
    622             'label'    => __( 'Background Image', 'translation_domain' ),
     663            'label'    => __( 'Background Image', 'advanced-twenty-seventeen' ),
    623664            'section'  => 'ats_footer_general_section',
    624665            'type'     => 'image',
     
    634675        Kirki::add_field( 'ats', array(
    635676            'settings' => 'ats_footer_general_background_repeat',
    636             'label'    => __( 'Background Repeat', 'translation_domain' ),
     677            'label'    => __( 'Background Repeat', 'advanced-twenty-seventeen' ),
    637678            'section'  => 'ats_footer_general_section',
    638679            'type'     => 'select',
     
    651692        Kirki::add_field( 'ats', array(
    652693            'settings' => 'ats_footer_general_background_position',
    653             'label'    => __( 'Background Position', 'translation_domain' ),
     694            'label'    => __( 'Background Position', 'advanced-twenty-seventeen' ),
    654695            'section'  => 'ats_footer_general_section',
    655696            'type'     => 'select',
     
    668709        Kirki::add_field( 'ats', array(
    669710            'settings' => 'ats_footer_general_background_attachment',
    670             'label'    => __( 'Background Attachment', 'translation_domain' ),
     711            'label'    => __( 'Background Attachment', 'advanced-twenty-seventeen' ),
    671712            'section'  => 'ats_footer_general_section',
    672713            'type'     => 'select',
     
    685726        Kirki::add_field( 'ats', array(
    686727            'settings' => 'ats_footer_general_background_color',
    687             'label'    => __( 'Background Color', 'translation_domain' ),
     728            'label'    => __( 'Background Color', 'advanced-twenty-seventeen' ),
    688729            'section'  => 'ats_footer_general_section',
    689730            'type'     => 'color',
     
    817858        Kirki::add_field( 'ats', array(
    818859            'settings' => 'ats_custom_copyright',
    819             'label'    => __( 'Custom Copyright', 'translation_domain' ),
     860            'label'    => __( 'Custom Copyright', 'advanced-twenty-seventeen' ),
    820861            'section'  => 'ats_footer_copyright_section',
    821862            'type'     => 'textarea',
     
    827868        Kirki::add_field( 'ats', array(
    828869            'settings' => 'ats_footer_copyright_background_image',
    829             'label'    => __( 'Background Image', 'translation_domain' ),
     870            'label'    => __( 'Background Image', 'advanced-twenty-seventeen' ),
    830871            'section'  => 'ats_footer_copyright_section',
    831872            'type'     => 'image',
     
    841882        Kirki::add_field( 'ats', array(
    842883            'settings' => 'ats_footer_copyright_background_repeat',
    843             'label'    => __( 'Background Repeat', 'translation_domain' ),
     884            'label'    => __( 'Background Repeat', 'advanced-twenty-seventeen' ),
    844885            'section'  => 'ats_footer_copyright_section',
    845886            'type'     => 'select',
     
    858899        Kirki::add_field( 'ats', array(
    859900            'settings' => 'ats_footer_copyright_background_position',
    860             'label'    => __( 'Background Position', 'translation_domain' ),
     901            'label'    => __( 'Background Position', 'advanced-twenty-seventeen' ),
    861902            'section'  => 'ats_footer_copyright_section',
    862903            'type'     => 'select',
     
    875916        Kirki::add_field( 'ats', array(
    876917            'settings' => 'ats_footer_copyright_background_attachment',
    877             'label'    => __( 'Background Attachment', 'translation_domain' ),
     918            'label'    => __( 'Background Attachment', 'advanced-twenty-seventeen' ),
    878919            'section'  => 'ats_footer_copyright_section',
    879920            'type'     => 'select',
     
    892933        Kirki::add_field( 'ats', array(
    893934            'settings' => 'ats_footer_copyright_background_color',
    894             'label'    => __( 'Background Color', 'translation_domain' ),
     935            'label'    => __( 'Background Color', 'advanced-twenty-seventeen' ),
    895936            'section'  => 'ats_footer_copyright_section',
    896937            'type'     => 'color',
     
    9951036        Kirki::add_field( 'ats', array(
    9961037            'settings' => 'ats_custom_code',
    997             'label'    => __( 'Custom Code', 'translation_domain' ),
     1038            'label'    => __( 'Custom Code', 'advanced-twenty-seventeen' ),
    9981039            'section'  => 'ats_custom_code_section',
    9991040            'type'     => 'code',
     
    10081049        ) );
    10091050
     1051        Kirki::add_field( 'ats', array(
     1052            'type'        => 'toggle',
     1053            'settings'    => 'ats_home_hide_panel_title',
     1054            'label'       => __( 'Hide Panel Title', 'advanced-twenty-seventeen' ),
     1055            'section'     => 'ats_home_general_section',
     1056            'default'     => '0',
     1057            'priority'    => $control_priority++,
     1058            'description' => __( 'Hide title panel or not', 'advanced-twenty-seventeen' ),
     1059        ) );
     1060
    10101061        add_action( 'wp_footer', array( $this, 'wp_footer' ) );
    10111062        add_filter( 'body_class', array( $this, 'body_class' ) );
     
    10211072        $classes[] = 'ats-layout-' . Kirki::get_option( 'ats', 'ats_site_layout' );
    10221073
    1023         if ( is_customize_preview ) {
     1074        if ( is_customize_preview() ) {
    10241075            $classes[] = 'ats-preview';
     1076        }
     1077
     1078        if ( Kirki::get_option( 'ats', 'ats_home_hide_panel_title' ) ) {
     1079            $classes[] = 'ats-hide-panel-title';
    10251080        }
    10261081
  • advanced-twenty-seventeen/trunk/readme.txt

    r1564474 r1578558  
    3636== Changelog ==
    3737
     38= 1.2 =
     39*  Added typography options
     40*  Updated translation text
     41
    3842= 1.1 =
    39 *  Improved theme options.
     43*  Improved theme options
    4044
    4145= 1.0 =
    42 *  Initial version.
     46*  Initial version
Note: See TracChangeset for help on using the changeset viewer.