Clever Fox - Version 1.1.18

Version Description

  • Arowana Theme Functionality Added
Download this release

Release Info

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

Code changes from version 1.1.17 to 1.1.18

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.17
7
  Author: nayrathemes
8
  Author URI: https://nayrathemes.com
9
  Text Domain: clever-fox
@@ -47,7 +47,21 @@ function cleverfox_activate() {
47
  require_once('inc/startkit/features/navigation.php');
48
  require_once('inc/startbiz/sections/section-slider.php');
49
  require_once('inc/startkit/sections/section-flash.php');
50
- require_once('inc/startkit/sections/section-service.php');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  require_once('inc/startkit/sections/section-testimonial.php');
52
  require_once('inc/startkit/typography_style.php');
53
  require_once('inc/startkit/features/section-typography.php');
@@ -101,6 +115,21 @@ if ( 'StartBiz' == $theme->name){
101
  }
102
  }
103
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
104
  //Hantus
105
  if ( 'Hantus' == $theme->name){
106
  register_activation_hook( __FILE__, 'cleverfox_install_function');
@@ -120,15 +149,9 @@ if ( 'Hantus' == $theme->name){
120
  function cleverfox_startkit_home_page_sanitize_text( $input ) {
121
  return wp_kses_post( force_balance_tags( $input ) );
122
  }
123
-
124
- //StartBiz Sainitize text
125
- function cleverfox_startbiz_home_page_sanitize_text( $input ) {
126
- return wp_kses_post( force_balance_tags( $input ) );
127
- }
128
-
129
  //Hantus Sainitize text
130
  function cleverfox_hantus_home_page_sanitize_text( $input ) {
131
  return wp_kses_post( force_balance_tags( $input ) );
132
  }
133
-
134
  ?>
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.18
7
  Author: nayrathemes
8
  Author URI: https://nayrathemes.com
9
  Text Domain: clever-fox
47
  require_once('inc/startkit/features/navigation.php');
48
  require_once('inc/startbiz/sections/section-slider.php');
49
  require_once('inc/startkit/sections/section-flash.php');
50
+ require_once('inc/startbiz/sections/section-service.php');
51
+ require_once('inc/startkit/sections/section-testimonial.php');
52
+ require_once('inc/startkit/typography_style.php');
53
+ require_once('inc/startkit/features/section-typography.php');
54
+ }
55
+
56
+ if ('Arowana' == $theme->name){
57
+ require_once('inc/startkit/features/section-slider.php');
58
+ require_once('inc/startkit/features/section-info.php');
59
+ require_once('inc/startkit/features/section-service.php');
60
+ require_once('inc/startkit/features/section-testimonial.php');
61
+ require_once('inc/startkit/features/navigation.php');
62
+ require_once('inc/startkit/sections/section-slider.php');
63
+ require_once('inc/startkit/sections/section-flash.php');
64
+ require_once('inc/arowana/sections/section-service.php');
65
  require_once('inc/startkit/sections/section-testimonial.php');
66
  require_once('inc/startkit/typography_style.php');
67
  require_once('inc/startkit/features/section-typography.php');
115
  }
116
  }
117
 
118
+ //Arowana
119
+ if ( 'Arowana' == $theme->name){
120
+ register_activation_hook( __FILE__, 'cleverfox_install_function');
121
+ function cleverfox_install_function()
122
+ {
123
+ $item_details_page = get_option('item_details_page');
124
+ if(!$item_details_page){
125
+ require_once('inc/arowana/default-pages/upload-media.php');
126
+ require_once('inc/startkit/default-pages/home-page.php');
127
+ require_once('inc/arowana/default-widgets/default-widget.php');
128
+ update_option( 'item_details_page', 'Done' );
129
+ }
130
+ }
131
+ }
132
+
133
  //Hantus
