Clever Fox - Version 1.1.30

Version Description

  • Hantus Issues Resolved
Download this release

Release Info

Developer nayrathemes
Plugin Icon 128x128 Clever Fox
Version 1.1.30
Comparing to
See all releases

Code changes from version 1.1.29 to 1.1.30

clever-fox.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Clever Fox
4
  Plugin URI:
5
  Description: The Clever Fox plugin adds sections functionality to the Startkit theme and Others Nayra's Themes. This plugin for only startkit themes. Clever Fox is a plugin build to enhance the functionality of WordPress Theme made by Nayra Themes.
6
- Version: 1.1.29
7
  Author: nayrathemes
8
  Author URI: https://nayrathemes.com
9
  Text Domain: clever-fox
3
  Plugin Name: Clever Fox
4
  Plugin URI:
5
  Description: The Clever Fox plugin adds sections functionality to the Startkit theme and Others Nayra's Themes. This plugin for only startkit themes. Clever Fox is a plugin build to enhance the functionality of WordPress Theme made by Nayra Themes.
6
+ Version: 1.1.30
7
  Author: nayrathemes
8
  Author URI: https://nayrathemes.com
9
  Text Domain: clever-fox
inc/hantus/features/section-slider.php CHANGED
@@ -93,7 +93,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
93
  $wp_customize->add_setting(
94
  'slider_opacity' ,
95
  array(
96
- 'default' => '0',
97
  'capability' => 'edit_theme_options',
98
  )
99
  );
93
  $wp_customize->add_setting(
94
  'slider_opacity' ,
95
  array(
96
+ 'default' => '0.2',
97
  'capability' => 'edit_theme_options',
98
  )
99
  );
inc/hantus/features/section-typography.php CHANGED
@@ -43,7 +43,7 @@ for($i=9; $i<=100; $i++)
43
  $font_family = array('Dosis'=>'Dosis','Raleway'=>'Raleway','Arial, sans-serif'=>'Arial','Georgia, serif'=>'Georgia','Times New Roman, serif'=>'Times New Roman','Tahoma, Geneva, Verdana, sans-serif'=>'Tahoma','Palatino, Palatino Linotype, serif'=>'Palatino','Helvetica Neue, Helvetica, sans-serif'=>'Helvetica*','Calibri, Candara, Segoe, Optima, sans-serif'=>'Calibri*','Myriad Pro, Myriad, sans-serif'=>'Myriad Pro*','Lucida Grande, Lucida Sans Unicode, Lucida Sans, sans-serif'=>'Lucida','Arial Black, sans-serif'=>'Arial Black','Gill Sans, Gill Sans MT, Calibri, sans-serif'=>'Gill Sans*','Geneva, Tahoma, Verdana, sans-serif'=>'Geneva*','Impact, Charcoal, sans-serif'=>'Impact','Courier, Courier New, monospace'=>'Courier','Abel'=>'Abel','Abril Fatface'=>'Abril Fatface','Aclonica'=>'Aclonica','Actor'=>'Actor','Adamina'=>'Adamina','Aldrich'=>'Aldrich','Alice'=>'Alice','Alike'=>'Alike','Alike Angular'=>'Alike Angular','Allan'=>'Allan','Allerta'=>'Allerta','Allerta Stencil'=>'Allerta Stencil','Amaranth'=>'Amaranth','Amatic SC'=>'Amatic SC','Andada'=>'Andada','Andika'=>'Andika','Annie Use Your Telescope'=>'Annie Use Your Telescope','Anonymous Pro'=>'Anonymous Pro','Antic'=>'Antic','Anton'=>'Anton','Architects Daughter'=>'Architects Daughter','Arimo'=>'Arimo','Artifika'=>'Artifika','Arvo'=>'Arvo','Asset'=>'Asset','Astloch'=>'Astloch','Atomic Age'=>'Atomic Age','Aubrey'=>'Aubrey','Bangers'=>'Bangers','Bentham'=>'Bentham','Bevan'=>'Bevan','Bigshot One'=>'Bigshot One','Black Ops One'=>'Black Ops One','Bowlby One'=>'Bowlby One','Bowlby One SC'=>'Bowlby One SC','Brawler'=>'Brawler','Butcherman Caps'=>'Butcherman Caps','Cabin'=>'Cabin','Cabin Sketch'=>'Cabin Sketch','Cabin Sketch'=>'Cabin Sketch','Calligraffitti'=>'Calligraffitti','Candal'=>'Candal','Cantarell'=>'Cantarell','Cardo'=>'Cardo','Carme'=>'Carme','Carter One'=>'Carter One','Caudex'=>'Caudex','Cedarville Cursive'=>'Cedarville Cursive','Changa One'=>'Changa One','Cherry Cream Soda'=>'Cherry Cream Soda','Chewy'=>'Chewy','Chivo'=>'Chivo','Coda'=>'Coda','Comfortaa'=>'Comfortaa','Coming Soon'=>'Coming Soon','Contrail One'=>'Contrail One','Copse'=>'Copse','Corben'=>'Corben','Corben'=>'Corben','Cousine'=>'Cousine','Coustard'=>'Coustard','Covered By Your Grace'=>'Covered By Your Grace','Crafty Girls'=>'Crafty Girls','Creepster Caps'=>'Creepster Caps','Crimson Text'=>'Crimson Text','Crushed'=>'Crushed','Cuprum'=>'Cuprum','Damion'=>'Damion','Dancing Script'=>'Dancing Script','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','Didact Gothic'=>'Didact Gothic','Dorsa'=>'Dorsa','Droid Sans'=>'Droid Sans','Droid Sans Mono'=>'Droid Sans Mono','Droid Serif'=>'Droid Serif','EB Garamond'=>'EB Garamond','Eater Caps'=>'Eater Caps','Expletus Sans'=>'Expletus Sans','Fanwood Text'=>'Fanwood Text','Federant'=>'Federant','Federo'=>'Federo','Roboto' => 'Roboto','Fontdiner Swanky'=>'Fontdiner Swanky','Forum'=>'Forum','Francois One'=>'Francois One','Gentium Book Basic'=>'Gentium Book Basic','Geo'=>'Geo','Geostar'=>'Geostar','Geostar Fill'=>'Geostar Fill','Give You Glory'=>'Give You Glory','Gloria Hallelujah'=>'Gloria Hallelujah','Goblin One'=>'Goblin One','Gochi Hand'=>'Gochi Hand','Goudy Bookletter 1911'=>'Goudy Bookletter 1911','Gravitas One'=>'Gravitas One','Gruppo'=>'Gruppo','Hammersmith One'=>'Hammersmith One','Holtwood One SC'=>'Holtwood One SC','Homemade Apple'=>'Homemade Apple','IM Fell DW Pica'=>'IM Fell DW Pica','IM Fell English'=>'IM Fell English','IM Fell English SC'=>'IM Fell English SC','Inconsolata'=>'Inconsolata','Indie Flower'=>'Indie Flower','Irish Grover'=>'Irish Grover','Irish Growler'=>'Irish Growler','Istok Web'=>'Istok Web','Jockey One'=>'Jockey One','Josefin Sans'=>'Josefin Sans','Josefin Slab'=>'Josefin Slab','Judson'=>'Judson','Julee'=>'Julee','Jura'=>'Jura','Just Another Hand'=>'Just Another Hand','Just Me Again Down Here'=>'Just Me Again Down Here','Kameron'=>'Kameron','Kelly Slab'=>'Kelly Slab','Kenia'=>'Kenia','Kranky'=>'Kranky','Kreon'=>'Kreon','Kristi'=>'Kristi','La Belle Aurore'=>'La Belle Aurore','Lato'=>'Lato','League Script'=>'League Script','Leckerli One'=>'Leckerli One','Lekton'=>'Lekton','Limelight'=>'Limelight','Linden Hill'=>'Linden Hill','Lobster'=>'Lobster','Lobster Two'=>'Lobster Two','Lora'=>'Lora','Love Ya Like A Sister'=>'Love Ya Like A Sister','Loved by the King'=>'Loved by the King','Luckiest Guy'=>'LuckiestGuy','Maiden Orange'=>'Maiden Orange');
