Version Description
- Arowana Theme Fourth Info Setting Added
- Belltech Theme Functionality Added
Download this release
Release Info
Developer | nayrathemes |
Plugin | Clever Fox |
Version | 5.7 |
Comparing to | |
See all releases |
Code changes from version 5.6 to 5.7
- clever-fox.php +6 -2
- inc/arowana/sections/section-flash.php +6 -6
- inc/belltech/belltech.php +29 -0
- inc/belltech/features/metasoft-cta.php +289 -0
- inc/belltech/images/footer-logo.png +0 -0
- inc/belltech/images/logo.png +0 -0
- inc/belltech/sections/section-cta.php +50 -0
- inc/cleverfox-activator.php +1 -1
- inc/fiona-blog/sections/section-weekend-top.php +1 -1
- inc/metasoft/default-pages/upload-media.php +8 -2
- inc/metasoft/default-widgets/default-widget.php +7 -1
- inc/metasoft/dynamic-style.php +1 -1
- inc/metasoft/features/metasoft-typography.php +1 -1
- inc/startkit/features/section-info.php +8 -8
- inc/startkit/sections/section-flash.php +2 -2
- readme.txt +5 -1
clever-fox.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Clever Fox
|
4 |
Plugin URI:
|
5 |
Description: Clever Fox plugin to enhance the functionality of free themes made by Nayra Themes. More than 40000+ trusted websites with us. Clever Fox contains all features which are required to create a complete website. See below free themes.
|
6 |
-
Version: 5.
|
7 |
Author: nayrathemes
|
8 |
Author URI: https://nayrathemes.com
|
9 |
Text Domain: clever-fox
|
@@ -76,10 +76,14 @@ function cleverfox_activate() {
|
|
76 |
require_once('inc/fiona-blog/fiona-blog.php');
|
77 |
}
|
78 |
|
79 |
-
if( 'MetaSoft' == $theme->name){
|
80 |
require_once('inc/metasoft/metasoft.php');
|
81 |
}
|
82 |
|
|
|
|
|
|
|
|
|
83 |
}
|
84 |
add_action( 'init', 'cleverfox_activate' );
|
85 |
|
3 |
Plugin Name: Clever Fox
|
4 |
Plugin URI:
|
5 |
Description: Clever Fox plugin to enhance the functionality of free themes made by Nayra Themes. More than 40000+ trusted websites with us. Clever Fox contains all features which are required to create a complete website. See below free themes.
|
6 |
+
Version: 5.7
|
7 |
Author: nayrathemes
|
8 |
Author URI: https://nayrathemes.com
|
9 |
Text Domain: clever-fox
|
76 |
require_once('inc/fiona-blog/fiona-blog.php');
|
77 |
}
|
78 |
|
79 |
+
if( 'MetaSoft' == $theme->name ){
|
80 |
require_once('inc/metasoft/metasoft.php');
|
81 |
}
|
82 |
|
83 |
+
if( 'Belltech' == $theme->name){
|
84 |
+
require_once('inc/belltech/belltech.php');
|
85 |
+
}
|
86 |
+
|
87 |
}
|
88 |
add_action( 'init', 'cleverfox_activate' );
|
89 |
|
inc/arowana/sections/section-flash.php
CHANGED
@@ -12,9 +12,9 @@ if ( ! function_exists( 'startkit_info_plu' ) ) :
|
|
12 |
$info_icons3 = get_theme_mod('info_icons3','fa-life-saver');
|
13 |
$info_title3 = get_theme_mod('info_title3','Maketing For Blast');
|
14 |
$info_description3 = get_theme_mod('info_description3','The chunk standard of Lorem Ipsum used since the 900s is reproduced below');
|
15 |
-
$
|
16 |
-
$
|
17 |
-
$
|
18 |
?>
|
19 |
<!-- Start: Features List
|
20 |
============================= -->
|
@@ -44,9 +44,9 @@ if ( ! function_exists( 'startkit_info_plu' ) ) :
|
|
44 |
</div>
|
45 |
</div>
|
46 |
<div class="col-lg-3 col-md-6 col-12 p-md-0 mt-md-0 mt-4">
|
47 |
-
<div class="featured-box wow fadeInUp
|
48 |
-
<h5 class="title"><i class="fa <?php echo esc_attr( $
|
49 |
-
<p><?php echo wp_kses_post( $
|
50 |
<!--a class="view-more" href="#">Read More</a-->
|
51 |
</div>
|
52 |
</div>
|
12 |
$info_icons3 = get_theme_mod('info_icons3','fa-life-saver');
|
13 |
$info_title3 = get_theme_mod('info_title3','Maketing For Blast');
|
14 |
$info_description3 = get_theme_mod('info_description3','The chunk standard of Lorem Ipsum used since the 900s is reproduced below');
|
15 |
+
$info_contact_icon = get_theme_mod('info_contact_icon','fa-phone');
|
16 |
+
$info_contact_title = get_theme_mod('info_contact_title','Contact Us Today!');
|
17 |
+
$info_contact_desc = get_theme_mod('info_contact_desc','+85-852-654');
|
18 |
?>
|
19 |
<!-- Start: Features List
|
20 |
============================= -->
|
44 |
</div>
|
45 |
</div>
|
46 |
<div class="col-lg-3 col-md-6 col-12 p-md-0 mt-md-0 mt-4">
|
47 |
+
<div class="featured-box wow fadeInUp fourth" data-wow-delay="0.1s">
|
48 |
+
<h5 class="title"><i class="fa <?php echo esc_attr( $info_contact_icon ); ?>"></i> <?php echo esc_html( $info_contact_title ); ?></h5>
|
49 |
+
<p><?php echo wp_kses_post( $info_contact_desc ); ?></p>
|
50 |
<!--a class="view-more" href="#">Read More</a-->
|
51 |
</div>
|
52 |
</div>
|
inc/belltech/belltech.php
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* @package Metasoft
|
4 |
+
*/
|
5 |
+
|
6 |
+
require CLEVERFOX_PLUGIN_DIR . 'inc/metasoft/extras.php';
|
7 |
+
require CLEVERFOX_PLUGIN_DIR . 'inc/metasoft/dynamic-style.php';
|
8 |
+
require CLEVERFOX_PLUGIN_DIR . 'inc/metasoft/sections/above-header.php';
|
9 |
+
require CLEVERFOX_PLUGIN_DIR . 'inc/metasoft/features/metasoft-header.php';
|
10 |
+
require CLEVERFOX_PLUGIN_DIR . 'inc/belltech/features/metasoft-cta.php';
|
11 |
+
require CLEVERFOX_PLUGIN_DIR . 'inc/metasoft/features/metasoft-expertise.php';
|
12 |
+
require CLEVERFOX_PLUGIN_DIR . 'inc/metasoft/features/metasoft-service.php';
|
13 |
+
require CLEVERFOX_PLUGIN_DIR . 'inc/metasoft/features/metasoft-slider.php';
|
14 |
+
require CLEVERFOX_PLUGIN_DIR . 'inc/metasoft/features/metasoft-typography.php';
|
15 |
+
|
16 |
+
if ( ! function_exists( 'cleverfox_metasoft_frontpage_sections' ) ) :
|
17 |
+
function cleverfox_metasoft_frontpage_sections() {
|
18 |
+
require CLEVERFOX_PLUGIN_DIR . 'inc/metasoft/sections/section-slider.php';
|
19 |
+
require CLEVERFOX_PLUGIN_DIR . 'inc/belltech/sections/section-cta.php';
|
20 |
+
require CLEVERFOX_PLUGIN_DIR . 'inc/metasoft/sections/section-service.php';
|
21 |
+
require CLEVERFOX_PLUGIN_DIR . 'inc/metasoft/sections/section-expertise.php';
|
22 |
+
}
|
23 |
+
add_action( 'metasoft_sections', 'cleverfox_metasoft_frontpage_sections' );
|
24 |
+
endif;
|
25 |
+
|
26 |
+
function cleverfox_metasoft_enqueue_scripts() {
|
27 |
+
wp_enqueue_style('animate',CLEVERFOX_PLUGIN_URL .'/inc/assets/css/animate.css');
|
28 |
+
}
|
29 |
+
add_action( 'wp_enqueue_scripts', 'cleverfox_metasoft_enqueue_scripts' );
|
inc/belltech/features/metasoft-cta.php
ADDED
@@ -0,0 +1,289 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
function metasoft_cta_setting( $wp_customize ) {
|
3 |
+
$selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' : 'refresh';
|
4 |
+
/*=========================================
|
5 |
+
CTA Section
|
6 |
+
=========================================*/
|
7 |
+
$wp_customize->add_section(
|
8 |
+
'cta_setting', array(
|
9 |
+
'title' => esc_html__( 'Call to Action Section', 'clever-fox' ),
|
10 |
+
'priority' => 12,
|
11 |
+
'panel' => 'metasoft_frontpage_sections',
|
12 |
+
)
|
13 |
+
);
|
14 |
+
|
15 |
+
// CTA Content Section //
|
16 |
+
$wp_customize->add_setting(
|
17 |
+
'cta_contents'
|
18 |
+
,array(
|
19 |
+
'capability' => 'edit_theme_options',
|
20 |
+
'sanitize_callback' => 'metasoft_sanitize_text',
|
21 |
+
'priority' => 3,
|
22 |
+
)
|
23 |
+
);
|
24 |
+
|
25 |
+
$wp_customize->add_control(
|
26 |
+
'cta_contents',
|
27 |
+
array(
|
28 |
+
'type' => 'hidden',
|
29 |
+
'label' => __('Content','clever-fox'),
|
30 |
+
'section' => 'cta_setting',
|
31 |
+
)
|
32 |
+
);
|
33 |
+
// Style //
|
34 |
+
$wp_customize->add_setting(
|
35 |
+
'cta_type',
|
36 |
+
array(
|
37 |
+
'default' => '1',
|
38 |
+
'capability' => 'edit_theme_options',
|
39 |
+
'sanitize_callback' => 'metasoft_sanitize_select',
|
40 |
+
'priority' => 3,
|
41 |
+
)
|
42 |
+
);
|
43 |
+
|
44 |
+
$wp_customize->add_control(
|
45 |
+
'cta_type',
|
46 |
+
array(
|
47 |
+
'label' => __('Style','clever-fox'),
|
48 |
+
'section' => 'cta_setting',
|
49 |
+
'type' => 'select',
|
50 |
+
'choices' =>
|
51 |
+
array(
|
52 |
+
'1' => __( 'Style 1', 'clever-fox' ),
|
53 |
+
'2' => __( 'Style 2 ', 'clever-fox' ),
|
54 |
+
)
|
55 |
+
)
|
56 |
+
);
|
57 |
+
|
58 |
+
// CTA Title //
|
59 |
+
$wp_customize->add_setting(
|
60 |
+
'cta_title',
|
61 |
+
array(
|
62 |
+
'default' => __('Need Emergency <span>Plumbing Service?</span> Call us at','clever-fox'),
|
63 |
+
'capability' => 'edit_theme_options',
|
64 |
+
'sanitize_callback' => 'metasoft_sanitize_html',
|
65 |
+
'transport' => $selective_refresh,
|
66 |
+
'priority' => 4,
|
67 |
+
)
|
68 |
+
);
|
69 |
+
|
70 |
+
$wp_customize->add_control(
|
71 |
+
'cta_title',
|
72 |
+
array(
|
73 |
+
'label' => __('Title','clever-fox'),
|
74 |
+
'section' => 'cta_setting',
|
75 |
+
'type' => 'text',
|
76 |
+
)
|
77 |
+
);
|
78 |
+
|
79 |
+
// CTA Description //
|
80 |
+
$wp_customize->add_setting(
|
81 |
+
'cta_description',
|
82 |
+
array(
|
83 |
+
'default' => __('24 hours, 7 days a week, 365 days a year','clever-fox'),
|
84 |
+
'capability' => 'edit_theme_options',
|
85 |
+
'sanitize_callback' => 'metasoft_sanitize_html',
|
86 |
+
'transport' => $selective_refresh,
|
87 |
+
'priority' => 6,
|
88 |
+
)
|
89 |
+
);
|
90 |
+
|
91 |
+
$wp_customize->add_control(
|
92 |
+
'cta_description',
|
93 |
+
array(
|
94 |
+
'label' => __('Description','clever-fox'),
|
95 |
+
'section' => 'cta_setting',
|
96 |
+
'type' => 'textarea',
|
97 |
+
)
|
98 |
+
);
|
99 |
+
|
100 |
+
// Button First //
|
101 |
+
$wp_customize->add_setting(
|
102 |
+
'cta_btn_first'
|
103 |
+
,array(
|
104 |
+
'capability' => 'edit_theme_options',
|
105 |
+
'sanitize_callback' => 'metasoft_sanitize_text',
|
106 |
+
'priority' => 7,
|
107 |
+
)
|
108 |
+
);
|
109 |
+
|
110 |
+
$wp_customize->add_control(
|
111 |
+
'cta_btn_first',
|
112 |
+
array(
|
113 |
+
'type' => 'hidden',
|
114 |
+
'label' => __('Button First','clever-fox'),
|
115 |
+
'section' => 'cta_setting',
|
116 |
+
)
|
117 |
+
);
|
118 |
+
|
119 |
+
$wp_customize->add_setting(
|
120 |
+
'cta_btn_lbl1',
|
121 |
+
array(
|
122 |
+
'default' => __('Contact With Us','clever-fox'),
|
123 |
+
'capability' => 'edit_theme_options',
|
124 |
+
'sanitize_callback' => 'metasoft_sanitize_html',
|
125 |
+
'transport' => $selective_refresh,
|
126 |
+
'priority' => 8,
|
127 |
+
)
|
128 |
+
);
|
129 |
+
|
130 |
+
$wp_customize->add_control(
|
131 |
+
'cta_btn_lbl1',
|
132 |
+
array(
|
133 |
+
'label' => __('Button Label','clever-fox'),
|
134 |
+
'section' => 'cta_setting',
|
135 |
+
'type' => 'text',
|
136 |
+
)
|
137 |
+
);
|
138 |
+
|
139 |
+
$wp_customize->add_setting(
|
140 |
+
'cta_btn_link1',
|
141 |
+
array(
|
142 |
+
'capability' => 'edit_theme_options',
|
143 |
+
'sanitize_callback' => 'metasoft_sanitize_url',
|
144 |
+
'priority' => 9,
|
145 |
+
)
|
146 |
+
);
|
147 |
+
|
148 |
+
$wp_customize->add_control(
|
149 |
+
'cta_btn_link1',
|
150 |
+
array(
|
151 |
+
'label' => __('Link','clever-fox'),
|
152 |
+
'section' => 'cta_setting',
|
153 |
+
'type' => 'text',
|
154 |
+
)
|
155 |
+
);
|
156 |
+
|
157 |
+
// Button Second //
|
158 |
+
$wp_customize->add_setting(
|
159 |
+
'cta_btn_second'
|
160 |
+
,array(
|
161 |
+
'capability' => 'edit_theme_options',
|
162 |
+
'sanitize_callback' => 'metasoft_sanitize_text',
|
163 |
+
'priority' => 10,
|
164 |
+
)
|
165 |
+
);
|
166 |
+
|
167 |
+
$wp_customize->add_control(
|
168 |
+
'cta_btn_second',
|
169 |
+
array(
|
170 |
+
'type' => 'hidden',
|
171 |
+
'label' => __('Button Second','clever-fox'),
|
172 |
+
'section' => 'cta_setting',
|
173 |
+
)
|
174 |
+
);
|
175 |
+
|
176 |
+
$wp_customize->add_setting(
|
177 |
+
'cta_btn_second_ttl'
|
178 |
+
,array(
|
179 |
+
'default' => __('or','clever-fox'),
|
180 |
+
'capability' => 'edit_theme_options',
|
181 |
+
'sanitize_callback' => 'metasoft_sanitize_text',
|
182 |
+
'priority' => 10,
|
183 |
+
)
|
184 |
+
);
|
185 |
+
|
186 |
+
$wp_customize->add_control(
|
187 |
+
'cta_btn_second_ttl',
|
188 |
+
array(
|
189 |
+
'type' => 'text',
|
190 |
+
'label' => __('Middle Content','clever-fox'),
|
191 |
+
'section' => 'cta_setting',
|
192 |
+
)
|
193 |
+
);
|
194 |
+
|
195 |
+
$wp_customize->add_setting(
|
196 |
+
'cta_btn_lbl2',
|
197 |
+
array(
|
198 |
+
'default' => __('+1 (088) 456 888 (24/7)','clever-fox'),
|
199 |
+
'capability' => 'edit_theme_options',
|
200 |
+
'sanitize_callback' => 'metasoft_sanitize_html',
|
201 |
+
'transport' => $selective_refresh,
|
202 |
+
'priority' => 11,
|
203 |
+
)
|
204 |
+
);
|
205 |
+
|
206 |
+
$wp_customize->add_control(
|
207 |
+
'cta_btn_lbl2',
|
208 |
+
array(
|
209 |
+
'label' => __('Label','clever-fox'),
|
210 |
+
'section' => 'cta_setting',
|
211 |
+
'type' => 'text',
|
212 |
+
)
|
213 |
+
);
|
214 |
+
|
215 |
+
$wp_customize->add_setting(
|
216 |
+
'cta_btn_link2',
|
217 |
+
array(
|
218 |
+
'capability' => 'edit_theme_options',
|
219 |
+
'sanitize_callback' => 'metasoft_sanitize_url',
|
220 |
+
'priority' => 12,
|
221 |
+
)
|
222 |
+
);
|
223 |
+
|
224 |
+
$wp_customize->add_control(
|
225 |
+
'cta_btn_link2',
|
226 |
+
array(
|
227 |
+
'label' => __('Link','clever-fox'),
|
228 |
+
'section' => 'cta_setting',
|
229 |
+
'type' => 'text',
|
230 |
+
)
|
231 |
+
);
|
232 |
+
}
|
233 |
+
|
234 |
+
add_action( 'customize_register', 'metasoft_cta_setting' );
|
235 |
+
|
236 |
+
// CTA selective refresh
|
237 |
+
function metasoft_ata_section_partials( $wp_customize ){
|
238 |
+
|
239 |
+
// cta_title
|
240 |
+
$wp_customize->selective_refresh->add_partial( 'cta_title', array(
|
241 |
+
'selector' => '.home-cta .head h2',
|
242 |
+
'settings' => 'cta_title',
|
243 |
+
'render_callback' => 'metasoft_cta_title_render_callback',
|
244 |
+
|
245 |
+
) );
|
246 |
+
|
247 |
+
// cta_description
|
248 |
+
$wp_customize->selective_refresh->add_partial( 'cta_description', array(
|
249 |
+
'selector' => '.home-cta .head p',
|
250 |
+
'settings' => 'cta_description',
|
251 |
+
'render_callback' => 'metasoft_cta_description_render_callback',
|
252 |
+
) );
|
253 |
+
|
254 |
+
// cta_btn_lbl1
|
255 |
+
$wp_customize->selective_refresh->add_partial( 'cta_btn_lbl1', array(
|
256 |
+
'selector' => '.home-cta a.first',
|
257 |
+
'settings' => 'cta_btn_lbl1',
|
258 |
+
'render_callback' => 'metasoft_cta_btn_lbl1_render_callback',
|
259 |
+
) );
|
260 |
+
// cta_btn_lbl2
|
261 |
+
$wp_customize->selective_refresh->add_partial( 'cta_btn_lbl2', array(
|
262 |
+
'selector' => '.home-cta .learn-more a',
|
263 |
+
'settings' => 'cta_btn_lbl2',
|
264 |
+
'render_callback' => 'metasoft_cta_btn_lbl2_render_callback',
|
265 |
+
) );
|
266 |
+
}
|
267 |
+
|
268 |
+
add_action( 'customize_register', 'metasoft_ata_section_partials' );
|
269 |
+
|
270 |
+
// cta_title
|
271 |
+
function metasoft_cta_title_render_callback() {
|
272 |
+
return get_theme_mod( 'cta_title' );
|
273 |
+
}
|
274 |
+
|
275 |
+
|
276 |
+
// cta_description
|
277 |
+
function metasoft_cta_description_render_callback() {
|
278 |
+
return get_theme_mod( 'cta_description' );
|
279 |
+
}
|
280 |
+
|
281 |
+
// cta_btn_lbl1
|
282 |
+
function metasoft_cta_btn_lbl1_render_callback() {
|
283 |
+
return get_theme_mod( 'cta_btn_lbl1' );
|
284 |
+
}
|
285 |
+
|
286 |
+
// cta_btn_lbl2
|
287 |
+
function metasoft_cta_btn_lbl2_render_callback() {
|
288 |
+
return get_theme_mod( 'cta_btn_lbl2' );
|
289 |
+
}
|
inc/belltech/images/footer-logo.png
ADDED
Binary file
|
inc/belltech/images/logo.png
ADDED
Binary file
|
inc/belltech/sections/section-cta.php
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
if ( ! function_exists( 'belltech_lite_cta' ) ) :
|
3 |
+
function belltech_lite_cta() {
|
4 |
+
$cta_title = get_theme_mod('cta_title','Need Emergency <span>Plumbing Service?</span> Call us at');
|
5 |
+
$cta_description = get_theme_mod('cta_description','24 hours, 7 days a week, 365 days a year');
|
6 |
+
$cta_btn_lbl1 = get_theme_mod('cta_btn_lbl1','Contact With Us');
|
7 |
+
$cta_btn_link1 = get_theme_mod('cta_btn_link1');
|
8 |
+
$cta_btn_second_ttl = get_theme_mod('cta_btn_second_ttl','or');
|
9 |
+
$cta_btn_lbl2 = get_theme_mod('cta_btn_lbl2','+1 (088) 456 888 (24/7)');
|
10 |
+
$cta_btn_link2 = get_theme_mod('cta_btn_link2');
|
11 |
+
?>
|
12 |
+
<!-- Call to Action Start -->
|
13 |
+
<section id="cta-wrapper" class="cta-wrapper home-cta home-cta-3">
|
14 |
+
<div id="particles-js2"></div>
|
15 |
+
<div class="container">
|
16 |
+
<div class="row">
|
17 |
+
<div class="col-lg-6 col-sm-12 text-lg-left text-center head">
|
18 |
+
<?php if ( ! empty( $cta_title ) ) : ?>
|
19 |
+
<h2><?php echo wp_kses_post($cta_title); ?></h2>
|
20 |
+
<?php endif; ?>
|
21 |
+
<?php if ( ! empty( $cta_description ) ) : ?>
|
22 |
+
<p><?php echo wp_kses_post($cta_description); ?></p>
|
23 |
+
<?php endif; ?>
|
24 |
+
</div>
|
25 |
+
<div class="col-lg-6 col-sm-12 text-lg-right text-center my-lg-auto mt-4">
|
26 |
+
|
27 |
+
<div class="learn-more">
|
28 |
+
<div class="cta-icon-box">
|
29 |
+
<i class="fa fa-bell"></i>
|
30 |
+
</div>
|
31 |
+
<a href="<?php echo esc_url($cta_btn_link2); ?>"><?php echo esc_html($cta_btn_lbl2); ?></a>
|
32 |
+
<div class="or"><?php echo esc_html($cta_btn_second_ttl); ?></div>
|
33 |
+
</div>
|
34 |
+
|
35 |
+
<?php if ( ! empty( $cta_btn_lbl1 ) ) : ?>
|
36 |
+
<a href="<?php echo esc_url($cta_btn_link1); ?>" class="btn btn-border-white btn-like-icon first"><?php echo esc_html($cta_btn_lbl1); ?> <span class="bticn"><i class="fa fa-angle-right"></i></span></a>
|
37 |
+
<?php endif; ?>
|
38 |
+
</div>
|
39 |
+
</div>
|
40 |
+
</div>
|
41 |
+
</section>
|
42 |
+
<?php
|
43 |
+
}
|
44 |
+
endif;
|
45 |
+
if ( function_exists( 'belltech_lite_cta' ) ) {
|
46 |
+
$section_priority = apply_filters( 'metasoft_section_priority', 12, 'belltech_lite_cta' );
|
47 |
+
add_action( 'metasoft_sections', 'belltech_lite_cta', absint( $section_priority ) );
|
48 |
+
}
|
49 |
+
?>
|
50 |
+
<!-- Call to Action End -->
|
inc/cleverfox-activator.php
CHANGED
@@ -95,7 +95,7 @@ class Cleverfox_Activator {
|
|
95 |
require CLEVERFOX_PLUGIN_DIR . 'inc/fiona-blog/default-widgets/default-post.php';
|
96 |
}
|
97 |
|
98 |
-
if ( 'MetaSoft' == $theme->name){
|
99 |
require CLEVERFOX_PLUGIN_DIR . 'inc/metasoft/default-pages/upload-media.php';
|
100 |
require CLEVERFOX_PLUGIN_DIR . 'inc/metasoft/default-pages/home-page.php';
|
101 |
require CLEVERFOX_PLUGIN_DIR . 'inc/metasoft/default-widgets/default-widget.php';
|
95 |
require CLEVERFOX_PLUGIN_DIR . 'inc/fiona-blog/default-widgets/default-post.php';
|
96 |
}
|
97 |
|
98 |
+
if ( 'MetaSoft' == $theme->name || 'Belltech' == $theme->name){
|
99 |
require CLEVERFOX_PLUGIN_DIR . 'inc/metasoft/default-pages/upload-media.php';
|
100 |
require CLEVERFOX_PLUGIN_DIR . 'inc/metasoft/default-pages/home-page.php';
|
101 |
require CLEVERFOX_PLUGIN_DIR . 'inc/metasoft/default-widgets/default-widget.php';
|
inc/fiona-blog/sections/section-weekend-top.php
CHANGED
@@ -31,7 +31,7 @@
|
|
31 |
$format = get_post_format() ? : 'standard';
|
32 |
$post_number= $fiona_blog_wp_query->current_post + 1;
|
33 |
?>
|
34 |
-
<div class="av-column-
|
35 |
<article id="post-<?php the_ID(); ?>" <?php post_class('post-weekend'); ?>>
|
36 |
<?php if ( has_post_thumbnail() || $format == 'video' ) : ?>
|
37 |
<figure class="post-image-figure">
|
31 |
$format = get_post_format() ? : 'standard';
|
32 |
$post_number= $fiona_blog_wp_query->current_post + 1;
|
33 |
?>
|
34 |
+
<div class="av-column-3 mb-6">
|
35 |
<article id="post-<?php the_ID(); ?>" <?php post_class('post-weekend'); ?>>
|
36 |
<?php if ( has_post_thumbnail() || $format == 'video' ) : ?>
|
37 |
<figure class="post-image-figure">
|
inc/metasoft/default-pages/upload-media.php
CHANGED
@@ -1,6 +1,12 @@
|
|
1 |
<?php
|
2 |
-
$
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
|
5 |
$images = array(
|
6 |
$ImagePath. '/logo.png',
|
1 |
<?php
|
2 |
+
$theme = wp_get_theme(); // gets the current theme
|
3 |
+
if('Belltech' == $theme->name){
|
4 |
+
$file = CLEVERFOX_PLUGIN_URL .'inc/belltech/images/logo.png';
|
5 |
+
$ImagePath = CLEVERFOX_PLUGIN_URL .'inc/belltech/images';
|
6 |
+
}else{
|
7 |
+
$file = CLEVERFOX_PLUGIN_URL .'inc/metasoft/images/logo.png';
|
8 |
+
$ImagePath = CLEVERFOX_PLUGIN_URL .'inc/metasoft/images';
|
9 |
+
}
|
10 |
|
11 |
$images = array(
|
12 |
$ImagePath. '/logo.png',
|
inc/metasoft/default-widgets/default-widget.php
CHANGED
@@ -1,4 +1,10 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
$activate = array(
|
3 |
'metasoft-sidebar-primary' => array(
|
4 |
'search-1',
|
@@ -15,7 +21,7 @@ $activate = array(
|
|
15 |
/* the default titles will appear */
|
16 |
update_option('widget_text', array(
|
17 |
1 => array('title' => '',
|
18 |
-
'text'=>'<div class="logo"><a href="javascript:void(0);"><img src="'.
|
19 |
2 => array('title' => 'Recent Posts'),
|
20 |
3 => array('title' => 'Categories'),
|
21 |
));
|
1 |
<?php
|
2 |
+
$theme = wp_get_theme(); // gets the current theme
|
3 |
+
if ( 'Belltech' == $theme->name){
|
4 |
+
$img_path = CLEVERFOX_PLUGIN_URL .'inc/belltech/images/footer-logo.png"';
|
5 |
+
}else{
|
6 |
+
$img_path = CLEVERFOX_PLUGIN_URL .'inc/metasoft/images/footer-logo.png"';
|
7 |
+
}
|
8 |
$activate = array(
|
9 |
'metasoft-sidebar-primary' => array(
|
10 |
'search-1',
|
21 |
/* the default titles will appear */
|
22 |
update_option('widget_text', array(
|
23 |
1 => array('title' => '',
|
24 |
+
'text'=>'<div class="logo"><a href="javascript:void(0);"><img src="'.$img_path.'" alt="Metrico "></a></div><p>Etiam magna arcu, ullamcorper ut pulvinar et, ornare sit amet ligula. Aliquam vitae bibendum lorem. Cras id dui lectus. Pellentesque nec felis tristique urna lacinia sollicitudin ac ac ex. Maecenas mattis faucibus condimentum. Curabitur imperdiet felis at est.</p><div class="theme-link"><a href="javascript:void(0);" class="read-link">Read More</a></div>'),
|
25 |
2 => array('title' => 'Recent Posts'),
|
26 |
3 => array('title' => 'Categories'),
|
27 |
));
|
inc/metasoft/dynamic-style.php
CHANGED
@@ -19,7 +19,7 @@ if( ! function_exists( 'cleverfox_metasoft_dynamic_styles' ) ):
|
|
19 |
*/
|
20 |
$metasoft_body_text_transform = get_theme_mod('metasoft_body_text_transform','inherit');
|
21 |
$metasoft_body_font_style = get_theme_mod('metasoft_body_font_style','inherit');
|
22 |
-
$metasoft_body_font_size = get_theme_mod('metasoft_body_font_size','
|
23 |
$metasoft_body_line_height = get_theme_mod('metasoft_body_line_height','1.5');
|
24 |
|
25 |
$output_css .=" body{
|
19 |
*/
|
20 |
$metasoft_body_text_transform = get_theme_mod('metasoft_body_text_transform','inherit');
|
21 |
$metasoft_body_font_style = get_theme_mod('metasoft_body_font_style','inherit');
|
22 |
+
$metasoft_body_font_size = get_theme_mod('metasoft_body_font_size','16');
|
23 |
$metasoft_body_line_height = get_theme_mod('metasoft_body_line_height','1.5');
|
24 |
|
25 |
$output_css .=" body{
|
inc/metasoft/features/metasoft-typography.php
CHANGED
@@ -26,7 +26,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
26 |
$wp_customize->add_setting(
|
27 |
'metasoft_body_font_size',
|
28 |
array(
|
29 |
-
'default' => '
|
30 |
'capability' => 'edit_theme_options',
|
31 |
'sanitize_callback' => 'metasoft_sanitize_range_value',
|
32 |
'transport' => 'postMessage',
|
26 |
$wp_customize->add_setting(
|
27 |
'metasoft_body_font_size',
|
28 |
array(
|
29 |
+
'default' => '16',
|
30 |
'capability' => 'edit_theme_options',
|
31 |
'sanitize_callback' => 'metasoft_sanitize_range_value',
|
32 |
'transport' => 'postMessage',
|
inc/startkit/features/section-info.php
CHANGED
@@ -376,7 +376,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
376 |
=========================================*/
|
377 |
|
378 |
$theme = wp_get_theme(); // gets the current theme
|
379 |
-
if ( 'Envira' == $theme->name){
|
380 |
|
381 |
// Info Fourth Head
|
382 |
$wp_customize->add_setting(
|
@@ -467,7 +467,7 @@ endif;
|
|
467 |
function startkit_home_info_section_partials( $wp_customize ){
|
468 |
//info section first
|
469 |
$wp_customize->selective_refresh->add_partial( 'info_title', array(
|
470 |
-
'selector' => '#features-list .first h4',
|
471 |
'settings' => 'info_title',
|
472 |
'render_callback' => 'info_section_title_render_callback',
|
473 |
|
@@ -481,14 +481,14 @@ function startkit_home_info_section_partials( $wp_customize ){
|
|
481 |
) );
|
482 |
|
483 |
$wp_customize->selective_refresh->add_partial( 'info_description', array(
|
484 |
-
'selector' => '#features-list .first p',
|
485 |
'settings' => 'info_description',
|
486 |
'render_callback' => 'home_service_section_description_render_callback',
|
487 |
|
488 |
) );
|
489 |
// info second
|
490 |
$wp_customize->selective_refresh->add_partial( 'info_title2', array(
|
491 |
-
'selector' => '#features-list .second h4',
|
492 |
'settings' => 'info_title2',
|
493 |
'render_callback' => 'info_second_title_render_callback',
|
494 |
|
@@ -502,7 +502,7 @@ function startkit_home_info_section_partials( $wp_customize ){
|
|
502 |
) );
|
503 |
|
504 |
$wp_customize->selective_refresh->add_partial( 'info_description2', array(
|
505 |
-
'selector' => '#features-list .second p',
|
506 |
'settings' => 'info_description2',
|
507 |
'render_callback' => 'info_second_description_render_callback',
|
508 |
|
@@ -510,7 +510,7 @@ function startkit_home_info_section_partials( $wp_customize ){
|
|
510 |
|
511 |
// info third
|
512 |
$wp_customize->selective_refresh->add_partial( 'info_title3', array(
|
513 |
-
'selector' => '#features-list .third h4',
|
514 |
'settings' => 'info_title3',
|
515 |
'render_callback' => 'info_third_title_render_callback',
|
516 |
|
@@ -523,7 +523,7 @@ function startkit_home_info_section_partials( $wp_customize ){
|
|
523 |
) );
|
524 |
|
525 |
$wp_customize->selective_refresh->add_partial( 'info_description3', array(
|
526 |
-
'selector' => '#features-list .third p',
|
527 |
'settings' => 'info_description3',
|
528 |
'render_callback' => 'info_third_description_render_callback',
|
529 |
|
@@ -545,7 +545,7 @@ function startkit_home_info_section_partials( $wp_customize ){
|
|
545 |
) );
|
546 |
|
547 |
$wp_customize->selective_refresh->add_partial( 'info_contact_desc', array(
|
548 |
-
'selector' => '#features-list .fourth h3',
|
549 |
'settings' => 'info_contact_desc',
|
550 |
'render_callback' => 'startkit_info_contact_desc_render_callback',
|
551 |
|
376 |
=========================================*/
|
377 |
|
378 |
$theme = wp_get_theme(); // gets the current theme
|
379 |
+
if ( 'Arowana' == $theme->name || 'Envira' == $theme->name){
|
380 |
|
381 |
// Info Fourth Head
|
382 |
$wp_customize->add_setting(
|
467 |
function startkit_home_info_section_partials( $wp_customize ){
|
468 |
//info section first
|
469 |
$wp_customize->selective_refresh->add_partial( 'info_title', array(
|
470 |
+
'selector' => '#features-list .first h4, #features-list .first .item--title a',
|
471 |
'settings' => 'info_title',
|
472 |
'render_callback' => 'info_section_title_render_callback',
|
473 |
|
481 |
) );
|
482 |
|
483 |
$wp_customize->selective_refresh->add_partial( 'info_description', array(
|
484 |
+
'selector' => '#features-list .first p, #features-list .first .item--content',
|
485 |
'settings' => 'info_description',
|
486 |
'render_callback' => 'home_service_section_description_render_callback',
|
487 |
|
488 |
) );
|
489 |
// info second
|
490 |
$wp_customize->selective_refresh->add_partial( 'info_title2', array(
|
491 |
+
'selector' => '#features-list .second h4, #features-list .second .item--title a',
|
492 |
'settings' => 'info_title2',
|
493 |
'render_callback' => 'info_second_title_render_callback',
|
494 |
|
502 |
) );
|
503 |
|
504 |
$wp_customize->selective_refresh->add_partial( 'info_description2', array(
|
505 |
+
'selector' => '#features-list .second p, #features-list .second .item--content',
|
506 |
'settings' => 'info_description2',
|
507 |
'render_callback' => 'info_second_description_render_callback',
|
508 |
|
510 |
|
511 |
// info third
|
512 |
$wp_customize->selective_refresh->add_partial( 'info_title3', array(
|
513 |
+
'selector' => '#features-list .third h4, #features-list .third .item--title a',
|
514 |
'settings' => 'info_title3',
|
515 |
'render_callback' => 'info_third_title_render_callback',
|
516 |
|
523 |
) );
|
524 |
|
525 |
$wp_customize->selective_refresh->add_partial( 'info_description3', array(
|
526 |
+
'selector' => '#features-list .third p, #features-list .third .item--content',
|
527 |
'settings' => 'info_description3',
|
528 |
'render_callback' => 'info_third_description_render_callback',
|
529 |
|
545 |
) );
|
546 |
|
547 |
$wp_customize->selective_refresh->add_partial( 'info_contact_desc', array(
|
548 |
+
'selector' => '#features-list .fourth h3, #features-list .fourth p',
|
549 |
'settings' => 'info_contact_desc',
|
550 |
'render_callback' => 'startkit_info_contact_desc_render_callback',
|
551 |
|
inc/startkit/sections/section-flash.php
CHANGED
@@ -32,7 +32,7 @@ if ( ! function_exists( 'startkit_info_plu' ) ) :
|
|
32 |
</div>
|
33 |
</div>
|
34 |
<div class="col-md-4 mb-lg-0 mb-5">
|
35 |
-
<div class="features-list-item
|
36 |
<div class="features-icon">
|
37 |
<span class="icon"><i class="fa <?php echo esc_attr( $info_icons2 ); ?>"></i></span>
|
38 |
</div>
|
@@ -44,7 +44,7 @@ if ( ! function_exists( 'startkit_info_plu' ) ) :
|
|
44 |
</div>
|
45 |
</div>
|
46 |
<div class="col-md-4 mb-lg-0 mb-5">
|
47 |
-
<div class="features-list-item
|
48 |
<div class="features-icon">
|
49 |
<span class="icon"><i class="fa <?php echo esc_attr( $info_icons3 ); ?>"></i></span>
|
50 |
</div>
|
32 |
</div>
|
33 |
</div>
|
34 |
<div class="col-md-4 mb-lg-0 mb-5">
|
35 |
+
<div class="features-list-item second wow fadeInUp" data-wow-delay="0.1s">
|
36 |
<div class="features-icon">
|
37 |
<span class="icon"><i class="fa <?php echo esc_attr( $info_icons2 ); ?>"></i></span>
|
38 |
</div>
|
44 |
</div>
|
45 |
</div>
|
46 |
<div class="col-md-4 mb-lg-0 mb-5">
|
47 |
+
<div class="features-list-item third wow fadeInUp" data-wow-delay="0.1s">
|
48 |
<div class="features-icon">
|
49 |
<span class="icon"><i class="fa <?php echo esc_attr( $info_icons3 ); ?>"></i></span>
|
50 |
</div>
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: demo, sections, customizer, widget, settings
|
|
4 |
Requires at least: 4.0
|
5 |
Tested up to: 5.7.2
|
6 |
Requires PHP: 5.6
|
7 |
-
Stable tag: 5.
|
8 |
License: GPLv3 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
|
10 |
|
@@ -93,6 +93,10 @@ Clever Fox WordPress plugin is licensed under the GPL3 (https://www.gnu.org/lice
|
|
93 |
|
94 |
== Changelog ==
|
95 |
|
|
|
|
|
|
|
|
|
96 |
= 5.6 =
|
97 |
* Fiona Default blog Functionality Added
|
98 |
|
4 |
Requires at least: 4.0
|
5 |
Tested up to: 5.7.2
|
6 |
Requires PHP: 5.6
|
7 |
+
Stable tag: 5.7
|
8 |
License: GPLv3 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
|
10 |
|
93 |
|
94 |
== Changelog ==
|
95 |
|
96 |
+
= 5.7 =
|
97 |
+
* Arowana Theme Fourth Info Setting Added
|
98 |
+
* Belltech Theme Functionality Added
|
99 |
+
|
100 |
= 5.6 =
|
101 |
* Fiona Default blog Functionality Added
|
102 |
|