Changeset 1578558
- Timestamp:
- 01/20/2017 08:57:22 AM (9 years ago)
- Location:
- advanced-twenty-seventeen/trunk
- Files:
-
- 5 edited
-
advanced-twenty-seventeen.php (modified) (2 diffs)
-
i18n/languages/advanced-twenty-seventeen.pot (modified) (2 diffs)
-
inc/admin/child-theme/style.css (modified) (1 diff)
-
inc/class-ats-customizer.php (modified) (40 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
advanced-twenty-seventeen/trunk/advanced-twenty-seventeen.php
r1564474 r1578558 4 4 * Plugin URI: https://saturnthemes.com/ 5 5 * Description: An toolkit that helps you customize the Twenty Seventeen theme completely. 6 * Version: 1. 1.56 * Version: 1.2 7 7 * Author: saturnplugins 8 8 * Author URI: https://saturnthemes.com … … 19 19 if ( ! class_exists( 'AdvancedTwentySeventeen' ) ) { 20 20 class AdvancedTwentySeventeen { 21 public $version = '1. 1.5';21 public $version = '1.2'; 22 22 23 23 protected static $_instance = null; -
advanced-twenty-seventeen/trunk/i18n/languages/advanced-twenty-seventeen.pot
r1558751 r1578558 1 # Copyright (C) 201 6advanced-twenty-seventeen1 # Copyright (C) 2017 advanced-twenty-seventeen 2 2 # This file is distributed under the same license as the advanced-twenty-seventeen package. 3 3 msgid "" … … 13 13 "Plural-Forms: nplurals=2; plural=(n != 1);\n" 14 14 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 20 16 msgid "General" 21 17 msgstr "" 22 18 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 20 msgid "Typography" 21 msgstr "" 22 23 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:58 60 24 msgid "Layout" 61 25 msgstr "" 62 26 63 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:155 27 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:70 28 msgid "Site Branding" 29 msgstr "" 30 31 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:76 32 msgid "Menu" 33 msgstr "" 34 35 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:88 36 msgid "Widget" 37 msgstr "" 38 39 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:94 40 msgid "Custom Copyright" 41 msgstr "" 42 43 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:100 44 msgid "Social Icons" 45 msgstr "" 46 47 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:106 48 msgid "Custom Code" 49 msgstr "" 50 51 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:123 64 52 msgid "Full Width" 65 53 msgstr "" 66 54 67 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1 5655 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:124 68 56 msgid "Boxed" 69 57 msgstr "" 70 58 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 60 msgid "To use this option properly please go to Customizer > Header Media > click on Hide Image of Header Image." 61 msgstr "" 62 63 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:424, src/advanced-twenty-seventeen/inc/class-ats-customizer.php:484 80 64 msgid "Left" 81 65 msgstr "" 82 66 83 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php: 236, src/advanced-twenty-seventeen/inc/class-ats-customizer.php:30067 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:425, src/advanced-twenty-seventeen/inc/class-ats-customizer.php:485 84 68 msgid "Center" 85 69 msgstr "" 86 70 87 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php: 237, src/advanced-twenty-seventeen/inc/class-ats-customizer.php:30171 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:426, src/advanced-twenty-seventeen/inc/class-ats-customizer.php:486 88 72 msgid "Right" 89 73 msgstr "" 90 74 91 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php: 23975 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:428 92 76 msgid "Horizontal align for site branding" 93 77 msgstr "" 94 78 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 116 80 msgid "Horizontal align for menu" 117 81 msgstr "" 118 82 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 124 84 msgid "For example: 1px solid #eee or none" 125 85 msgstr "" 126 86 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 88 msgid "Advanced Widgets" 89 msgstr "" 90 91 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:749 92 msgid "Allow to add more widget section in the footer" 93 msgstr "" 94 95 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:754 96 msgid "Sections" 97 msgstr "" 98 99 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:759 100 msgid "Widget Section" 101 msgstr "" 102 103 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:776 104 msgid "Section Width" 105 msgstr "" 106 107 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:792 108 msgid "Widget Title" 109 msgstr "" 110 111 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:815 112 msgid "Widget Text" 113 msgstr "" 114 115 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:838 116 msgid "Widget Link" 117 msgstr "" 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 148 120 msgid "Proudly powered by WordPress" 149 121 msgstr "" 150 122 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 124 msgid "Copyright Text" 125 msgstr "" 126 127 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:974 128 msgid "Color" 129 msgstr "" 130 131 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:990 132 msgid "Icon Color" 133 msgstr "" 134 135 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1006 136 msgid "Color on Hover" 137 msgstr "" 138 139 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1022 140 msgid "Icon Color on Hover" 141 msgstr "" 142 143 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1041 160 144 msgid "<!-- Your Custom HTML Code -->" 161 145 msgstr "" 162 146 163 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:524 147 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1054 148 msgid "Hide Panel Title" 149 msgstr "" 150 151 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1058 152 msgid "Hide title panel or not" 153 msgstr "" 154 155 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1087 164 156 msgid "Repeat" 165 157 msgstr "" 166 158 167 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php: 525159 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1088 168 160 msgid "Repeat Horizontal" 169 161 msgstr "" 170 162 171 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php: 526163 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1089 172 164 msgid "Repeat Vertical" 173 165 msgstr "" 174 166 175 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php: 527167 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1090 176 168 msgid "No Repeat" 177 169 msgstr "" 178 170 179 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php: 539171 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1096 180 172 msgid "Left Top" 181 173 msgstr "" 182 174 183 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php: 540175 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1097 184 176 msgid "Left Center" 185 177 msgstr "" 186 178 187 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php: 541179 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1098 188 180 msgid "Left Bottom" 189 181 msgstr "" 190 182 191 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php: 542183 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1099 192 184 msgid "Right Top" 193 185 msgstr "" 194 186 195 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php: 543187 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1100 196 188 msgid "Right Center" 197 189 msgstr "" 198 190 199 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php: 544191 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1101 200 192 msgid "Right Bottom" 201 193 msgstr "" 202 194 203 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php: 545195 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1102 204 196 msgid "Center Top" 205 197 msgstr "" 206 198 207 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php: 546199 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1103 208 200 msgid "Center Center" 209 201 msgstr "" 210 202 211 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php: 547203 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1104 212 204 msgid "Center Bottom" 213 205 msgstr "" 214 206 215 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php: 559207 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1110 216 208 msgid "Scroll" 217 209 msgstr "" 218 210 219 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php: 560211 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1111 220 212 msgid "Fixed" 221 213 msgstr "" 222 214 223 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php: 561, src/advanced-twenty-seventeen/inc/class-ats-customizer.php:577215 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1112, src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1122 224 216 msgid "Inherit" 225 217 msgstr "" 226 218 227 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php: 573219 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1118 228 220 msgid "None" 229 221 msgstr "" 230 222 231 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php: 574223 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1119 232 224 msgid "Capitalize" 233 225 msgstr "" 234 226 235 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php: 575227 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1120 236 228 msgid "Uppercase" 237 229 msgstr "" 238 230 239 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php: 576231 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1121 240 232 msgid "Lowercase" 241 233 msgstr "" 242 234 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 236 msgid "Footer %d" 237 msgstr "" 238 239 #: src/advanced-twenty-seventeen/inc/class-ats-customizer.php:1136 240 msgid "Add widgets here to appear in your footer." 241 msgstr "" 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 244 244 msgid "Advanced Twenty Seventeen plugin" 245 245 msgstr "" 246 246 247 #: src/advanced-twenty-seventeen/inc/admin/class-ats-admin-child-theme.php: 49247 #: src/advanced-twenty-seventeen/inc/admin/class-ats-admin-child-theme.php:50 248 248 msgid "Please activate the theme Twenty Seventeen." 249 249 msgstr "" 250 250 251 #: src/advanced-twenty-seventeen/inc/admin/class-ats-admin-child-theme.php:5 2251 #: src/advanced-twenty-seventeen/inc/admin/class-ats-admin-child-theme.php:53 252 252 msgid "Please click <a href=\"%s\">here</a> to create advanced child theme for Twenty Seventeen" 253 253 msgstr "" 254 254 255 #: src/advanced-twenty-seventeen/inc/admin/class-ats-admin-child-theme.php:6 2255 #: src/advanced-twenty-seventeen/inc/admin/class-ats-admin-child-theme.php:63 256 256 msgid "The child theme is created successfully. Please go to <a href=\"%s\">customize</a> to use Advanced Twenty Seventeen" 257 257 msgstr "" -
advanced-twenty-seventeen/trunk/inc/admin/child-theme/style.css
r1562791 r1578558 49 49 } 50 50 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 51 60 @media (max-width: 1170px) { 52 61 .ats-preview.ats-layout-boxed #page, -
advanced-twenty-seventeen/trunk/inc/class-ats-customizer.php
r1562791 r1578558 20 20 Kirki::add_panel( 'ats_global_panel', array( 21 21 'priority' => $panel_priority++, 22 'title' => __( 'Advanced: Global', ' textdomain' ),22 'title' => __( 'Advanced: Global', 'advanced-twenty-seventeen' ), 23 23 ) ); 24 24 25 25 Kirki::add_panel( 'ats_header_panel', array( 26 26 'priority' => $panel_priority++, 27 'title' => __( 'Advanced: Header', ' textdomain' ),27 'title' => __( 'Advanced: Header', 'advanced-twenty-seventeen' ), 28 28 ) ); 29 29 30 30 Kirki::add_panel( 'ats_footer_panel', array( 31 31 'priority' => $panel_priority++, 32 'title' => __( 'Advanced: Footer', ' textdomain' ),32 'title' => __( 'Advanced: Footer', 'advanced-twenty-seventeen' ), 33 33 ) ); 34 34 35 35 Kirki::add_panel( 'ats_miscellaneous_panel', array( 36 36 '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' ), 38 43 ) ); 39 44 … … 44 49 ) ); 45 50 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 46 57 Kirki::add_section( 'ats_layout_section', array( 47 58 'title' => __( 'Layout', 'advanced-twenty-seventeen' ), … … 98 109 ) ); 99 110 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 100 117 Kirki::add_field( 'ats', array( 101 118 'settings' => 'ats_site_layout', 102 'label' => __( 'Layout', ' translation_domain' ),119 'label' => __( 'Layout', 'advanced-twenty-seventeen' ), 103 120 'section' => 'ats_general_section', 104 121 'type' => 'select', … … 114 131 Kirki::add_field( 'ats', array( 115 132 'settings' => 'ats_general_background_image', 116 'label' => __( 'Background Image', ' translation_domain' ),133 'label' => __( 'Background Image', 'advanced-twenty-seventeen' ), 117 134 'section' => 'ats_general_section', 118 135 'type' => 'image', … … 136 153 Kirki::add_field( 'ats', array( 137 154 'settings' => 'ats_general_background_repeat', 138 'label' => __( 'Background Repeat', ' translation_domain' ),155 'label' => __( 'Background Repeat', 'advanced-twenty-seventeen' ), 139 156 'section' => 'ats_general_section', 140 157 'type' => 'select', … … 160 177 Kirki::add_field( 'ats', array( 161 178 'settings' => 'ats_general_background_position', 162 'label' => __( 'Background Position', ' translation_domain' ),179 'label' => __( 'Background Position', 'advanced-twenty-seventeen' ), 163 180 'section' => 'ats_general_section', 164 181 'type' => 'select', … … 184 201 Kirki::add_field( 'ats', array( 185 202 'settings' => 'ats_general_background_attachment', 186 'label' => __( 'Background Attachment', ' translation_domain' ),203 'label' => __( 'Background Attachment', 'advanced-twenty-seventeen' ), 187 204 'section' => 'ats_general_section', 188 205 'type' => 'select', … … 208 225 Kirki::add_field( 'ats', array( 209 226 'settings' => 'ats_general_background_color', 210 'label' => __( 'Background Color', ' translation_domain' ),227 'label' => __( 'Background Color', 'advanced-twenty-seventeen' ), 211 228 'section' => 'ats_general_section', 212 229 'type' => 'color', … … 230 247 231 248 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( 232 273 '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', 235 276 'type' => 'color', 236 277 'default' => '', … … 247 288 Kirki::add_field( 'ats', array( 248 289 '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', 251 292 'type' => 'color', 252 293 'default' => '', … … 263 304 Kirki::add_field( 'ats', array( 264 305 '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', 267 308 'type' => 'color', 268 309 'default' => '', … … 279 320 Kirki::add_field( 'ats', array( 280 321 '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', 283 324 'type' => 'color', 284 325 'default' => '', … … 295 336 Kirki::add_field( 'ats', array( 296 337 'settings' => 'ats_header_background_image', 297 'label' => __( 'Background Image', ' translation_domain' ),338 'label' => __( 'Background Image', 'advanced-twenty-seventeen' ), 298 339 'section' => 'ats_header_general_section', 299 340 'type' => 'image', … … 310 351 Kirki::add_field( 'ats', array( 311 352 'settings' => 'ats_header_background_repeat', 312 'label' => __( 'Background Repeat', ' translation_domain' ),353 'label' => __( 'Background Repeat', 'advanced-twenty-seventeen' ), 313 354 'section' => 'ats_header_general_section', 314 355 'type' => 'select', … … 327 368 Kirki::add_field( 'ats', array( 328 369 'settings' => 'ats_header_background_position', 329 'label' => __( 'Background Position', ' translation_domain' ),370 'label' => __( 'Background Position', 'advanced-twenty-seventeen' ), 330 371 'section' => 'ats_header_general_section', 331 372 'type' => 'select', … … 344 385 Kirki::add_field( 'ats', array( 345 386 'settings' => 'ats_header_background_attachment', 346 'label' => __( 'Background Attachment', ' translation_domain' ),387 'label' => __( 'Background Attachment', 'advanced-twenty-seventeen' ), 347 388 'section' => 'ats_header_general_section', 348 389 'type' => 'select', … … 361 402 Kirki::add_field( 'ats', array( 362 403 'settings' => 'ats_header_background_color', 363 'label' => __( 'Background Color', ' translation_domain' ),404 'label' => __( 'Background Color', 'advanced-twenty-seventeen' ), 364 405 'section' => 'ats_header_general_section', 365 406 'type' => 'color', … … 377 418 Kirki::add_field( 'ats', array( 378 419 'settings' => 'ats_branding_align', 379 'label' => __( 'Align', ' translation_domain' ),420 'label' => __( 'Align', 'advanced-twenty-seventeen' ), 380 421 'section' => 'ats_branding_section', 381 422 'type' => 'select', … … 437 478 Kirki::add_field( 'ats', array( 438 479 'settings' => 'ats_menu_align', 439 'label' => __( 'Align', ' translation_domain' ),480 'label' => __( 'Align', 'advanced-twenty-seventeen' ), 440 481 'section' => 'ats_menu_section', 441 482 'type' => 'select', … … 459 500 Kirki::add_field( 'ats', array( 460 501 'settings' => 'ats_menu_background_image', 461 'label' => __( 'Background Image', ' translation_domain' ),502 'label' => __( 'Background Image', 'advanced-twenty-seventeen' ), 462 503 'section' => 'ats_menu_section', 463 504 'type' => 'image', … … 473 514 Kirki::add_field( 'ats', array( 474 515 'settings' => 'ats_menu_background_repeat', 475 'label' => __( 'Background Repeat', ' translation_domain' ),516 'label' => __( 'Background Repeat', 'advanced-twenty-seventeen' ), 476 517 'section' => 'ats_menu_section', 477 518 'type' => 'select', … … 490 531 Kirki::add_field( 'ats', array( 491 532 'settings' => 'ats_menu_background_position', 492 'label' => __( 'Background Position', ' translation_domain' ),533 'label' => __( 'Background Position', 'advanced-twenty-seventeen' ), 493 534 'section' => 'ats_menu_section', 494 535 'type' => 'select', … … 507 548 Kirki::add_field( 'ats', array( 508 549 'settings' => 'ats_menu_background_attachment', 509 'label' => __( 'Background Attachment', ' translation_domain' ),550 'label' => __( 'Background Attachment', 'advanced-twenty-seventeen' ), 510 551 'section' => 'ats_menu_section', 511 552 'type' => 'select', … … 524 565 Kirki::add_field( 'ats', array( 525 566 'settings' => 'ats_menu_background_color', 526 'label' => __( 'Background Color', ' translation_domain' ),567 'label' => __( 'Background Color', 'advanced-twenty-seventeen' ), 527 568 'section' => 'ats_menu_section', 528 569 'type' => 'color', … … 540 581 Kirki::add_field( 'ats', array( 541 582 'settings' => 'ats_menu_border_top', 542 'label' => __( 'Border Top', ' translation_domain' ),583 'label' => __( 'Border Top', 'advanced-twenty-seventeen' ), 543 584 'section' => 'ats_menu_section', 544 585 'type' => 'textfield', … … 557 598 Kirki::add_field( 'ats', array( 558 599 'settings' => 'ats_menu_border_bottom', 559 'label' => __( 'Border Bottom', ' translation_domain' ),600 'label' => __( 'Border Bottom', 'advanced-twenty-seventeen' ), 560 601 'section' => 'ats_menu_section', 561 602 'type' => 'textfield', … … 620 661 Kirki::add_field( 'ats', array( 621 662 'settings' => 'ats_footer_general_background_image', 622 'label' => __( 'Background Image', ' translation_domain' ),663 'label' => __( 'Background Image', 'advanced-twenty-seventeen' ), 623 664 'section' => 'ats_footer_general_section', 624 665 'type' => 'image', … … 634 675 Kirki::add_field( 'ats', array( 635 676 'settings' => 'ats_footer_general_background_repeat', 636 'label' => __( 'Background Repeat', ' translation_domain' ),677 'label' => __( 'Background Repeat', 'advanced-twenty-seventeen' ), 637 678 'section' => 'ats_footer_general_section', 638 679 'type' => 'select', … … 651 692 Kirki::add_field( 'ats', array( 652 693 'settings' => 'ats_footer_general_background_position', 653 'label' => __( 'Background Position', ' translation_domain' ),694 'label' => __( 'Background Position', 'advanced-twenty-seventeen' ), 654 695 'section' => 'ats_footer_general_section', 655 696 'type' => 'select', … … 668 709 Kirki::add_field( 'ats', array( 669 710 'settings' => 'ats_footer_general_background_attachment', 670 'label' => __( 'Background Attachment', ' translation_domain' ),711 'label' => __( 'Background Attachment', 'advanced-twenty-seventeen' ), 671 712 'section' => 'ats_footer_general_section', 672 713 'type' => 'select', … … 685 726 Kirki::add_field( 'ats', array( 686 727 'settings' => 'ats_footer_general_background_color', 687 'label' => __( 'Background Color', ' translation_domain' ),728 'label' => __( 'Background Color', 'advanced-twenty-seventeen' ), 688 729 'section' => 'ats_footer_general_section', 689 730 'type' => 'color', … … 817 858 Kirki::add_field( 'ats', array( 818 859 'settings' => 'ats_custom_copyright', 819 'label' => __( 'Custom Copyright', ' translation_domain' ),860 'label' => __( 'Custom Copyright', 'advanced-twenty-seventeen' ), 820 861 'section' => 'ats_footer_copyright_section', 821 862 'type' => 'textarea', … … 827 868 Kirki::add_field( 'ats', array( 828 869 'settings' => 'ats_footer_copyright_background_image', 829 'label' => __( 'Background Image', ' translation_domain' ),870 'label' => __( 'Background Image', 'advanced-twenty-seventeen' ), 830 871 'section' => 'ats_footer_copyright_section', 831 872 'type' => 'image', … … 841 882 Kirki::add_field( 'ats', array( 842 883 'settings' => 'ats_footer_copyright_background_repeat', 843 'label' => __( 'Background Repeat', ' translation_domain' ),884 'label' => __( 'Background Repeat', 'advanced-twenty-seventeen' ), 844 885 'section' => 'ats_footer_copyright_section', 845 886 'type' => 'select', … … 858 899 Kirki::add_field( 'ats', array( 859 900 'settings' => 'ats_footer_copyright_background_position', 860 'label' => __( 'Background Position', ' translation_domain' ),901 'label' => __( 'Background Position', 'advanced-twenty-seventeen' ), 861 902 'section' => 'ats_footer_copyright_section', 862 903 'type' => 'select', … … 875 916 Kirki::add_field( 'ats', array( 876 917 'settings' => 'ats_footer_copyright_background_attachment', 877 'label' => __( 'Background Attachment', ' translation_domain' ),918 'label' => __( 'Background Attachment', 'advanced-twenty-seventeen' ), 878 919 'section' => 'ats_footer_copyright_section', 879 920 'type' => 'select', … … 892 933 Kirki::add_field( 'ats', array( 893 934 'settings' => 'ats_footer_copyright_background_color', 894 'label' => __( 'Background Color', ' translation_domain' ),935 'label' => __( 'Background Color', 'advanced-twenty-seventeen' ), 895 936 'section' => 'ats_footer_copyright_section', 896 937 'type' => 'color', … … 995 1036 Kirki::add_field( 'ats', array( 996 1037 'settings' => 'ats_custom_code', 997 'label' => __( 'Custom Code', ' translation_domain' ),1038 'label' => __( 'Custom Code', 'advanced-twenty-seventeen' ), 998 1039 'section' => 'ats_custom_code_section', 999 1040 'type' => 'code', … … 1008 1049 ) ); 1009 1050 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 1010 1061 add_action( 'wp_footer', array( $this, 'wp_footer' ) ); 1011 1062 add_filter( 'body_class', array( $this, 'body_class' ) ); … … 1021 1072 $classes[] = 'ats-layout-' . Kirki::get_option( 'ats', 'ats_site_layout' ); 1022 1073 1023 if ( is_customize_preview ) {1074 if ( is_customize_preview() ) { 1024 1075 $classes[] = 'ats-preview'; 1076 } 1077 1078 if ( Kirki::get_option( 'ats', 'ats_home_hide_panel_title' ) ) { 1079 $classes[] = 'ats-hide-panel-title'; 1025 1080 } 1026 1081 -
advanced-twenty-seventeen/trunk/readme.txt
r1564474 r1578558 36 36 == Changelog == 37 37 38 = 1.2 = 39 * Added typography options 40 * Updated translation text 41 38 42 = 1.1 = 39 * Improved theme options .43 * Improved theme options 40 44 41 45 = 1.0 = 42 * Initial version .46 * Initial version
Note: See TracChangeset
for help on using the changeset viewer.