44
 
45
 
46
- $font_transform = array('lowercase'=>'Lowercase','uppercase'=>'Uppercase','capitalize'=>'capitalize');
47
  $font_weight = array('normal'=>'normal', 'italic'=>'Italic','oblique'=>'oblique');
48
  // General typography section
49
  $wp_customize->add_section(
@@ -64,14 +64,14 @@ $wp_customize->add_section(
64
  'sanitize_callback' => 'sanitize_text_field',
65
  )
66
  );
67
- $wp_customize->add_control(new Cleverfox_Customizer_Select_Control($wp_customize,
68
  'body_typography_font_weight', array(
69
  'label' => __('Secondary Font Weight','hantus-pro'),
70
  'section' => 'Body_typography',
71
  'setting' => 'body_typography_font_weight',
72
  'choices'=>$font_weight,
73
- 'description'=>__('','hantus-pro'),
74
- ))
75
  );
76
  // Body font size//
77
  $wp_customize->add_setting(
@@ -118,14 +118,14 @@ $wp_customize->add_section(
118
  'sanitize_callback' => 'sanitize_text_field',
119
  )
120
  );
121
- $wp_customize->add_control(new Cleverfox_Customizer_Select_Control($wp_customize,
122
  'para_font_weight', array(
123
  'label' => __('Font Style','hantus-pro'),
124
  'section' => 'paragraph_typography',
125
  'setting' => 'para_font_weight',
126
  'choices'=>$font_weight,
127
- 'description'=>__('','hantus-pro'),
128
- ))
129
  );
130
 
131
  // paragraph font size//
@@ -199,21 +199,21 @@ $wp_customize->add_section(
199
  'sanitize_callback' => 'sanitize_text_field',
200
  )
201
  );
202
- $wp_customize->add_control(new Cleverfox_Customizer_Select_Control($wp_customize,
203
  'h1_font_weight', array(
204
  'label' => __('Font Style','hantus-pro'),
205
  'section' => 'H1_typography',
206
  'setting' => 'h1_font_weight',
207
  'choices'=>$font_weight,
208
- 'description'=>__('','hantus-pro'),
209
- ))
210
  );
211
 
212
  // H1 font size//
