| @@ -19,19 +19,19 @@ | ||
| 19 | 19 | /** |
| 20 | 20 | * Presets - This section will handle other options |
| 21 | 21 | */ |
| 22 | 22 | 'presets_section' => array( |
| 23 | - 'title' => __( 'Style Presets', 'customify_txtd' ), | |
| 23 | + 'title' => __( 'Style Presets', 'customify' ), | |
| 24 | 24 | 'options' => array( |
| 25 | 25 | 'theme_style' => array( |
| 26 | 26 | 'type' => 'preset', |
| 27 | - 'label' => __( 'Select a style:', 'customify_txtd' ), | |
| 28 | - 'desc' => __( 'Conveniently change the design of your site with built-in style presets. Easy as pie.', 'customify_txtd' ), | |
| 27 | + 'label' => __( 'Select a style:', 'customify' ), | |
| 28 | + 'desc' => __( 'Conveniently change the design of your site with built-in style presets. Easy as pie.', 'customify' ), | |
| 29 | 29 | 'default' => 'royal', |
| 30 | 30 | 'choices_type' => 'awesome', |
| 31 | 31 | 'choices' => array( |
| 32 | 32 | 'royal' => array( |
| 33 | - 'label' => __( 'Royal', 'customify_txtd' ), | |
| 33 | + 'label' => __( 'Royal', 'customify' ), | |
| 34 | 34 | 'preview' => array( |
| 35 | 35 | 'color-text' => '#ffffff', |
| 36 | 36 | 'background-card' => '#615375', |
| 37 | 37 | 'background-label' => '#46414c', |
| @@ -47,9 +47,9 @@ | ||
| 47 | 47 | 'body_font' => 'PT Serif', |
| 48 | 48 | ) |
| 49 | 49 | ), |
| 50 | 50 | 'lovely' => array( |
| 51 | - 'label' => __( 'Lovely', 'customify_txtd' ), | |
| 51 | + 'label' => __( 'Lovely', 'customify' ), | |
| 52 | 52 | 'preview' => array( |
| 53 | 53 | 'color-text' => '#ffffff', |
| 54 | 54 | 'background-card' => '#d15c57', |
| 55 | 55 | 'background-label' => '#5c374b', |
| @@ -65,9 +65,9 @@ | ||
| 65 | 65 | 'body_font' => 'Playfair Display', |
| 66 | 66 | ) |
| 67 | 67 | ), |
| 68 | 68 | 'queen' => array( |
| 69 | - 'label' => __( 'Queen', 'customify_txtd' ), | |
| 69 | + 'label' => __( 'Queen', 'customify' ), | |
| 70 | 70 | 'preview' => array( |
| 71 | 71 | 'color-text' => '#fbedec', |
| 72 | 72 | 'background-card' => '#773347', |
| 73 | 73 | 'background-label' => '#41212a', |
| @@ -83,9 +83,9 @@ | ||
| 83 | 83 | 'body_font' => 'Gentium Basic', |
| 84 | 84 | ) |
| 85 | 85 | ), |
| 86 | 86 | 'carrot' => array( |
| 87 | - 'label' => __( 'Carrot', 'customify_txtd' ), | |
| 87 | + 'label' => __( 'Carrot', 'customify' ), | |
| 88 | 88 | 'preview' => array( |
| 89 | 89 | 'color-text' => '#ffffff', |
| 90 | 90 | 'background-card' => '#df421d', |
| 91 | 91 | 'background-label' => '#85210a', |
| @@ -104,9 +104,9 @@ | ||
| 104 | 104 | |
| 105 | 105 | |
| 106 | 106 | |
| 107 | 107 | 'adler' => array( |
| 108 | - 'label' => __( 'Adler', 'customify_txtd' ), | |
| 108 | + 'label' => __( 'Adler', 'customify' ), | |
| 109 | 109 | 'preview' => array( |
| 110 | 110 | 'color-text' => '#fff', |
| 111 | 111 | 'background-card' => '#0e364f', |
| 112 | 112 | 'background-label' => '#000000', |
| @@ -122,9 +122,9 @@ | ||
| 122 | 122 | 'body_font' => 'Droid Sans Mono' |
| 123 | 123 | ) |
| 124 | 124 | ), |
| 125 | 125 | 'velvet' => array( |
| 126 | - 'label' => __( 'Velvet', 'customify_txtd' ), | |
| 126 | + 'label' => __( 'Velvet', 'customify' ), | |
| 127 | 127 | 'preview' => array( |
| 128 | 128 | 'color-text' => '#ffffff', |
| 129 | 129 | 'background-card' => '#282828', |
| 130 | 130 | 'background-label' => '#000000', |
| @@ -149,13 +149,13 @@ | ||
| 149 | 149 | /** |
| 150 | 150 | * COLORS - This section will handle different elements colors (eg. links, headings) |
| 151 | 151 | */ |
| 152 | 152 | 'colors_section' => array( |
| 153 | - 'title' => __( 'Colors', 'customify_txtd' ), | |
| 153 | + 'title' => __( 'Colors', 'customify' ), | |
| 154 | 154 | 'options' => array( |
| 155 | 155 | 'links_color' => array( |
| 156 | 156 | 'type' => 'color', |
| 157 | - 'label' => __( 'Links Color', 'customify_txtd' ), | |
| 157 | + 'label' => __( 'Links Color', 'customify' ), | |
| 158 | 158 | 'live' => true, |
| 159 | 159 | 'default' => '#6c6e70', |
| 160 | 160 | 'css' => array( |
| 161 | 161 | array( |
| @@ -165,9 +165,9 @@ | ||
| 165 | 165 | ) |
| 166 | 166 | ), |
| 167 | 167 | 'headings_color' => array( |
| 168 | 168 | 'type' => 'color', |
| 169 | - 'label' => __( 'Headings Color', 'customify_txtd' ), | |
| 169 | + 'label' => __( 'Headings Color', 'customify' ), | |
| 170 | 170 | 'live' => true, |
| 171 | 171 | 'default' => '#0aa0d9', |
| 172 | 172 | 'css' => array( |
| 173 | 173 | array( |
| @@ -180,9 +180,9 @@ | ||
| 180 | 180 | ) |
| 181 | 181 | ), |
| 182 | 182 | 'body_color' => array( |
| 183 | 183 | 'type' => 'color', |
| 184 | - 'label' => __( 'Body Color', 'customify_txtd' ), | |
| 184 | + 'label' => __( 'Body Color', 'customify' ), | |
| 185 | 185 | 'live' => true, |
| 186 | 186 | 'default' => '#2d3033', |
| 187 | 187 | 'css' => array( |
| 188 | 188 | array( |
| @@ -197,13 +197,13 @@ | ||
| 197 | 197 | /** |
| 198 | 198 | * FONTS - This section will handle different elements fonts (eg. headings, body) |
| 199 | 199 | */ |
| 200 | 200 | 'typography_section' => array( |
| 201 | - 'title' => __( 'Fonts', 'customify_txtd' ), | |
| 201 | + 'title' => __( 'Fonts', 'customify' ), | |
| 202 | 202 | 'options' => array( |
| 203 | 203 | 'headings_font' => array( |
| 204 | 204 | 'type' => 'typography', |
| 205 | - 'label' => __( 'Headings', 'customify_txtd' ), | |
| 205 | + 'label' => __( 'Headings', 'customify' ), | |
| 206 | 206 | 'default' => 'Playfair Display', |
| 207 | 207 | 'selector' => '.site-title a, h1, h2, h3, h4, h5, h6, |
| 208 | 208 | h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, |
| 209 | 209 | .widget-title', |
| @@ -232,9 +232,9 @@ | ||
| 232 | 232 | ) |
| 233 | 233 | ), |
| 234 | 234 | 'body_font' => array( |
| 235 | 235 | 'type' => 'typography', |
| 236 | - 'label' => __( 'Body Text', 'customify_txtd' ), | |
| 236 | + 'label' => __( 'Body Text', 'customify' ), | |
| 237 | 237 | 'default' => 'Lato', |
| 238 | 238 | 'selector' => 'html body', |
| 239 | 239 | 'load_all_weights' => true, |
| 240 | 240 | 'recommended' => array( |
| @@ -253,13 +253,13 @@ | ||
| 253 | 253 | /** |
| 254 | 254 | * BACKGROUNDS - This section will handle different elements colors (eg. links, headings) |
| 255 | 255 | */ |
| 256 | 256 | 'backgrounds_section' => array( |
| 257 | - 'title' => __( 'Backgrounds', 'customify_txtd' ), | |
| 257 | + 'title' => __( 'Backgrounds', 'customify' ), | |
| 258 | 258 | 'options' => array( |
| 259 | 259 | 'page_background' => array( |
| 260 | 260 | 'type' => 'color', |
| 261 | - 'label' => __( 'Page Background', 'customify_txtd' ), | |
| 261 | + 'label' => __( 'Page Background', 'customify' ), | |
| 262 | 262 | 'live' => true, |
| 263 | 263 | 'default' => '#ffffff', |
| 264 | 264 | 'css' => array( |
| 265 | 265 | array( |
| @@ -273,9 +273,9 @@ | ||
| 273 | 273 | /** |
| 274 | 274 | * LAYOUTS - This section will handle different elements colors (eg. links, headings) |
| 275 | 275 | */ |
| 276 | 276 | 'layout_options' => array( |
| 277 | - 'title' => __( 'Layout', 'customify_txtd' ), | |
| 277 | + 'title' => __( 'Layout', 'customify' ), | |
| 278 | 278 | 'options' => array( |
| 279 | 279 | 'site_title_size' => array( |
| 280 | 280 | 'type' => 'range', |
| 281 | 281 | 'label' => 'Site Title Size', |
| @@ -323,16 +323,16 @@ | ||
| 323 | 323 | * A self explanatory example of panels ** |
| 324 | 324 | **/ |
| 325 | 325 | // $config['panels'] = array( |
| 326 | 326 | // 'panel_id' => array( |
| 327 | -// 'title' => __( 'Panel Title', 'customify_txtd' ), | |
| 327 | +// 'title' => __( 'Panel Title', 'customify' ), | |
| 328 | 328 | // 'sections' => array( |
| 329 | 329 | // 'panel_section' => array( |
| 330 | -// 'title' => __( 'Section Title', 'customify_txtd' ), | |
| 330 | +// 'title' => __( 'Section Title', 'customify' ), | |
| 331 | 331 | // 'options' => array( |
| 332 | 332 | // 'setting_id' => array( |
| 333 | 333 | // 'type' => 'color', |
| 334 | -// 'label' => __( 'Label', 'customify_txtd' ), | |
| 334 | +// 'label' => __( 'Label', 'customify' ), | |
| 335 | 335 | // 'live' => true, // or false |
| 336 | 336 | // 'default' => '#6c6e70', |
| 337 | 337 | // 'css' => array( |
| 338 | 338 | // array( |
| @@ -349,7 +349,5 @@ | ||
| 349 | 349 | |
| 350 | 350 | return $config; |
| 351 | 351 | } |
| 352 | 352 | } |
| 353 | - | |
| 354 | - | |
| 355 | -add_filter( 'customify_filter_fields', 'add_customify_base_options' ); | |
| 353 | +add_filter( 'customify_filter_fields', 'add_customify_base_options', 5, 1 ); | |