134
  if ( 'Hantus' == $theme->name){
135
  register_activation_hook( __FILE__, 'cleverfox_install_function');
149
  function cleverfox_startkit_home_page_sanitize_text( $input ) {
150
  return wp_kses_post( force_balance_tags( $input ) );
151
  }
152
+
 
 
 
 
 
153
  //Hantus Sainitize text
154
  function cleverfox_hantus_home_page_sanitize_text( $input ) {
155
  return wp_kses_post( force_balance_tags( $input ) );
156
  }
 
157
  ?>
inc/arowana/default-pages/upload-media.php ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $file = CLEVERFOX_PLUGIN_URL .'inc/arowana/images/logo.png';
3
+ $ImagePath = CLEVERFOX_PLUGIN_URL .'inc/arowana/images';
4
+
5
+ $images = array(
6
+ $ImagePath. '/logo.png',
7
+ );
8
+ $parent_post_id = null;
9
+ foreach($images as $name) {
10
+ $filename = basename($name);
11
+ $upload_file = wp_upload_bits($filename, null, file_get_contents($name));
12
+ if (!$upload_file['error']) {
13
+ $wp_filetype = wp_check_filetype($filename, null );
14
+ $attachment = array(
15
+ 'post_mime_type' => $wp_filetype['type'],
16
+ 'post_parent' => $parent_post_id,
17
+ 'post_title' => preg_replace('/\.[^.]+$/', '', $filename),
18
+ 'post_excerpt' => 'startkit caption',
19
+ 'post_status' => 'inherit'
20
+ );
21
+ $ImageId[] = $attachment_id = wp_insert_attachment( $attachment, $upload_file['file'], $parent_post_id );
22
+
23
+ if (!is_wp_error($attachment_id)) {
24
+ require_once(ABSPATH . "wp-admin" . '/includes/image.php');
25
+ $attachment_data = wp_generate_attachment_metadata( $attachment_id, $upload_file['file'] );
26
+ wp_update_attachment_metadata( $attachment_id, $attachment_data );
27
+ }
28
+ }
29
+
30
+ }
31
+
32
+ update_option( 'startkit_media_id', $ImageId );
33
+
34
+ ?>
inc/arowana/default-widgets/default-widget.php ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $activate = array(
3
+ 'footer-widget-area' => array(
4
+ 'footer-widget-area',
5
+ 'recent-posts-1',
6
+ 'archives-1',
7
+ ),
8
+ 'footer-widget-area' => array(
9
+ 'text-1',
10
+ ),
11
+ );
12
+ /* the default titles will appear */
13
+ update_option('widget_text', array(
14
+ 1 => array('title' => '',
15
+ 'text'=>'<div class="footer-logo"><img class="img-responsive" src="'.CLEVERFOX_PLUGIN_URL.'inc/arowana/images/footerlogo.png" alt="Logo" /><div>
16
+ <p class="widget-text">Gonsectetur adipi sicing elit, sed do eiusmod tempor incididunt labore et.dolore magna aliquauis a irure dolor eiusmod.</p><a href="#">Go for details <i class="fa fa-long-arrow-right"></i></a>
17
+ '),
18
+ 2 => array('title' => 'Recent Posts'),
19
+ 3 => array('title' => 'Categories'),
20
+ ));
21
+
22
+ update_option('sidebars_widgets', $activate);
23
+ $MediaId = get_option('startkit_media_id');
24
+ set_theme_mod( 'custom_logo', $MediaId[0] );
25
+ ?>
inc/arowana/images/footerlogo.png ADDED
Binary file
inc/arowana/images/logo.png ADDED
Binary file
inc/arowana/sections/section-service.php ADDED
@@ -0,0 +1,138 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Get default values for service section.
4
+ *
5
+ * @since 1.1.0
6
+ * @access public
7
+ */
8
+ if ( ! function_exists( 'startkit_service_plu' ) ) :
9
+
10
+ function startkit_service_plu() {
11
+
12
+ function startkit_get_service_default() {
13
+ return apply_filters(
14
+ 'startkit_get_service_default', json_encode(
15
+ array(
16
+ array(
17
+ 'title' => esc_html__( 'Idea Provide', 'startkit' ),
18
+ 'text' => esc_html__( 'Idea is the ipsum consecte tempor incididuntan andolore tumber tur adipisicing elit..', 'startkit' ),
19
+ 'icon_value' => esc_html__( 'fa-lightbulb-o', 'startkit' ),
20
+ 'id' => 'customizer_repeater_service_001',
21
+
22
+ ),
23
+ array(
24
+ 'title' => esc_html__( 'People Research', 'startkit' ),
25
+ 'text' => esc_html__( 'People is the ipsum consecte tempor incididuntan andolore tumber tur adipisicing elit.', 'startkit' ),
26
+ 'icon_value' => esc_html__( 'fa-users', 'startkit' ),
27
+ 'id' => 'customizer_repeater_service_002',
28
+
29
+ ),
30
+ array(
31
+ 'title' => esc_html__( 'Business Develop', 'startkit' ),
32
+ 'text' => esc_html__( 'People is the ipsum consecte tempor incididuntan andolore tumber tur adipisicing elit.', 'startkit' ),
33
+ 'icon_value' => esc_html__( 'fa-briefcase', 'startkit' ),
34
+ 'id' => 'customizer_repeater_service_003',
35
+
36
+ ),
37
+ array(
38
+ 'title' => esc_html__( 'Marketing', 'startkit' ),
39
+ 'text' => esc_html__( 'People is the ipsum consecte tempor incididuntan andolore tumber tur adipisicing elit.', 'startkit' ),
40
+ 'icon_value' => esc_html__( 'fa-user-md', 'startkit' ),
41
+ 'id' => 'customizer_repeater_service_004',
42
+
43
+ ),
44
+ )
45
+ )
46
+ );
47
+ }
48
+
49
+ ?>
50
+ <?php
51
+ $default_content = null;
52
+ if ( current_user_can( 'edit_theme_options' ) ) {
53
+ $default_content = startkit_get_service_default();
54
+ }
55
+ $hide_show_service= get_theme_mod('hide_show_service','1');
56
+ $service_title= get_theme_mod('service_title','Services');
57
+ $service_description= get_theme_mod('service_description','Publishing packages and web page editors now use Lorem Ipsum as their default model text');
58
+ $service_contents= get_theme_mod('service_contents',$default_content);
59
+ ?>
60
+ <section id="services" class="section-padding">
61
+ <?php if($hide_show_service == '1') {?>
62
+ <div class="container">
63
+ <?php
64
+
65
+
66
+ if( ($service_title) || ($service_description)!='' ) { ?>
67
+ <!-- Section Title -->
68
+
69
+ <div class="row">
70
+ <div class="col-md-6 offset-md-3 text-center">
71
+ <div class="section-header">
72
+ <?php if ( ! empty( $service_title ) || is_customize_preview() ) : ?>
73
+ <h2>
74
+ <?php echo esc_html($service_title); ?>
75
+ </h2>
76
+ <?php endif; ?>
77
+
78
+ <?php if($service_description) {?>
79
+
80
+ <p >
81
+ <?php echo esc_html($service_description); ?>
82
+ </p>
83
+ <?php } ?>
84
+ </div>
85
+ </div>
86
+ </div>
87
+ <!-- /Section Title -->
88
+ <?php } ?>
89
+ <div class="row text-center servicesss">
90
+ <?php
91
+
92
+ if ( ! empty( $service_contents ) ) {
93
+ $allowed_html = array(
94
+ 'br' => array(),
95
+ 'em' => array(),
96
+ 'strong' => array(),
97
+ 'b' => array(),
98
+ 'i' => array(),
99
+ );
100
+ $service_contents = json_decode( $service_contents );
101
+ foreach ( $service_contents as $service_item ) {
102
+ $icon = ! empty( $service_item->icon_value ) ? apply_filters( 'startkit_translate_single_string', $service_item->icon_value, 'service section' ) : '';
103
+ $title = ! empty( $service_item->title ) ? apply_filters( 'startkit_translate_single_string', $service_item->title, 'service section' ) : '';
104
+ $text = ! empty( $service_item->text ) ? apply_filters( 'startkit_translate_single_string', $service_item->text, 'service section' ) : '';
105
+ ?>
106
+ <div class="col-lg-3 col-md-4 col-sm-6 col-12 text-center mb-5">
107
+ <div class="servicepage-item">
108
+ <div class="service-icon">
109
+ <?php if ( ! empty( $icon ) ) :?>
110
+ <i class="fa <?php echo esc_html( $icon ); ?> txt-pink"></i>
111
+ <?php endif; ?>
112
+ </div>
113
+ <?php if ( ! empty( $title ) ) : ?>
114
+ <h4><?php echo esc_html( $title ); ?></h4>
115
+ <?php endif; ?>
116
+ <?php if ( ! empty( $text ) ) : ?>
117
+ <p><?php echo wp_kses( html_entity_decode( $text ), $allowed_html ); ?></p>
118
+ <?php endif; ?>
119
+ </div>
120
+ </div>
121
+ <?php
122
+ } }
123
+ ?>
124
+
125
+ </div>
126
+ </div>
127
+ </section>
128
+ <?php
129
+ }
130
+ }
131
+
132
+ endif;
133
+ if ( function_exists( 'startkit_service_plu' ) ) {
134
+ $section_priority = apply_filters( 'startkit_section_priority', 13, 'startkit_service_plu' );
135
+ add_action( 'startkit_sections', 'startkit_service_plu', absint( $section_priority ) );
136
+
137
+ }
138
+ ?>
inc/startbiz/sections/section-service.php ADDED
@@ -0,0 +1,138 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Get default values for service section.
4
+ *
5
+ * @since 1.1.0
6
+ * @access public
7
+ */
8
+ if ( ! function_exists( 'startkit_service_plu' ) ) :
9
+
10
+ function startkit_service_plu() {
11
+
12
+ function startkit_get_service_default() {
13
+ return apply_filters(
14
+ 'startkit_get_service_default', json_encode(
15
+ array(
16
+ array(
17
+ 'title' => esc_html__( 'Idea Provide', 'startkit' ),
18
+ 'text' => esc_html__( 'Idea is the ipsum consecte tempor incididuntan andolore tumber tur adipisicing elit..', 'startkit' ),
19
+ 'icon_value' => esc_html__( 'fa-lightbulb-o', 'startkit' ),
20
+ 'id' => 'customizer_repeater_service_001',
21
+
22
+ ),
23
+ array(
24
+ 'title' => esc_html__( 'People Research', 'startkit' ),
25
+ 'text' => esc_html__( 'People is the ipsum consecte tempor incididuntan andolore tumber tur adipisicing elit.', 'startkit' ),
26
+ 'icon_value' => esc_html__( 'fa-users', 'startkit' ),
27
+ 'id' => 'customizer_repeater_service_002',
28
+
29
+ ),
30
+ array(
31
+ 'title' => esc_html__( 'Business Develop', 'startkit' ),
32
+ 'text' => esc_html__( 'People is the ipsum consecte tempor incididuntan andolore tumber tur adipisicing elit.', 'startkit' ),
33
+ 'icon_value' => esc_html__( 'fa-briefcase', 'startkit' ),
34
+ 'id' => 'customizer_repeater_service_003',
35
+
36
+ ),
37
+ array(
38
+ 'title' => esc_html__( 'Marketing', 'startkit' ),
39
+ 'text' => esc_html__( 'People is the ipsum consecte tempor incididuntan andolore tumber tur adipisicing elit.', 'startkit' ),
40
+ 'icon_value' => esc_html__( 'fa-user-md', 'startkit' ),
41
+ 'id' => 'customizer_repeater_service_004',
42
+
43
+ ),
44
+ )
45
+ )
46
+ );
47
+ }
48
+
49
+ ?>
50
+ <?php
51
+ $default_content = null;
52
+ if ( current_user_can( 'edit_theme_options' ) ) {
53
+ $default_content = startkit_get_service_default();
54
+ }
55
+ $hide_show_service= get_theme_mod('hide_show_service','1');
56
+ $service_title= get_theme_mod('service_title','Services');
57
+ $service_description= get_theme_mod('service_description','Publishing packages and web page editors now use Lorem Ipsum as their default model text');
58
+ $service_contents= get_theme_mod('service_contents',$default_content);
59
+ ?>
60
+ <section id="services" class="section-padding">
61
+ <?php if($hide_show_service == '1') {?>
62
+ <div class="container">
63
+ <?php
64
+
65
+
66
+ if( ($service_title) || ($service_description)!='' ) { ?>
67
+ <!-- Section Title -->
68
+
69
+ <div class="row">
70
+ <div class="col-md-6 offset-md-3 text-center">
71
+ <div class="section-header">
72
+ <?php if ( ! empty( $service_title ) || is_customize_preview() ) : ?>
73
+ <h2>
74
+ <?php echo esc_html($service_title); ?>
75
+ </h2>
76
+ <?php endif; ?>
77
+
78
+ <?php if($service_description) {?>
79
+
80
+ <p >
81
+ <?php echo esc_html($service_description); ?>
82
+ </p>
83
+ <?php } ?>
84
+ </div>
85
+ </div>
86
+ </div>
87
+ <!-- /Section Title -->
88
+ <?php } ?>
89
+ <div class="row text-center servicesss">
90
+ <?php
91
+
92
+ if ( ! empty( $service_contents ) ) {
93
+ $allowed_html = array(
94
+ 'br' => array(),
95
+ 'em' => array(),
96
+ 'strong' => array(),
97
+ 'b' => array(),
98
+ 'i' => array(),
99
+ );
100
+ $service_contents = json_decode( $service_contents );
101
+ foreach ( $service_contents as $service_item ) {
102
+ $icon = ! empty( $service_item->icon_value ) ? apply_filters( 'startkit_translate_single_string', $service_item->icon_value, 'service section' ) : '';
103
+ $title = ! empty( $service_item->title ) ? apply_filters( 'startkit_translate_single_string', $service_item->title, 'service section' ) : '';
104
+ $text = ! empty( $service_item->text ) ? apply_filters( 'startkit_translate_single_string', $service_item->text, 'service section' ) : '';
105
+ ?>
106
+ <div class="col-lg-3 col-md-6 col-sm-6 col-12 mb-lg-0 mb-4 ">
107
+ <div class="servicepage-item service_3" data-wow-delay="0.4s">
108
+ <div class="service-icon">
109
+ <?php if ( ! empty( $icon ) ) :?>
110
+ <i class="fa <?php echo esc_html( $icon ); ?> txt-pink"></i>
111
+ <?php endif; ?>
112
+ </div>
113
+ <?php if ( ! empty( $title ) ) : ?>
114
+ <h4><?php echo esc_html( $title ); ?></h4>
115
+ <?php endif; ?>
116
+ <?php if ( ! empty( $text ) ) : ?>
117
+ <p><?php echo wp_kses( html_entity_decode( $text ), $allowed_html ); ?></p>
118
+ <?php endif; ?>
119
+ </div>
120
+ </div>
121
+ <?php
122
+ } }
123
+ ?>
124
+
125
+ </div>
126
+ </div>
127
+ </section>
128
+ <?php
129
+ }
130
+ }
131
+
132
+ endif;
133
+ if ( function_exists( 'startkit_service_plu' ) ) {
134
+ $section_priority = apply_filters( 'startkit_section_priority', 13, 'startkit_service_plu' );
135
+ add_action( 'startkit_sections', 'startkit_service_plu', absint( $section_priority ) );
136
+
137
+ }
138
+ ?>
inc/startbiz/sections/section-slider.php CHANGED
@@ -11,7 +11,8 @@ if ( ! function_exists( 'start_startkit_slider' ) ) :
11
  'startkit_get_slider_default', json_encode(
12
  array(
13
  array("image_url" => CLEVERFOX_PLUGIN_URL .'inc/startkit/images/slider/slider02.jpg',
14
- "link" => "#", "title" => "Strengths of Successful Businesses",
 
15
  "text" => "Randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anembarrassing hidden in the middle of text.",
16
  "text2" => "Explore More",
17
  "id" => "customizer_repeater_00071" ),
@@ -54,19 +55,23 @@ if ( ! function_exists( 'start_startkit_slider' ) ) :
54
  <?php if ( ! empty( $image ) ) : ?>
55
  <img src="<?php echo esc_url( $image ); ?>" <?php if ( ! empty( $title ) ) : ?> alt="<?php echo esc_attr( $title ); ?>" title="<?php echo esc_attr( $title ); ?>" <?php endif; ?> />
56
  <?php endif; ?>
57
- <figcaption>
58
- <div class="content" style="background: rgba(35, 48, 73,<?php echo $slider_opacity; ?>);">
59
- <div class="container inner-content text-center" >
60
- <?php if ( ! empty( $title ) ) : ?>
61
- <h1><?php echo esc_html( $title ); ?></h1>
62
- <?php endif; ?>
63
- <?php if ( ! empty( $text ) ) : ?>
64
- <p><?php echo esc_html( $text ); ?></p>
65
- <?php endif; ?>
66
- <a href="<?php echo esc_url( $link ); ?>" class="boxed-btn"><?php echo esc_html( $button ); ?><i class="icofont icofont-long-arrow-right"></i></a>
67
- </div>
68
- </div>
69
- </figcaption>
 
 
 
 
70
  </figure>
71
  </div>
72
  <?php }} ?>
11
  'startkit_get_slider_default', json_encode(
12
  array(
13
  array("image_url" => CLEVERFOX_PLUGIN_URL .'inc/startkit/images/slider/slider02.jpg',
14
+ "link" => "#",
15
+ "title" => "Strengths of Successful Businesses",
16
  "text" => "Randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anembarrassing hidden in the middle of text.",
17
  "text2" => "Explore More",
18
  "id" => "customizer_repeater_00071" ),
55
  <?php if ( ! empty( $image ) ) : ?>
56
  <img src="<?php echo esc_url( $image ); ?>" <?php if ( ! empty( $title ) ) : ?> alt="<?php echo esc_attr( $title ); ?>" title="<?php echo esc_attr( $title ); ?>" <?php endif; ?> />
57
  <?php endif; ?>
58
+ <div class="content" style="background: rgba(35, 48, 73,<?php echo $slider_opacity; ?>);">
59
+ <div class="slide-table">
60
+ <div class="slide-table-cell">
61
+ <div class="container">
62
+ <div class="slide-content slide-center slide-bg-line" >
63
+ <?php if ( ! empty( $title ) ) : ?>
64
+ <h1><?php echo esc_html( $title ); ?></h1>
65
+ <?php endif; ?>
66
+ <?php if ( ! empty( $text ) ) : ?>
67
+ <p><?php echo esc_html( $text ); ?></p>
68
+ <?php endif; ?>
69
+ <a href="<?php echo esc_url( $link ); ?>" class="boxed-btn"><?php echo esc_html( $button ); ?><i class="icofont icofont-long-arrow-right"></i></a>
70
+ </div>
71
+ </div>
72
+ </div>
73
+ </div>
74
+ </div>
75
  </figure>
76
  </div>
77
  <?php }} ?>
inc/startkit/features/section-slider.php CHANGED
@@ -42,7 +42,8 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
42
  'default' => json_encode(
43
  array(
44
  array("image_url" => CLEVERFOX_PLUGIN_URL .'inc/startkit/images/slider/slider02.jpg',
45
- "link" => "#", "title" => "Strengths of Successful Businesses",
 
46
  "text" => "Randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anembarrassing hidden in the middle of text.",
47
  "text2" => "Explore More",
48
  "id" => "customizer_repeater_00071" ),
42
  'default' => json_encode(
43
  array(
44
  array("image_url" => CLEVERFOX_PLUGIN_URL .'inc/startkit/images/slider/slider02.jpg',
45
+ "link" => "#",
46
+ "title" => "Strengths of Successful Businesses",
47
  "text" => "Randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anembarrassing hidden in the middle of text.",
48
  "text2" => "Explore More",
49
  "id" => "customizer_repeater_00071" ),
inc/startkit/sections/section-slider.php CHANGED
@@ -11,7 +11,8 @@ if ( ! function_exists( 'start_startkit_slider' ) ) :
11
  'startkit_get_slider_default', json_encode(
12
  array(
13
  array("image_url" => CLEVERFOX_PLUGIN_URL .'inc/startkit/images/slider/slider02.jpg',
14
- "link" => "#", "title" => "Strengths of Successful Businesses",
 
15
  "text" => "Randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anembarrassing hidden in the middle of text.",
16
  "text2" => "Explore More",
17
  "id" => "customizer_repeater_00071" ),
@@ -54,19 +55,23 @@ if ( ! function_exists( 'start_startkit_slider' ) ) :
54
  <?php if ( ! empty( $image ) ) : ?>
55
  <img src="<?php echo esc_url( $image ); ?>" <?php if ( ! empty( $title ) ) : ?> alt="<?php echo esc_attr( $title ); ?>" title="<?php echo esc_attr( $title ); ?>" <?php endif; ?> />
56
  <?php endif; ?>
57
- <figcaption>
58
- <div class="content" style="background: rgba(35, 48, 73,<?php echo $slider_opacity; ?>);">
59
- <div class="container inner-content text-left" >
60
- <?php if ( ! empty( $title ) ) : ?>
61
- <h1><?php echo esc_html( $title ); ?></h1>
62
- <?php endif; ?>
63
- <?php if ( ! empty( $text ) ) : ?>
64
- <p><?php echo esc_html( $text ); ?></p>
65
- <?php endif; ?>
66
- <a href="<?php echo esc_url( $link ); ?>" class="boxed-btn"><?php echo esc_html( $button ); ?><i class="icofont icofont-long-arrow-right"></i></a>
67
- </div>
68
- </div>
69
- </figcaption>
 
 
 
 
70
  </figure>
71
  </div>
72
  <?php }} ?>
11
  'startkit_get_slider_default', json_encode(
12
  array(
13
  array("image_url" => CLEVERFOX_PLUGIN_URL .'inc/startkit/images/slider/slider02.jpg',
14
+ "link" => "#",
15
+ "title" => "Strengths of Successful Businesses",
16
  "text" => "Randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anembarrassing hidden in the middle of text.",
17
  "text2" => "Explore More",
18
  "id" => "customizer_repeater_00071" ),
55
  <?php if ( ! empty( $image ) ) : ?>
56
  <img src="<?php echo esc_url( $image ); ?>" <?php if ( ! empty( $title ) ) : ?> alt="<?php echo esc_attr( $title ); ?>" title="<?php echo esc_attr( $title ); ?>" <?php endif; ?> />
57
  <?php endif; ?>
58
+ <div class="content" style="background: rgba(35, 48, 73,<?php echo $slider_opacity; ?>);">
59
+ <div class="slide-table">
60
+ <div class="slide-table-cell">
61
+ <div class="container">
62
+ <div class="slide-content slide-left" >
63
+ <?php if ( ! empty( $title ) ) : ?>
64
+ <h1><?php echo esc_html( $title ); ?></h1>
65
+ <?php endif; ?>
66
+ <?php if ( ! empty( $text ) ) : ?>
67
+ <p><?php echo esc_html( $text ); ?></p>
68
+ <?php endif; ?>
69
+ <a href="<?php echo esc_url( $link ); ?>" class="boxed-btn"><?php echo esc_html( $button ); ?><i class="icofont icofont-long-arrow-right"></i></a>
70
+ </div>
71
+ </div>
72
+ </div>
73
+ </div>
74
+ </div>
75
  </figure>
76
  </div>
77
  <?php }} ?>
readme.txt CHANGED
@@ -31,6 +31,9 @@ Clever Fox WordPress plugin is licensed under the GPL3 (https://www.gnu.org/lice
31
 
32
 
33
  == Changelog ==
 
 
 
34
  = 1.1.17 =
35
  * Add Only One Slide Support In StartKit
36
  * Add Only One Slide Support In StartBiz
31
 
32
 
33
  == Changelog ==
34
+ = 1.1.18 =
35
+ * Arowana Theme Functionality Added
36
+
37
  = 1.1.17 =
38
  * Add Only One Slide Support In StartKit
39
  * Add Only One Slide Support In StartBiz