213
  $wp_customize->add_setting(
214
  'h1_font_size' ,
215
  array(
216
- 'default' => __( '48','hantus-pro' ),
217
  'capability' => 'edit_theme_options',
218
  'sanitize_callback' => 'sanitize_text_field',
219
  )
@@ -238,7 +238,7 @@ $wp_customize->add_section(
238
  $wp_customize->add_setting(
239
  'h1_line_height' ,
240
  array(
241
- 'default' => __( '1','hantus-pro' ),
242
  'capability' => 'edit_theme_options',
243
  'sanitize_callback' => 'sanitize_text_field',
244
  )
@@ -269,14 +269,15 @@ $wp_customize->add_section(
269
  )
270
  );
271
 
272
- $wp_customize->add_control(new Cleverfox_Customizer_Select_Control($wp_customize,
273
  'h1_text_transform' ,
274
  array(
275
  'label' => __( 'Text Transform', 'hantus-pro' ),
276
  'section' => 'H1_typography',
277
  'settings' => 'h1_text_transform',
278
  'choices' => $font_transform,
279
- ))
 
280
  );
281
 
282
 
@@ -301,21 +302,21 @@ $wp_customize->add_section(
301
  'sanitize_callback' => 'sanitize_text_field',
302
  )
303
  );
304
- $wp_customize->add_control(new Cleverfox_Customizer_Select_Control($wp_customize,
305
  'h2_font_weight', array(
306
  'label' => __('Font Style','hantus-pro'),
307
  'section' => 'H2_typography',
308
  'setting' => 'h2_font_weight',
309
  'choices'=>$font_weight,
310
- 'description'=>__('','hantus-pro'),
311
- ))
312
  );
313
 
314
  // H2 font size//
315
  $wp_customize->add_setting(
316
  'h2_font_size' ,
317
  array(
318
- 'default' => __( '36','hantus-pro' ),
319
  'capability' => 'edit_theme_options',
320
  'sanitize_callback' => 'sanitize_text_field',
321
  )
@@ -371,14 +372,15 @@ $wp_customize->add_section(
371
  )
372
  );
373
 
374
- $wp_customize->add_control(new Cleverfox_Customizer_Select_Control($wp_customize,
375
  'h2_text_transform' ,
376
  array(
377
  'label' => __( 'Text Transform', 'hantus-pro' ),
378
  'section' => 'H2_typography',
379
  'settings' => 'h2_text_transform',
380
  'choices' => $font_transform,
381
- ) )
 
382
  );
383
 
384
 
@@ -402,21 +404,21 @@ $wp_customize->add_section(
402
  'sanitize_callback' => 'sanitize_text_field',
403
  )
404
  );
405
- $wp_customize->add_control(new Cleverfox_Customizer_Select_Control($wp_customize,
406
  'h3_font_weight', array(
407
  'label' => __('Font Style','hantus-pro'),
408
  'section' => 'H3_typography',
409
  'setting' => 'h3_font_weight',
410
  'choices'=>$font_weight,
411
- 'description'=>__('','hantus-pro'),
412
- ))
413
  );
414
 
415
  // H3 font size//
416
  $wp_customize->add_setting(
417
  'h3_font_size' ,
418
  array(
419
- 'default' => __( '30','hantus-pro' ),
420
  'capability' => 'edit_theme_options',
421
  'sanitize_callback' => 'sanitize_text_field',
422
  )
@@ -472,14 +474,15 @@ $wp_customize->add_section(
472
  )
473
  );
474
 
475
- $wp_customize->add_control(new Cleverfox_Customizer_Select_Control($wp_customize,
476
  'h3_text_transform' ,
477
  array(
478
  'label' => __( 'Text Transform', 'hantus-pro' ),
479
  'section' => 'H3_typography',
480
  'settings' => 'h3_text_transform',
481
  'choices' => $font_transform,
482
- ) )
 
483
  );
484
 
485
  //H4 typography
@@ -502,21 +505,21 @@ $wp_customize->add_section(
502
  'sanitize_callback' => 'sanitize_text_field',
503
  )
504
  );
505
- $wp_customize->add_control(new Cleverfox_Customizer_Select_Control($wp_customize,
506
  'h4_font_weight', array(
507
  'label' => __('Font Style','hantus-pro'),
508
  'section' => 'H4_typography',
509
  'setting' => 'h4_font_weight',
510
  'choices'=>$font_weight,
511
- 'description'=>__('','hantus-pro'),
512
- ))
513
  );
514
 
515
  // H4 font size//
516
  $wp_customize->add_setting(
517
  'h4_font_size' ,
518
  array(
519
- 'default' => __( '20','hantus-pro' ),
520
  'capability' => 'edit_theme_options',
521
  'sanitize_callback' => 'sanitize_text_field',
522
  )
@@ -572,14 +575,15 @@ $wp_customize->add_section(
572
  )
573
  );
574
 
575
- $wp_customize->add_control(new Cleverfox_Customizer_Select_Control($wp_customize,
576
  'h4_text_transform' ,
577
  array(
578
  'label' => __( 'Text Transform', 'hantus-pro' ),
579
  'section' => 'H4_typography',
580
  'settings' => 'h4_text_transform',
581
  'choices' => $font_transform,
582
- ) )
 
583
  );
584
 
585
 
@@ -603,21 +607,21 @@ $wp_customize->add_section(
603
  'sanitize_callback' => 'sanitize_text_field',
604
  )
605
  );
606
- $wp_customize->add_control(new Cleverfox_Customizer_Select_Control($wp_customize,
607
  'h5_font_weight', array(
608
  'label' => __('Font Style','hantus-pro'),
609
  'section' => 'H5_typography',
610
  'setting' => 'h5_font_weight',
611
  'choices'=>$font_weight,
612
- 'description'=>__('','hantus-pro'),
613
- ))
614
  );
615
 
616
  // H5 font size//
617
  $wp_customize->add_setting(
618
  'h5_font_size' ,
619
  array(
620
- 'default' => '16',
621
  'capability' => 'edit_theme_options',
622
  'sanitize_callback' => 'sanitize_text_field',
623
  )
@@ -673,14 +677,15 @@ $wp_customize->add_section(
673
  )
674
  );
675
 
676
- $wp_customize->add_control(new Cleverfox_Customizer_Select_Control($wp_customize,
677
  'h5_text_transform' ,
678
  array(
679
  'label' => __( 'Text Transform', 'hantus-pro' ),
680
  'section' => 'H5_typography',
681
  'settings' => 'h5_text_transform',
682
  'choices' => $font_transform,
683
- ) )
 
684
  );
685
 
686
 
@@ -704,14 +709,14 @@ $wp_customize->add_section(
704
  'sanitize_callback' => 'sanitize_text_field',
705
  )
706
  );
707
- $wp_customize->add_control(new Cleverfox_Customizer_Select_Control($wp_customize,
708
  'h6_font_weight', array(
709
  'label' => __('Font Style','hantus-pro'),
710
  'section' => 'H6_typography',
711
  'setting' => 'h6_font_weight',
712
  'choices'=>$font_weight,
713
- 'description'=>__('','hantus-pro'),
714
- ))
715
  );
716
 
717
  // H6 font size//
@@ -774,14 +779,15 @@ $wp_customize->add_section(
774
  )
775
  );
776
 
777
- $wp_customize->add_control(new Cleverfox_Customizer_Select_Control($wp_customize,
778
  'h6_text_transform' ,
779
  array(
780
  'label' => __( 'Text Transform', 'hantus-pro' ),
781
  'section' => 'H6_typography',
782
  'settings' => 'h6_text_transform',
783
  'choices' => $font_transform,
784
- ) )
 
785
  );
786
 
787
 
@@ -804,15 +810,15 @@ $wp_customize->add_section(
804
  'sanitize_callback' => 'sanitize_text_field',
805
  )
806
  );
807
- $wp_customize->add_control(new Cleverfox_Customizer_Select_Control($wp_customize,
808
  'menu_font_weight',
809
  array(
810
  'label' => __('Font Style','hantus-pro'),
811
  'section' => 'menu_typography',
812
  'setting' => 'menu_font_weight',
813
  'choices'=>$font_weight,
814
- 'description'=>__('','hantus-pro'),
815
- ))
816
  );
817
 
818
  // menu font size//
@@ -851,14 +857,15 @@ $wp_customize->add_section(
851
  )
852
  );
853
 
854
- $wp_customize->add_control(new Cleverfox_Customizer_Select_Control($wp_customize,
855
  'menu_text_transform' ,
856
  array(
857
  'label' => __( 'Text Transform', 'hantus-pro' ),
858
  'section' => 'menu_typography',
859
  'settings' => 'menu_text_transform',
860
  'choices' => $font_transform,
861
- ) )
 
862
  );
863
 
864
  // Sections typography section
@@ -880,15 +887,15 @@ $wp_customize->add_section(
880
  'sanitize_callback' => 'sanitize_text_field',
881
  )
882
  );
883
- $wp_customize->add_control(new Cleverfox_Customizer_Select_Control($wp_customize,
884
  'section_tit_font_weight',
885
  array(
886
  'label' => __(' Title Font Style','hantus-pro'),
887
  'section' => 'section_typography',
888
  'setting' => 'section_tit_font_weight',
889
  'choices'=>$font_weight,
890
- 'description'=>__('','hantus-pro'),
891
- ))
892
  );
893
 
894
  // section title font size//
@@ -926,15 +933,15 @@ $wp_customize->add_section(
926
  'sanitize_callback' => 'sanitize_text_field',
927
  )
928
  );
929
- $wp_customize->add_control(new Cleverfox_Customizer_Select_Control($wp_customize,
930
  'section_des_font_weight',
931
  array(
932
  'label' => __('Description Font Style','hantus-pro'),
933
  'section' => 'section_typography',
934
  'setting' => 'section_des_font_weight',
935
  'choices'=>$font_weight,
936
- 'description'=>__('','hantus-pro'),
937
- ))
938
  );
939
 
940
  // section title font size//
43
  $font_family = array('Dosis'=>'Dosis','Raleway'=>'Raleway','Arial, sans-serif'=>'Arial','Georgia, serif'=>'Georgia','Times New Roman, serif'=>'Times New Roman','Tahoma, Geneva, Verdana, sans-serif'=>'Tahoma','Palatino, Palatino Linotype, serif'=>'Palatino','Helvetica Neue, Helvetica, sans-serif'=>'Helvetica*','Calibri, Candara, Segoe, Optima, sans-serif'=>'Calibri*','Myriad Pro, Myriad, sans-serif'=>'Myriad Pro*','Lucida Grande, Lucida Sans Unicode, Lucida Sans, sans-serif'=>'Lucida','Arial Black, sans-serif'=>'Arial Black','Gill Sans, Gill Sans MT, Calibri, sans-serif'=>'Gill Sans*','Geneva, Tahoma, Verdana, sans-serif'=>'Geneva*','Impact, Charcoal, sans-serif'=>'Impact','Courier, Courier New, monospace'=>'Courier','Abel'=>'Abel','Abril Fatface'=>'Abril Fatface','Aclonica'=>'Aclonica','Actor'=>'Actor','Adamina'=>'Adamina','Aldrich'=>'Aldrich','Alice'=>'Alice','Alike'=>'Alike','Alike Angular'=>'Alike Angular','Allan'=>'Allan','Allerta'=>'Allerta','Allerta Stencil'=>'Allerta Stencil','Amaranth'=>'Amaranth','Amatic SC'=>'Amatic SC','Andada'=>'Andada','Andika'=>'Andika','Annie Use Your Telescope'=>'Annie Use Your Telescope','Anonymous Pro'=>'Anonymous Pro','Antic'=>'Antic','Anton'=>'Anton','Architects Daughter'=>'Architects Daughter','Arimo'=>'Arimo','Artifika'=>'Artifika','Arvo'=>'Arvo','Asset'=>'Asset','Astloch'=>'Astloch','Atomic Age'=>'Atomic Age','Aubrey'=>'Aubrey','Bangers'=>'Bangers','Bentham'=>'Bentham','Bevan'=>'Bevan','Bigshot One'=>'Bigshot One','Black Ops One'=>'Black Ops One','Bowlby One'=>'Bowlby One','Bowlby One SC'=>'Bowlby One SC','Brawler'=>'Brawler','Butcherman Caps'=>'Butcherman Caps','Cabin'=>'Cabin','Cabin Sketch'=>'Cabin Sketch','Cabin Sketch'=>'Cabin Sketch','Calligraffitti'=>'Calligraffitti','Candal'=>'Candal','Cantarell'=>'Cantarell','Cardo'=>'Cardo','Carme'=>'Carme','Carter One'=>'Carter One','Caudex'=>'Caudex','Cedarville Cursive'=>'Cedarville Cursive','Changa One'=>'Changa One','Cherry Cream Soda'=>'Cherry Cream Soda','Chewy'=>'Chewy','Chivo'=>'Chivo','Coda'=>'Coda','Comfortaa'=>'Comfortaa','Coming Soon'=>'Coming Soon','Contrail One'=>'Contrail One','Copse'=>'Copse','Corben'=>'Corben','Corben'=>'Corben','Cousine'=>'Cousine','Coustard'=>'Coustard','Covered By Your Grace'=>'Covered By Your Grace','Crafty Girls'=>'Crafty Girls','Creepster Caps'=>'Creepster Caps','Crimson Text'=>'Crimson Text','Crushed'=>'Crushed','Cuprum'=>'Cuprum','Damion'=>'Damion','Dancing Script'=>'Dancing Script','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','Didact Gothic'=>'Didact Gothic','Dorsa'=>'Dorsa','Droid Sans'=>'Droid Sans','Droid Sans Mono'=>'Droid Sans Mono','Droid Serif'=>'Droid Serif','EB Garamond'=>'EB Garamond','Eater Caps'=>'Eater Caps','Expletus Sans'=>'Expletus Sans','Fanwood Text'=>'Fanwood Text','Federant'=>'Federant','Federo'=>'Federo','Roboto' => 'Roboto','Fontdiner Swanky'=>'Fontdiner Swanky','Forum'=>'Forum','Francois One'=>'Francois One','Gentium Book Basic'=>'Gentium Book Basic','Geo'=>'Geo','Geostar'=>'Geostar','Geostar Fill'=>'Geostar Fill','Give You Glory'=>'Give You Glory','Gloria Hallelujah'=>'Gloria Hallelujah','Goblin One'=>'Goblin One','Gochi Hand'=>'Gochi Hand','Goudy Bookletter 1911'=>'Goudy Bookletter 1911','Gravitas One'=>'Gravitas One','Gruppo'=>'Gruppo','Hammersmith One'=>'Hammersmith One','Holtwood One SC'=>'Holtwood One SC','Homemade Apple'=>'Homemade Apple','IM Fell DW Pica'=>'IM Fell DW Pica','IM Fell English'=>'IM Fell English','IM Fell English SC'=>'IM Fell English SC','Inconsolata'=>'Inconsolata','Indie Flower'=>'Indie Flower','Irish Grover'=>'Irish Grover','Irish Growler'=>'Irish Growler','Istok Web'=>'Istok Web','Jockey One'=>'Jockey One','Josefin Sans'=>'Josefin Sans','Josefin Slab'=>'Josefin Slab','Judson'=>'Judson','Julee'=>'Julee','Jura'=>'Jura','Just Another Hand'=>'Just Another Hand','Just Me Again Down Here'=>'Just Me Again Down Here','Kameron'=>'Kameron','Kelly Slab'=>'Kelly Slab','Kenia'=>'Kenia','Kranky'=>'Kranky','Kreon'=>'Kreon','Kristi'=>'Kristi','La Belle Aurore'=>'La Belle Aurore','Lato'=>'Lato','League Script'=>'League Script','Leckerli One'=>'Leckerli One','Lekton'=>'Lekton','Limelight'=>'Limelight','Linden Hill'=>'Linden Hill','Lobster'=>'Lobster','Lobster Two'=>'Lobster Two','Lora'=>'Lora','Love Ya Like A Sister'=>'Love Ya Like A Sister','Loved by the King'=>'Loved by the King','Luckiest Guy'=>'LuckiestGuy','Maiden Orange'=>'Maiden Orange');
44
 
45
 
46
+ $font_transform = array('lowercase'=>'Lowercase','uppercase'=>'Uppercase','capitalize'=>'Capitalize');
47
  $font_weight = array('normal'=>'normal', 'italic'=>'Italic','oblique'=>'oblique');
48
  // General typography section
49
  $wp_customize->add_section(
64
  'sanitize_callback' => 'sanitize_text_field',
65
  )
66
  );
67
+ $wp_customize->add_control(
68
  'body_typography_font_weight', array(
69
  'label' => __('Secondary Font Weight','hantus-pro'),
70
  'section' => 'Body_typography',
71
  'setting' => 'body_typography_font_weight',
72
  'choices'=>$font_weight,
73
+ 'type' => 'select',
74
+ )
75
  );
76
  // Body font size//
77
  $wp_customize->add_setting(
118
  'sanitize_callback' => 'sanitize_text_field',
119
  )
120
  );
121
+ $wp_customize->add_control(
122
  'para_font_weight', array(
123
  'label' => __('Font Style','hantus-pro'),
124
  'section' => 'paragraph_typography',
125
  'setting' => 'para_font_weight',
126
  'choices'=>$font_weight,
127
+ 'type' => 'select',
128
+ )
129
  );
130
 
131
  // paragraph font size//
199
  'sanitize_callback' => 'sanitize_text_field',
200
  )
201
  );
202
+ $wp_customize->add_control(
203
  'h1_font_weight', array(
204
  'label' => __('Font Style','hantus-pro'),
205
  'section' => 'H1_typography',
206
  'setting' => 'h1_font_weight',
207
  'choices'=>$font_weight,
208
+ 'type' => 'select',
209
+ )
210
  );
211
 
212
  // H1 font size//
213
  $wp_customize->add_setting(
214
  'h1_font_size' ,
215
  array(
216
+ 'default' => __( '36','hantus-pro' ),
217
  'capability' => 'edit_theme_options',
218
  'sanitize_callback' => 'sanitize_text_field',
219
  )
238
  $wp_customize->add_setting(
239
  'h1_line_height' ,
240
  array(
241
+ 'default' => __( '46','hantus-pro' ),
242
  'capability' => 'edit_theme_options',
243
  'sanitize_callback' => 'sanitize_text_field',
244
  )
269
  )
270
  );
271
 
272
+ $wp_customize->add_control(
273
  'h1_text_transform' ,
274
  array(
275
  'label' => __( 'Text Transform', 'hantus-pro' ),
276
  'section' => 'H1_typography',
277
  'settings' => 'h1_text_transform',
278
  'choices' => $font_transform,
279
+ 'type' => 'select',
280
+ )
281
  );
282
 
283
 
302
  'sanitize_callback' => 'sanitize_text_field',
303
  )
304
  );
305
+ $wp_customize->add_control(
306
  'h2_font_weight', array(
307
  'label' => __('Font Style','hantus-pro'),
308
  'section' => 'H2_typography',
309
  'setting' => 'h2_font_weight',
310
  'choices'=>$font_weight,
311
+ 'type' => 'select',
312
+ )
313
  );
314
 
315
  // H2 font size//
316
  $wp_customize->add_setting(
317
  'h2_font_size' ,
318
  array(
319
+ 'default' => __( '32','hantus-pro' ),
320
  'capability' => 'edit_theme_options',
321
  'sanitize_callback' => 'sanitize_text_field',
322
  )
372
  )
373
  );
374
 
375
+ $wp_customize->add_control(
376
  'h2_text_transform' ,
377
  array(
378
  'label' => __( 'Text Transform', 'hantus-pro' ),
379
  'section' => 'H2_typography',
380
  'settings' => 'h2_text_transform',
381
  'choices' => $font_transform,
382
+ 'type' => 'select',
383
+ )
384
  );
385
 
386
 
404
  'sanitize_callback' => 'sanitize_text_field',
405
  )
406
  );
407
+ $wp_customize->add_control(
408
  'h3_font_weight', array(
409
  'label' => __('Font Style','hantus-pro'),
410
  'section' => 'H3_typography',
411
  'setting' => 'h3_font_weight',
412
  'choices'=>$font_weight,
413
+ 'type' => 'select',
414
+ )
415
  );
416
 
417
  // H3 font size//
418
  $wp_customize->add_setting(
419
  'h3_font_size' ,
420
  array(
421
+ 'default' => __( '28','hantus-pro' ),
422
  'capability' => 'edit_theme_options',
423
  'sanitize_callback' => 'sanitize_text_field',
424
  )
474
  )
475
  );
476
 
477
+ $wp_customize->add_control(
478
  'h3_text_transform' ,
479
  array(
480
  'label' => __( 'Text Transform', 'hantus-pro' ),
481
  'section' => 'H3_typography',
482
  'settings' => 'h3_text_transform',
483
  'choices' => $font_transform,
484
+ 'type' => 'select',
485
+ )
486
  );
487
 
488
  //H4 typography
505
  'sanitize_callback' => 'sanitize_text_field',
506
  )
507
  );
508
+ $wp_customize->add_control(
509
  'h4_font_weight', array(
510
  'label' => __('Font Style','hantus-pro'),
511
  'section' => 'H4_typography',
512
  'setting' => 'h4_font_weight',
513
  'choices'=>$font_weight,
514
+ 'type' => 'select',
515
+ )
516
  );
517
 
518
  // H4 font size//
519
  $wp_customize->add_setting(
520
  'h4_font_size' ,
521
  array(
522
+ 'default' => __( '24','hantus-pro' ),
523
  'capability' => 'edit_theme_options',
524
  'sanitize_callback' => 'sanitize_text_field',
525
  )
575
  )
576
  );
577
 
578
+ $wp_customize->add_control(
579
  'h4_text_transform' ,
580
  array(
581
  'label' => __( 'Text Transform', 'hantus-pro' ),
582
  'section' => 'H4_typography',
583
  'settings' => 'h4_text_transform',
584
  'choices' => $font_transform,
585
+ 'type' => 'select',
586
+ )
587
  );
588
 
589
 
607
  'sanitize_callback' => 'sanitize_text_field',
608
  )
609
  );
610
+ $wp_customize->add_control(
611
  'h5_font_weight', array(
612
  'label' => __('Font Style','hantus-pro'),
613
  'section' => 'H5_typography',
614
  'setting' => 'h5_font_weight',
615
  'choices'=>$font_weight,
616
+ 'type' => 'select',
617
+ )
618
  );
619
 
620
  // H5 font size//
621
  $wp_customize->add_setting(
622
  'h5_font_size' ,
623
  array(
624
+ 'default' => '20',
625
  'capability' => 'edit_theme_options',
626
  'sanitize_callback' => 'sanitize_text_field',
627
  )
677
  )
678
  );
679
 
680
+ $wp_customize->add_control(
681
  'h5_text_transform' ,
682
  array(
683
  'label' => __( 'Text Transform', 'hantus-pro' ),
684
  'section' => 'H5_typography',
685
  'settings' => 'h5_text_transform',
686
  'choices' => $font_transform,
687
+ 'type' => 'select',
688
+ )
689
  );
690
 
691
 
709
  'sanitize_callback' => 'sanitize_text_field',
710
  )
711
  );
712
+ $wp_customize->add_control(
713
  'h6_font_weight', array(
714
  'label' => __('Font Style','hantus-pro'),
715
  'section' => 'H6_typography',
716
  'setting' => 'h6_font_weight',
717
  'choices'=>$font_weight,
718
+ 'type' => 'select',
719
+ )
720
  );
721
 
722
  // H6 font size//
779
  )
780
  );
781
 
782
+ $wp_customize->add_control(
783
  'h6_text_transform' ,
784
  array(
785
  'label' => __( 'Text Transform', 'hantus-pro' ),
786
  'section' => 'H6_typography',
787
  'settings' => 'h6_text_transform',
788
  'choices' => $font_transform,
789
+ 'type' => 'select',
790
+ )
791
  );
792
 
793
 
810
  'sanitize_callback' => 'sanitize_text_field',
811
  )
812
  );
813
+ $wp_customize->add_control(
814
  'menu_font_weight',
815
  array(
816
  'label' => __('Font Style','hantus-pro'),
817
  'section' => 'menu_typography',
818
  'setting' => 'menu_font_weight',
819
  'choices'=>$font_weight,
820
+ 'type' => 'select',
821
+ )
822
  );
823
 
824
  // menu font size//
857
  )
858
  );
859
 
860
+ $wp_customize->add_control(
861
  'menu_text_transform' ,
862
  array(
863
  'label' => __( 'Text Transform', 'hantus-pro' ),
864
  'section' => 'menu_typography',
865
  'settings' => 'menu_text_transform',
866
  'choices' => $font_transform,
867
+ 'type' => 'select',
868
+ )
869
  );
870
 
871
  // Sections typography section
887
  'sanitize_callback' => 'sanitize_text_field',
888
  )
889
  );
890
+ $wp_customize->add_control(
891
  'section_tit_font_weight',
892
  array(
893
  'label' => __(' Title Font Style','hantus-pro'),
894
  'section' => 'section_typography',
895
  'setting' => 'section_tit_font_weight',
896
  'choices'=>$font_weight,
897
+ 'type' => 'select',
898
+ )
899
  );
900
 
901
  // section title font size//
933
  'sanitize_callback' => 'sanitize_text_field',
934
  )
935
  );
936
+ $wp_customize->add_control(
937
  'section_des_font_weight',
938
  array(
939
  'label' => __('Description Font Style','hantus-pro'),
940
  'section' => 'section_typography',
941
  'setting' => 'section_des_font_weight',
942
  'choices'=>$font_weight,
943
+ 'type' => 'select',
944
+ )
945
  );
946
 
947
  // section title font size//
inc/hantus/sections/section-slider.php CHANGED
@@ -15,7 +15,7 @@ if ( ! function_exists( 'hantus_lite_slider' ) ) :
15
  }
16
  $default_content = hantus_get_slider_default();
17
  $slider = get_theme_mod('slider',$default_content);
18
- $slider_opacity = get_theme_mod('slider_opacity');
19
  $hide_show_slider = get_theme_mod('hide_show_slider','1');
20
 
21
  if($hide_show_slider == '1') {
15
  }
16
  $default_content = hantus_get_slider_default();
17
  $slider = get_theme_mod('slider',$default_content);
18
+ $slider_opacity = get_theme_mod('slider_opacity','0.2');
19
  $hide_show_slider = get_theme_mod('hide_show_slider','1');
20
 
21
  if($hide_show_slider == '1') {
inc/hantus/typography_style.php CHANGED
@@ -11,27 +11,27 @@ function hantus_own_theme_typography() {
11
  $paragraph_line_height = get_theme_mod('paragraph_line_height','21');
12
 
13
  $h1_font_weight = get_theme_mod('h1_font_weight','normal');
14
- $h1_font_size = get_theme_mod('h1_font_size','48');
15
- $h1_line_height = get_theme_mod('h1_line_height','1');
16
  $h1_text_transform = get_theme_mod('h1_text_transform','lowercase');
17
 
18
  $h2_font_weight = get_theme_mod('h2_font_weight','normal');
19
- $h2_font_size = get_theme_mod('h2_font_size','36');
20
  $h2_line_height = get_theme_mod('h2_line_height','46');
21
  $h2_text_transform = get_theme_mod('h2_text_transform','lowercase');
22
 
23
  $h3_font_weight = get_theme_mod('h3_font_weight','normal');
24
- $h3_font_size = get_theme_mod('h3_font_size','30');
25
  $h3_line_height = get_theme_mod('h3_line_height','34');
26
  $h3_text_transform = get_theme_mod('h3_text_transform','lowercase');
27
 
28
  $h4_font_weight = get_theme_mod('h4_font_weight','normal');
29
- $h4_font_size = get_theme_mod('h4_font_size','20');
30
  $h4_line_height = get_theme_mod('h4_line_height','28');
31
  $h4_text_transform = get_theme_mod('h4_text_transform','lowercase');
32
 
33
  $h5_font_weight = get_theme_mod('h5_font_weight','normal');
34
- $h5_font_size = get_theme_mod('h5_font_size','16');
35
  $h5_line_height = get_theme_mod('h5_line_height','15');
36
  $h5_text_transform = get_theme_mod('h5_text_transform','lowercase');
37
 
@@ -585,6 +585,7 @@ h4 {
585
  line-height: <?php echo $h4_line_height; ?>px!important;
586
  text-transform:<?php echo $h4_text_transform; ?>!important;
587
  font-style: <?php echo $h4_font_weight; ?>!important;
 
588
  }
589
 
590
  h5 {
11
  $paragraph_line_height = get_theme_mod('paragraph_line_height','21');
12
 
13
  $h1_font_weight = get_theme_mod('h1_font_weight','normal');
14
+ $h1_font_size = get_theme_mod('h1_font_size','36');
15
+ $h1_line_height = get_theme_mod('h1_line_height','46');
16
  $h1_text_transform = get_theme_mod('h1_text_transform','lowercase');
17
 
18
  $h2_font_weight = get_theme_mod('h2_font_weight','normal');
19
+ $h2_font_size = get_theme_mod('h2_font_size','32');
20
  $h2_line_height = get_theme_mod('h2_line_height','46');
21
  $h2_text_transform = get_theme_mod('h2_text_transform','lowercase');
22
 
23
  $h3_font_weight = get_theme_mod('h3_font_weight','normal');
24
+ $h3_font_size = get_theme_mod('h3_font_size','28');
25
  $h3_line_height = get_theme_mod('h3_line_height','34');
26
  $h3_text_transform = get_theme_mod('h3_text_transform','lowercase');
27
 
28
  $h4_font_weight = get_theme_mod('h4_font_weight','normal');
29
+ $h4_font_size = get_theme_mod('h4_font_size','24');
30
  $h4_line_height = get_theme_mod('h4_line_height','28');
31
  $h4_text_transform = get_theme_mod('h4_text_transform','lowercase');
32
 
33
  $h5_font_weight = get_theme_mod('h5_font_weight','normal');
34
+ $h5_font_size = get_theme_mod('h5_font_size','20');
35
  $h5_line_height = get_theme_mod('h5_line_height','15');
36
  $h5_text_transform = get_theme_mod('h5_text_transform','lowercase');
37
 
585
  line-height: <?php echo $h4_line_height; ?>px!important;
586
  text-transform:<?php echo $h4_text_transform; ?>!important;
587
  font-style: <?php echo $h4_font_weight; ?>!important;
588
+ font-weight: 500;
589
  }
590
 
591
  h5 {
readme.txt CHANGED
@@ -38,6 +38,9 @@ Clever Fox WordPress plugin is licensed under the GPL3 (https://www.gnu.org/lice
38
 
39
 
40
  == Changelog ==
 
 
 
41
  = 1.1.29 =
42
  * Hantus Theme Functionality Improved
43
 
38
 
39
 
40
  == Changelog ==
41
+ = 1.1.30 =
42
+ * Hantus Issues Resolved
43
+
44
  = 1.1.29 =
45
  * Hantus Theme Functionality Improved
46