Orbit Fox by ThemeIsle - Version 2.4.7

Version Description

  • 2018-05-03
Download this release

Release Info

Developer codeinwp
Plugin Icon 128x128 Orbit Fox by ThemeIsle
Version 2.4.7
Comparing to
See all releases

Code changes from version 2.4.6 to 2.4.7

Files changed (28) hide show
  1. CHANGELOG.md +5 -2
  2. core/app/views/partials/empty-tpl.php +2 -2
  3. core/assets/css/orbit-fox-admin.css +1 -1
  4. core/includes/class-orbit-fox.php +1 -1
  5. obfx_modules/beaver-widgets/custom-fields/toggle-field/toggle_field.php +2 -2
  6. obfx_modules/beaver-widgets/init.php +8 -8
  7. obfx_modules/beaver-widgets/modules/post-grid/includes/loop-settings.php +1 -1
  8. obfx_modules/companion-legacy/inc/hestia/inc/features/feature-clients-bar-section.php +10 -19
  9. obfx_modules/companion-legacy/inc/hestia/inc/features/feature-features-section.php +1 -49
  10. obfx_modules/companion-legacy/inc/hestia/inc/features/feature-ribbon-section.php +1 -72
  11. obfx_modules/companion-legacy/inc/hestia/inc/features/feature-team-section.php +2 -52
  12. obfx_modules/companion-legacy/inc/hestia/inc/features/feature-testimonials-section.php +1 -50
  13. obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-clients-bar-section.php +58 -44
  14. obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-features-section.php +10 -2
  15. obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-ribbon-section.php +56 -50
  16. obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-team-section.php +10 -2
  17. obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-testimonials-section.php +89 -76
  18. obfx_modules/social-sharing/views/hestia-social-sharing-tpl.php +1 -1
  19. obfx_modules/social-sharing/views/social-sharing-tpl.php +2 -2
  20. readme.md +7 -0
  21. readme.txt +7 -0
  22. themeisle-companion.php +3 -3
  23. themeisle-hash.json +1 -1
  24. vendor/autoload.php +1 -1
  25. vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-product.php +2 -2
  26. vendor/codeinwp/themeisle-sdk/load.php +1 -1
  27. vendor/composer/autoload_real.php +5 -5
  28. vendor/composer/installed.json +4 -4
CHANGELOG.md CHANGED
@@ -1,7 +1,10 @@
1
 
2
- ### v2.4.6 - 2018-04-12
3
  **Changes:**
4
-
 
 
 
5
  ### v2.4.6 - 2018-04-12
6
  **Changes:**
7
  * Add video to readme file
1
 
2
+ ### v2.4.7 - 2018-05-03
3
  **Changes:**
4
+ * Add content forms for Beaver Builder
5
+ * Bug fixes and performance enhancements for Hestia
6
+ * Fix issue with plugin activation and deactivation
7
+
8
  ### v2.4.6 - 2018-04-12
9
  **Changes:**
10
  * Add video to readme file
core/app/views/partials/empty-tpl.php CHANGED
@@ -31,11 +31,11 @@ if ( ! isset( $show_btn ) ) {
31
  <?php echo ( isset( $sub_title ) ) ? '<p class="empty-subtitle">' . $sub_title . '</p>' : ''; ?>
32
  <?php
33
  if ( $show_btn ) {
34
- ?>
35
  <div class="empty-action">
36
  <button class="btn btn-primary"><?php echo $btn_text; ?></button>
37
  </div>
38
- <?php
39
  }
40
  ?>
41
  </div>
31
  <?php echo ( isset( $sub_title ) ) ? '<p class="empty-subtitle">' . $sub_title . '</p>' : ''; ?>
32
  <?php
33
  if ( $show_btn ) {
34
+ ?>
35
  <div class="empty-action">
36
  <button class="btn btn-primary"><?php echo $btn_text; ?></button>
37
  </div>
38
+ <?php
39
  }
40
  ?>
41
  </div>
core/assets/css/orbit-fox-admin.css CHANGED
@@ -8,7 +8,7 @@
8
  * Extends Spectre.css Library
9
  */
10
  /*
11
- Version: 2.4.6
12
  */
13
 
14
  /* Document
8
  * Extends Spectre.css Library
9
  */
10
  /*
11
+ Version: 2.4.7
12
  */
13
 
14
  /* Document
core/includes/class-orbit-fox.php CHANGED
@@ -69,7 +69,7 @@ class Orbit_Fox {
69
 
70
  $this->plugin_name = 'orbit-fox';
71
 
72
- $this->version = '2.4.6';
73
 
74
  $this->load_dependencies();
75
  $this->set_locale();
69
 
70
  $this->plugin_name = 'orbit-fox';
71
 
72
+ $this->version = '2.4.7';
73
 
74
  $this->load_dependencies();
75
  $this->set_locale();
obfx_modules/beaver-widgets/custom-fields/toggle-field/toggle_field.php CHANGED
@@ -15,13 +15,13 @@ function obfx_toggle_field( $name, $value, $field ) {
15
  <?php
16
  if ( $value === 'yes' ) {
17
  echo 'checked';}
18
- ?>
19
  value="yes" id="<?php echo esc_attr( $name ); ?>_yes" name="<?php echo esc_attr( $name ); ?>" class="btn-switch__radio btn-switch__radio_yes" />
20
  <input type="radio"
21
  <?php
22
  if ( $value !== 'yes' ) {
23
  echo 'checked';}
24
- ?>
25
  value="no" id="<?php echo esc_attr( $name ); ?>_no" name="<?php echo esc_attr( $name ); ?>" class="btn-switch__radio btn-switch__radio_no" />
26
  <label for="<?php echo esc_attr( $name ); ?>_yes" class="btn-switch__label btn-switch__label_yes"><span class="btn-switch__txt"><?php echo esc_html__( 'Yes', 'themeisle-companion' ); ?></span></label>
27
  <label for="<?php echo esc_attr( $name ); ?>_no" class="btn-switch__label btn-switch__label_no"><span class="btn-switch__txt"><?php echo esc_html__( 'No', 'themeisle-companion' ); ?></span></label>
15
  <?php
16
  if ( $value === 'yes' ) {
17
  echo 'checked';}
18
+ ?>
19
  value="yes" id="<?php echo esc_attr( $name ); ?>_yes" name="<?php echo esc_attr( $name ); ?>" class="btn-switch__radio btn-switch__radio_yes" />
20
  <input type="radio"
21
  <?php
22
  if ( $value !== 'yes' ) {
23
  echo 'checked';}
24
+ ?>
25
  value="no" id="<?php echo esc_attr( $name ); ?>_no" name="<?php echo esc_attr( $name ); ?>" class="btn-switch__radio btn-switch__radio_no" />
26
  <label for="<?php echo esc_attr( $name ); ?>_yes" class="btn-switch__label btn-switch__label_yes"><span class="btn-switch__txt"><?php echo esc_html__( 'Yes', 'themeisle-companion' ); ?></span></label>
27
  <label for="<?php echo esc_attr( $name ); ?>_no" class="btn-switch__label btn-switch__label_no"><span class="btn-switch__txt"><?php echo esc_html__( 'No', 'themeisle-companion' ); ?></span></label>
obfx_modules/beaver-widgets/init.php CHANGED
@@ -56,7 +56,7 @@ class Beaver_Widgets_OBFX_Module extends Orbit_Fox_Module_Abstract {
56
  */
57
  public function hooks() {
58
  $this->loader->add_action( 'init', $this, 'load_widgets_modules' );
59
- // $this->loader->add_action( 'init_themeisle_content_forms', $this, 'load_content_forms' );
60
  }
61
 
62
  /**
@@ -111,11 +111,11 @@ class Beaver_Widgets_OBFX_Module extends Orbit_Fox_Module_Abstract {
111
  /**
112
  * If the content-forms library is available we should make the forms available for elementor
113
  */
114
- // public function load_content_forms() {
115
- // if ( class_exists( '\ThemeIsle\ContentForms\ContactForm' ) ) {
116
- // \ThemeIsle\ContentForms\ContactForm::instance();
117
- // \ThemeIsle\ContentForms\NewsletterForm::instance();
118
- // \ThemeIsle\ContentForms\RegistrationForm::instance();
119
- // }
120
- // }
121
  }
56
  */
57
  public function hooks() {
58
  $this->loader->add_action( 'init', $this, 'load_widgets_modules' );
59
+ $this->loader->add_action( 'init_themeisle_content_forms', $this, 'load_content_forms' );
60
  }
61
 
62
  /**
111
  /**
112
  * If the content-forms library is available we should make the forms available for elementor
113
  */
114
+ public function load_content_forms() {
115
+ if ( class_exists( '\ThemeIsle\ContentForms\ContactForm' ) ) {
116
+ \ThemeIsle\ContentForms\ContactForm::instance();
117
+ \ThemeIsle\ContentForms\NewsletterForm::instance();
118
+ \ThemeIsle\ContentForms\RegistrationForm::instance();
119
+ }
120
+ }
121
  }
obfx_modules/beaver-widgets/modules/post-grid/includes/loop-settings.php CHANGED
@@ -123,7 +123,7 @@ do_action( 'fl_builder_loop_settings_before_form', $settings ); // e.g Add custo
123
  <?php
124
  if ( $slug == $settings->post_type ) {
125
  echo 'style="display:table;"';}
126
- ?>
127
  >
128
  <?php
129
 
123
  <?php
124
  if ( $slug == $settings->post_type ) {
125
  echo 'style="display:table;"';}
126
+ ?>
127
  >
128
  <?php
129
 
obfx_modules/companion-legacy/inc/hestia/inc/features/feature-clients-bar-section.php CHANGED
@@ -15,7 +15,7 @@ if ( ! function_exists( 'hestia_clients_bar_customize_register' ) ) :
15
  */
16
  function hestia_clients_bar_customize_register( $wp_customize ) {
17
 
18
- $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' : 'refresh';
19
 
20
  if ( class_exists( 'Hestia_Hiding_Section' ) ) {
21
  $wp_customize->add_section(
@@ -67,13 +67,13 @@ if ( ! function_exists( 'hestia_clients_bar_customize_register' ) ) :
67
  $wp_customize->add_control(
68
  new Hestia_Repeater(
69
  $wp_customize, 'hestia_clients_bar_content', array(
70
- 'label' => esc_html__( 'Clients Bar Content', 'themeisle-companion' ),
71
- 'section' => 'hestia_clients_bar',
72
- 'priority' => 5,
73
- 'add_field_label' => esc_html__( 'Add new client', 'themeisle-companion' ),
74
- 'item_name' => esc_html__( 'Clients', 'themeisle-companion' ),
75
- 'customizer_repeater_image_control' => true,
76
- 'customizer_repeater_link_control' => true,
77
  )
78
  )
79
  );
@@ -95,20 +95,11 @@ function hestia_register_clients_bar_partials( $wp_customize ) {
95
  return;
96
  }
97
 
98
- $wp_customize->selective_refresh->add_partial(
99
- 'hestia_clients_bar_hide', array(
100
- 'selector' => '.hestia-clients-bar:not(.is-shortcode)',
101
- 'container_inclusive' => true,
102
- 'render_callback' => 'hestia_clients_bar',
103
- 'fallback_refresh' => false,
104
- )
105
- );
106
-
107
  $wp_customize->selective_refresh->add_partial(
108
  'hestia_clients_bar_content', array(
109
- 'selector' => '.hestia-clients-bar',
110
  'container_inclusive' => true,
111
- 'render_callback' => 'hestia_clients_bar',
112
  )
113
  );
114
  }
15
  */
16
  function hestia_clients_bar_customize_register( $wp_customize ) {
17
 
18
+ $selective_refresh = isset( $wp_customize->selective_refresh ) && function_exists('hestia_display_customizer_shortcut') ? 'postMessage' : 'refresh';
19
 
20
  if ( class_exists( 'Hestia_Hiding_Section' ) ) {
21
  $wp_customize->add_section(
67
  $wp_customize->add_control(
68
  new Hestia_Repeater(
69
  $wp_customize, 'hestia_clients_bar_content', array(
70
+ 'label' => esc_html__( 'Clients Bar Content', 'themeisle-companion' ),
71
+ 'section' => 'hestia_clients_bar',
72
+ 'priority' => 5,
73
+ 'add_field_label' => esc_html__( 'Add new client', 'themeisle-companion' ),
74
+ 'item_name' => esc_html__( 'Clients', 'themeisle-companion' ),
75
+ 'customizer_repeater_image_control' => true,
76
+ 'customizer_repeater_link_control' => true,
77
  )
78
  )
79
  );
95
  return;
96
  }
97
 
 
 
 
 
 
 
 
 
 
98
  $wp_customize->selective_refresh->add_partial(
99
  'hestia_clients_bar_content', array(
100
+ 'selector' => '.hestia-clients-bar',
101
  'container_inclusive' => true,
102
+ 'render_callback' => 'hestia_clients_bar',
103
  )
104
  );
105
  }
obfx_modules/companion-legacy/inc/hestia/inc/features/feature-features-section.php CHANGED
@@ -15,7 +15,7 @@ if ( ! function_exists( 'hestia_features_customize_register' ) ) :
15
  */
16
  function hestia_features_customize_register( $wp_customize ) {
17
 
18
- $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' : 'refresh';
19
 
20
  if ( class_exists( 'Hestia_Hiding_Section' ) ) {
21
  $wp_customize->add_section(
@@ -130,33 +130,6 @@ function hestia_register_features_partials( $wp_customize ) {
130
  return;
131
  }
132
 
133
- $wp_customize->selective_refresh->add_partial(
134
- 'hestia_features_hide', array(
135
- 'selector' => '.hestia-features:not(.is-shortcode)',
136
- 'render_callback' => 'hestia_features',
137
- 'container_inclusive' => true,
138
- 'fallback_refresh' => false,
139
- )
140
- );
141
-
142
- $wp_customize->selective_refresh->add_partial(
143
- 'hestia_features_title', array(
144
- 'selector' => '.hestia-features h2.hestia-title',
145
- 'settings' => 'hestia_features_title',
146
- 'render_callback' => 'hestia_features_title_callback',
147
- 'fallback_refresh' => false,
148
- )
149
- );
150
-
151
- $wp_customize->selective_refresh->add_partial(
152
- 'hestia_features_subtitle', array(
153
- 'selector' => '.hestia-features h5.description',
154
- 'settings' => 'hestia_features_subtitle',
155
- 'render_callback' => 'hestia_features_subtitle_callback',
156
- 'fallback_refresh' => false,
157
- )
158
- );
159
-
160
  $wp_customize->selective_refresh->add_partial(
161
  'hestia_features_content', array(
162
  'selector' => '.hestia-features-content',
@@ -167,27 +140,6 @@ function hestia_register_features_partials( $wp_customize ) {
167
  }
168
  add_action( 'customize_register', 'hestia_register_features_partials' );
169
 
170
- /**
171
- * Callback function for features title selective refresh.
172
- *
173
- * @return string
174
- * @since 1.1.31
175
- * @access public
176
- */
177
- function hestia_features_title_callback() {
178
- return get_theme_mod( 'hestia_features_title' );
179
- }
180
-
181
- /**
182
- * Callback function for features subtitle selective refresh.
183
- *
184
- * @return string
185
- * @since 1.1.31
186
- * @access public
187
- */
188
- function hestia_features_subtitle_callback() {
189
- return get_theme_mod( 'hestia_features_subtitle' );
190
- }
191
 
192
  /**
193
  * Callback function for features content selective refresh.
15
  */
16
  function hestia_features_customize_register( $wp_customize ) {
17
 
18
+ $selective_refresh = isset( $wp_customize->selective_refresh ) && function_exists('hestia_display_customizer_shortcut') ? 'postMessage' : 'refresh';
19
 
20
  if ( class_exists( 'Hestia_Hiding_Section' ) ) {
21
  $wp_customize->add_section(
130
  return;
131
  }
132
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
133
  $wp_customize->selective_refresh->add_partial(
134
  'hestia_features_content', array(
135
  'selector' => '.hestia-features-content',
140
  }
141
  add_action( 'customize_register', 'hestia_register_features_partials' );
142
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
143
 
144
  /**
145
  * Callback function for features content selective refresh.
obfx_modules/companion-legacy/inc/hestia/inc/features/feature-ribbon-section.php CHANGED
@@ -18,7 +18,7 @@ if ( ! function_exists( 'hestia_ribbon_customize_register' ) ) :
18
  */
19
  function hestia_ribbon_customize_register( $wp_customize ) {
20
 
21
- $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' : 'refresh';
22
 
23
  if ( class_exists( 'Hestia_Hiding_Section' ) ) {
24
  $wp_customize->add_section(
@@ -132,74 +132,3 @@ if ( ! function_exists( 'hestia_ribbon_customize_register' ) ) :
132
  add_action( 'customize_register', 'hestia_ribbon_customize_register' );
133
 
134
  endif;
135
-
136
-
137
- if ( ! function_exists( 'hestia_register_ribbon_partials' ) ) :
138
-
139
- /**
140
- * Add selective refresh for ribbon section controls.
141
- *
142
- * @param WP_Customize_Manager $wp_customize Theme Customizer object.
143
- * @since 1.1.47
144
- * @access public
145
- */
146
- function hestia_register_ribbon_partials( $wp_customize ) {
147
- // Abort if selective refresh is not available.
148
- if ( ! isset( $wp_customize->selective_refresh ) ) {
149
- return;
150
- }
151
-
152
- $wp_customize->selective_refresh->add_partial(
153
- 'hestia_ribbon_hide', array(
154
- 'selector' => '.hestia-ribbon:not(.is-shortcode)',
155
- 'container_inclusive' => true,
156
- 'render_callback' => 'hestia_ribbon',
157
- 'fallback_refresh' => false,
158
- )
159
- );
160
-
161
- $wp_customize->selective_refresh->add_partial(
162
- 'hestia_ribbon_background', array(
163
- 'selector' => '.hestia-ribbon-style',
164
- 'container_inclusive' => true,
165
- 'render_callback' => 'hestia_ribbon_background',
166
- )
167
- );
168
-
169
- $wp_customize->selective_refresh->add_partial(
170
- 'hestia_ribbon_text', array(
171
- 'selector' => '.hestia-ribbon .hestia-title',
172
- 'render_callback' => 'hestia_ribbon_text_callback',
173
- )
174
- );
175
-
176
- $wp_customize->selective_refresh->add_partial(
177
- 'hestia_ribbon_button_text', array(
178
- 'selector' => '.hestia-subscribe-button',
179
- 'render_callback' => 'hestia_ribbon_button_text_callback',
180
- )
181
- );
182
- }
183
-
184
- add_action( 'customize_register', 'hestia_register_ribbon_partials' );
185
- endif;
186
-
187
- /**
188
- * Callback function for ribbon text selective refresh.
189
- *
190
- * @since 1.1.47
191
- * @return string
192
- */
193
- function hestia_ribbon_text_callback() {
194
- return get_theme_mod( 'hestia_ribbon_text' );
195
- }
196
-
197
- /**
198
- * Callback function for ribbon button text selective refresh.
199
- *
200
- * @since 1.1.47
201
- * @return string
202
- */
203
- function hestia_ribbon_button_text_callback() {
204
- return get_theme_mod( 'hestia_ribbon_button_text' );
205
- }
18
  */
19
  function hestia_ribbon_customize_register( $wp_customize ) {
20
 
21
+ $selective_refresh = isset( $wp_customize->selective_refresh ) && function_exists('hestia_display_customizer_shortcut') ? 'postMessage' : 'refresh';
22
 
23
  if ( class_exists( 'Hestia_Hiding_Section' ) ) {
24
  $wp_customize->add_section(
132
  add_action( 'customize_register', 'hestia_ribbon_customize_register' );
133
 
134
  endif;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
obfx_modules/companion-legacy/inc/hestia/inc/features/feature-team-section.php CHANGED
@@ -15,7 +15,7 @@ if ( ! function_exists( 'hestia_team_customize_register' ) ) :
15
  */
16
  function hestia_team_customize_register( $wp_customize ) {
17
 
18
- $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' : 'refresh';
19
 
20
  if ( class_exists( 'Hestia_Hiding_Section' ) ) {
21
  $wp_customize->add_section(
@@ -130,34 +130,7 @@ function hestia_register_team_partials( $wp_customize ) {
130
  if ( ! isset( $wp_customize->selective_refresh ) ) {
131
  return;
132
  }
133
-
134
- $wp_customize->selective_refresh->add_partial(
135
- 'hestia_team_hide', array(
136
- 'selector' => '.hestia-team:not(.is-shortcode)',
137
- 'container_inclusive' => true,
138
- 'render_callback' => 'hestia_team',
139
- 'fallback_refresh' => false,
140
- )
141
- );
142
-
143
- $wp_customize->selective_refresh->add_partial(
144
- 'hestia_team_title', array(
145
- 'selector' => '#team h2.hestia-title',
146
- 'settings' => 'hestia_team_title',
147
- 'render_callback' => 'hestia_team_title_callback',
148
- 'fallback_refresh' => false,
149
- )
150
- );
151
-
152
- $wp_customize->selective_refresh->add_partial(
153
- 'hestia_team_subtitle', array(
154
- 'selector' => '#team h5.description',
155
- 'settings' => 'hestia_team_subtitle',
156
- 'render_callback' => 'hestia_team_subtitle_callback',
157
- 'fallback_refresh' => false,
158
- )
159
- );
160
-
161
  $wp_customize->selective_refresh->add_partial(
162
  'hestia_team_content', array(
163
  'selector' => '.hestia-team-content',
@@ -168,29 +141,6 @@ function hestia_register_team_partials( $wp_customize ) {
168
  }
169
  add_action( 'customize_register', 'hestia_register_team_partials' );
170
 
171
-
172
- /**
173
- * Callback function for team title selective refresh.
174
- *
175
- * @return string
176
- * @since 1.1.31
177
- * @access public
178
- */
179
- function hestia_team_title_callback() {
180
- return get_theme_mod( 'hestia_team_title' );
181
- }
182
-
183
- /**
184
- * Callback function for team subtitle selective refresh.
185
- *
186
- * @return string
187
- * @since 1.1.31
188
- * @access public
189
- */
190
- function hestia_team_subtitle_callback() {
191
- return get_theme_mod( 'hestia_team_subtitle' );
192
- }
193
-
194
  /**
195
  * Callback function for team content selective refresh.
196
  *
15
  */
16
  function hestia_team_customize_register( $wp_customize ) {
17
 
18
+ $selective_refresh = isset( $wp_customize->selective_refresh ) && function_exists('hestia_display_customizer_shortcut') ? 'postMessage' : 'refresh';
19
 
20
  if ( class_exists( 'Hestia_Hiding_Section' ) ) {
21
  $wp_customize->add_section(
130
  if ( ! isset( $wp_customize->selective_refresh ) ) {
131
  return;
132
  }
133
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
134
  $wp_customize->selective_refresh->add_partial(
135
  'hestia_team_content', array(
136
  'selector' => '.hestia-team-content',
141
  }
142
  add_action( 'customize_register', 'hestia_register_team_partials' );
143
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
144
  /**
145
  * Callback function for team content selective refresh.
146
  *
obfx_modules/companion-legacy/inc/hestia/inc/features/feature-testimonials-section.php CHANGED
@@ -15,7 +15,7 @@ if ( ! function_exists( 'hestia_testimonials_customize_register' ) ) :
15
  */
16
  function hestia_testimonials_customize_register( $wp_customize ) {
17
 
18
- $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' : 'refresh';
19
 
20
  if ( class_exists( 'Hestia_Hiding_Section' ) ) {
21
  $wp_customize->add_section(
@@ -130,33 +130,6 @@ function hestia_register_testimonials_partials( $wp_customize ) {
130
  return;
131
  }
132
 
133
- $wp_customize->selective_refresh->add_partial(
134
- 'hestia_testimonials_hide', array(
135
- 'selector' => '.hestia-testimonials:not(.is-shortcode)',
136
- 'render_callback' => 'hestia_testimonials',
137
- 'container_inclusive' => true,
138
- 'fallback_refresh' => false,
139
- )
140
- );
141
-
142
- $wp_customize->selective_refresh->add_partial(
143
- 'hestia_testimonials_title', array(
144
- 'selector' => '#testimonials h2.hestia-title',
145
- 'settings' => 'hestia_testimonials_title',
146
- 'render_callback' => 'hestia_testimonials_title_callback',
147
- 'fallback_refresh' => false,
148
- )
149
- );
150
-
151
- $wp_customize->selective_refresh->add_partial(
152
- 'hestia_testimonials_subtitle', array(
153
- 'selector' => '#testimonials h5.description',
154
- 'settings' => 'hestia_testimonials_subtitle',
155
- 'render_callback' => 'hestia_testimonials_subtitle_callback',
156
- 'fallback_refresh' => false,
157
- )
158
- );
159
-
160
  $wp_customize->selective_refresh->add_partial(
161
  'hestia_testimonials_content', array(
162
  'selector' => '.hestia-testimonials-content',
@@ -167,28 +140,6 @@ function hestia_register_testimonials_partials( $wp_customize ) {
167
  }
168
  add_action( 'customize_register', 'hestia_register_testimonials_partials' );
169
 
170
- /**
171
- * Callback function for testimonials title selective refresh.
172
- *
173
- * @return string
174
- * @since 1.1.31
175
- * @access public
176
- */
177
- function hestia_testimonials_title_callback() {
178
- return get_theme_mod( 'hestia_testimonials_title' );
179
- }
180
-
181
- /**
182
- * Callback function for testimonials subtitle selective refresh.
183
- *
184
- * @return string
185
- * @since 1.1.31
186
- * @access public
187
- */
188
- function hestia_testimonials_subtitle_callback() {
189
- return get_theme_mod( 'hestia_testimonials_subtitle' );
190
- }
191
-
192
  /**
193
  * Callback function for testimonials content selective refresh.
194
  *
15
  */
16
  function hestia_testimonials_customize_register( $wp_customize ) {
17
 
18
+ $selective_refresh = isset( $wp_customize->selective_refresh ) && function_exists('hestia_display_customizer_shortcut') ? 'postMessage' : 'refresh';
19
 
20
  if ( class_exists( 'Hestia_Hiding_Section' ) ) {
21
  $wp_customize->add_section(
130
  return;
131
  }
132
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
133
  $wp_customize->selective_refresh->add_partial(
134
  'hestia_testimonials_content', array(
135
  'selector' => '.hestia-testimonials-content',
140
  }
141
  add_action( 'customize_register', 'hestia_register_testimonials_partials' );
142
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
143
  /**
144
  * Callback function for testimonials content selective refresh.
145
  *
obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-clients-bar-section.php CHANGED
@@ -19,68 +19,82 @@ if ( ! function_exists( 'hestia_clients_bar' ) ) :
19
  */
20
  function hestia_clients_bar( $is_shortcode = false ) {
21
 
22
- // When this function is called from selective refresh, $is_shortcode gets the value of WP_Customize_Selective_Refresh object. We don't need that.
23
- if ( ! is_bool( $is_shortcode ) ) {
24
- $is_shortcode = false;
25
- }
26
-
27
- $hide_section = get_theme_mod( 'hestia_clients_bar_hide', true );
28
- $hestia_clients_bar_content = get_theme_mod( 'hestia_clients_bar_content', apply_filters( 'hestia_clients_bar_default_content', false ) );
29
  $hestia_clients_bar_content_decoded = json_decode( $hestia_clients_bar_content );
30
 
31
- /* Don't show section if Disable section is checked or it doesn't have any content. Show it if it's called as a shortcode */
 
 
 
 
32
  if ( $is_shortcode === false && ( empty( $hestia_clients_bar_content ) || (bool) $hide_section === true ) || empty( $hestia_clients_bar_content_decoded ) ) {
33
  if ( is_customize_preview() ) {
34
- echo '<section class="hestia-clients-bar text-center" id="clients" data-sorder="hestia_clients_bar" style="display: none"></section>';
 
 
35
  }
36
- return;
37
  }
38
 
 
 
 
39
  $wrapper_class = $is_shortcode === true ? 'is-shortcode' : '';
40
 
41
- ?>
42
- <section class="hestia-clients-bar text-center <?php echo esc_attr( $wrapper_class ); ?>" id="clients" data-sorder="hestia_clients_bar">
43
- <div class="container">
44
- <?php
45
- if( function_exists( 'hestia_clients_bar_section_content_trigger' ) ) {
46
- hestia_clients_bar_section_content_trigger();
47
- }
48
- ?>
49
- <div class="row">
 
 
 
 
 
50
  <?php
51
- $array_length = sizeof( $hestia_clients_bar_content_decoded );
52
- foreach ( $hestia_clients_bar_content_decoded as $client ) {
53
- $image = ! empty( $client->image_url ) ? apply_filters( 'hestia_translate_single_string', $client->image_url, 'Clients bar section' ) : '';
54
- $link = ! empty( $client->link ) ? apply_filters( 'hestia_translate_single_string', $client->link, 'Clients bar section' ) : '';
55
 
56
- $image_id = function_exists( 'attachment_url_to_postid' ) ? attachment_url_to_postid( preg_replace( '/-\d{1,4}x\d{1,4}/i', '', $image ) ) : '';
57
- $alt_text = '';
58
- if ( ! empty( $image_id ) ) {
59
- $alt_text = 'alt="' . get_post_meta( $image_id, '_wp_attachment_image_alt', true ) . '"';
60
- }
61
 
62
- if ( ! empty( $image ) ) {
63
- echo '<div class="col-md-3">';
64
- if ( ! empty( $link ) ) {
65
- $link_html = '<a href="' . esc_url( $link ) . '"';
66
- if ( function_exists( 'hestia_is_external_url' ) ) {
67
- $link_html .= hestia_is_external_url( $link );
 
 
 
68
  }
69
- $link_html .= '>';
70
- echo wp_kses_post( $link_html );
71
- }
72
- echo '<img src="' . esc_url( $image ) . '" ' . wp_kses_post( $alt_text ) . '>';
73
- if ( ! empty( $link ) ) {
74
- echo '</a>';
75
  }
76
- echo '</div>';
77
  }
78
  }
79
  ?>
80
- </div>
81
- </div>
82
- </section>
83
  <?php
 
 
84
  }
85
 
86
  endif;
19
  */
20
  function hestia_clients_bar( $is_shortcode = false ) {
21
 
22
+ /**
23
+ * Gather data to display the section.
24
+ */
25
+ $hide_section = get_theme_mod( 'hestia_clients_bar_hide', true );
26
+ $hestia_clients_bar_content = get_theme_mod( 'hestia_clients_bar_content', apply_filters( 'hestia_clients_bar_default_content', false ) );
 
 
27
  $hestia_clients_bar_content_decoded = json_decode( $hestia_clients_bar_content );
28
 
29
+ /**
30
+ * Don't show section if Disable section is checked or it doesn't have any content.
31
+ * Show it if it's called as a shortcode.
32
+ */
33
+ $section_style = '';
34
  if ( $is_shortcode === false && ( empty( $hestia_clients_bar_content ) || (bool) $hide_section === true ) || empty( $hestia_clients_bar_content_decoded ) ) {
35
  if ( is_customize_preview() ) {
36
+ $section_style = 'style="display: none"';
37
+ } else {
38
+ return;
39
  }
 
40
  }
41
 
42
+ /**
43
+ * In case this function is called as shortcode, we add 'is-shortcode' class.
44
+ */
45
  $wrapper_class = $is_shortcode === true ? 'is-shortcode' : '';
46
 
47
+ hestia_before_clients_bar_section_trigger(); ?>
48
+ <section class="hestia-clients-bar text-center <?php echo esc_attr( $wrapper_class ); ?>" id="clients" data-sorder="hestia_clients_bar" <?php echo wp_kses_post( $section_style ); ?>>
49
+ <?php
50
+ if ( $is_shortcode === false && function_exists('hestia_display_customizer_shortcut') ) {
51
+ hestia_display_customizer_shortcut( 'hestia_clients_bar_hide', true );
52
+ }
53
+ ?>
54
+ <div class="container">
55
+ <?php
56
+ if ( function_exists( 'hestia_clients_bar_section_content_trigger' ) ) {
57
+ hestia_clients_bar_section_content_trigger();
58
+ }
59
+ ?>
60
+ <div class="row" <?php echo hestia_add_animationation( 'fade-up' ); ?>>
61
  <?php
62
+ if ( ! empty( $hestia_clients_bar_content_decoded ) ) {
63
+ foreach ( $hestia_clients_bar_content_decoded as $client ) {
64
+ $image = ! empty( $client->image_url ) ? apply_filters( 'hestia_translate_single_string', $client->image_url, 'Clients bar section' ) : '';
65
+ $link = ! empty( $client->link ) ? apply_filters( 'hestia_translate_single_string', $client->link, 'Clients bar section' ) : '';
66
 
67
+ $image_id = function_exists( 'attachment_url_to_postid' ) ? attachment_url_to_postid( preg_replace( '/-\d{1,4}x\d{1,4}/i', '', $image ) ) : '';
68
+ $alt_text = '';
69
+ if ( ! empty( $image_id ) ) {
70
+ $alt_text = 'alt="' . get_post_meta( $image_id, '_wp_attachment_image_alt', true ) . '"';
71
+ }
72
 
73
+ if ( ! empty( $image ) ) {
74
+ echo '<div class="col-md-3">';
75
+ if ( ! empty( $link ) ) {
76
+ $link_html = '<a href="' . esc_url( $link ) . '"';
77
+ if ( function_exists( 'hestia_is_external_url' ) ) {
78
+ $link_html .= hestia_is_external_url( $link );
79
+ }
80
+ $link_html .= '>';
81
+ echo wp_kses_post( $link_html );
82
  }
83
+ echo '<img src="' . esc_url( $image ) . '" ' . wp_kses_post( $alt_text ) . '>';
84
+ if ( ! empty( $link ) ) {
85
+ echo '</a>';
86
+ }
87
+ echo '</div>';
 
88
  }
 
89
  }
90
  }
91
  ?>
92
+ </div>
93
+ </div>
94
+ </section>
95
  <?php
96
+
97
+ hestia_after_clients_bar_section_trigger();
98
  }
99
 
100
  endif;
obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-features-section.php CHANGED
@@ -47,15 +47,23 @@ if ( ! function_exists( 'hestia_features' ) ) :
47
  hestia_before_features_section_trigger();
48
  ?>
49
  <section class="hestia-features <?php echo esc_attr( $wrapper_class ); ?>" id="features" data-sorder="hestia_features">
50
- <?php hestia_before_features_section_content_trigger(); ?>
 
 
 
 
 
51
  <div class="<?php echo esc_attr( $container_class ); ?>">
52
  <?php
53
  hestia_top_features_section_content_trigger();
54
  if ( $is_shortcode === false ) {
55
  ?>
56
  <div class="row">
57
- <div class="col-md-8 col-md-offset-2">
58
  <?php
 
 
 
59
  if ( ! empty( $hestia_features_title ) || is_customize_preview() ) {
60
  echo '<h2 class="hestia-title">' . wp_kses_post( $hestia_features_title ) . '</h2>';
61
  }
47
  hestia_before_features_section_trigger();
48
  ?>
49
  <section class="hestia-features <?php echo esc_attr( $wrapper_class ); ?>" id="features" data-sorder="hestia_features">
50
+ <?php
51
+ hestia_before_features_section_content_trigger();
52
+ if ( $is_shortcode === false && function_exists('hestia_display_customizer_shortcut') ) {
53
+ hestia_display_customizer_shortcut( 'hestia_features_hide', true );
54
+ }
55
+ ?>
56
  <div class="<?php echo esc_attr( $container_class ); ?>">
57
  <?php
58
  hestia_top_features_section_content_trigger();
59
  if ( $is_shortcode === false ) {
60
  ?>
61
  <div class="row">
62
+ <div class="col-md-8 col-md-offset-2 hestia-features-title-area">
63
  <?php
64
+ if ( function_exists('hestia_display_customizer_shortcut') && ! empty( $hestia_features_title ) && ! empty( $hestia_features_subtitle ) ) {
65
+ hestia_display_customizer_shortcut( 'hestia_features_title' );
66
+ }
67
  if ( ! empty( $hestia_features_title ) || is_customize_preview() ) {
68
  echo '<h2 class="hestia-title">' . wp_kses_post( $hestia_features_title ) . '</h2>';
69
  }
obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-ribbon-section.php CHANGED
@@ -19,19 +19,23 @@ if ( ! function_exists( 'hestia_ribbon' ) ) :
19
  */
20
  function hestia_ribbon( $is_shortcode = false ) {
21
 
22
- // When this function is called from selective refresh, $is_shortcode gets the value of WP_Customize_Selective_Refresh object. We don't need that.
23
- if ( ! is_bool( $is_shortcode ) ) {
24
- $is_shortcode = false;
25
- }
26
-
27
- /* Don't show section if Disable section is checked or it doesn't have any content. Show it if it's called as a shortcode */
28
  $hestia_ribbon_hide = get_theme_mod( 'hestia_ribbon_hide', true );
 
29
  if ( $is_shortcode === false && (bool) $hestia_ribbon_hide === true ) {
30
  if ( is_customize_preview() ) {
31
- echo '<section class="hestia-ribbon section section-image" id="ribbon" data-sorder="hestia_ribbon" style="display: none"></section>';
 
 
32
  }
33
- return;
34
  }
 
 
 
 
35
  $default = ( current_user_can( 'edit_theme_options' ) ? esc_html__( 'Subscribe to our Newsletter', 'themeisle-companion' ) : false );
36
  $hestia_ribbon_text = get_theme_mod( 'hestia_ribbon_text', $default );
37
 
@@ -41,25 +45,47 @@ if ( ! function_exists( 'hestia_ribbon' ) ) :
41
  $default = ( current_user_can( 'edit_theme_options' ) ? '#' : false );
42
  $hestia_ribbon_button_url = get_theme_mod( 'hestia_ribbon_button_url', $default );
43
 
44
- $wrapper_class = $is_shortcode === true ? 'is-shortcode' : '';
45
- ?>
46
- <section class="hestia-ribbon section section-image <?php echo esc_attr( $wrapper_class ); ?>" id="ribbon" data-sorder="hestia_ribbon">
47
- <?php hestia_ribbon_background(); ?>
48
- <div class="container">
49
- <div class="row hestia-xs-text-center hestia-like-table">
50
- <div class="col-md-8">
51
- <?php if ( ! empty( $hestia_ribbon_text ) ) { ?>
52
- <h2 class="hestia-title" style="margin:0;">
53
- <?php echo wp_kses_post( $hestia_ribbon_text ); ?>
54
- </h2>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
55
  <?php
56
- }
57
- ?>
58
- </div>
59
- <div class="col-md-4 text-center">
60
  <?php
61
 
62
- if ( ! empty( $hestia_ribbon_button_text ) && ! empty( $hestia_ribbon_button_url ) ) {
63
 
64
  $link_html = '<a href="' . esc_url( $hestia_ribbon_button_url ) . '"';
65
  if ( function_exists( 'hestia_is_external_url' ) ) {
@@ -71,36 +97,16 @@ if ( ! function_exists( 'hestia_ribbon' ) ) :
71
  echo wp_kses_post( $link_html );
72
  }
73
  ?>
74
- </div>
75
- </div>
76
- </div>
77
- </section>
78
  <?php
 
79
  }
80
  endif;
81
 
82
- /**
83
- * Callback function for ribbon background selective refresh.
84
- *
85
- * @since 1.1.47
86
- */
87
- function hestia_ribbon_background() {
88
- $default = ( current_user_can( 'edit_theme_options' ) ? get_template_directory_uri() . '/assets/img/contact.jpg' : false );
89
- $hestia_ribbon_background = get_theme_mod( 'hestia_ribbon_background', $default );
90
- ?>
91
- <div class="hestia-ribbon-style">
92
- <style>
93
- <?php
94
- if ( ! empty( $hestia_ribbon_background ) ) {
95
- echo '.hestia-ribbon{ background-image: url(\'' . esc_url( $hestia_ribbon_background ) . '\'); }';
96
- }
97
- ?>
98
- </style>
99
- </div>
100
- <?php
101
- }
102
-
103
  if ( function_exists( 'hestia_ribbon' ) ) {
104
- $section_priority = apply_filters( 'hestia_section_priority', 35, 'hestia_ribbon' );
105
  add_action( 'hestia_sections', 'hestia_ribbon', absint( $section_priority ) );
106
  }
19
  */
20
  function hestia_ribbon( $is_shortcode = false ) {
21
 
22
+ /**
23
+ * Don't show section if Disable section is checked or it doesn't have any content.
24
+ * Show it if it's called as a shortcode.
25
+ */
 
 
26
  $hestia_ribbon_hide = get_theme_mod( 'hestia_ribbon_hide', true );
27
+ $section_style = '';
28
  if ( $is_shortcode === false && (bool) $hestia_ribbon_hide === true ) {
29
  if ( is_customize_preview() ) {
30
+ $section_style .= 'display: none;';
31
+ } else {
32
+ return;
33
  }
 
34
  }
35
+
36
+ /**
37
+ * Gather data to display the section.
38
+ */
39
  $default = ( current_user_can( 'edit_theme_options' ) ? esc_html__( 'Subscribe to our Newsletter', 'themeisle-companion' ) : false );
40
  $hestia_ribbon_text = get_theme_mod( 'hestia_ribbon_text', $default );
41
 
45
  $default = ( current_user_can( 'edit_theme_options' ) ? '#' : false );
46
  $hestia_ribbon_button_url = get_theme_mod( 'hestia_ribbon_button_url', $default );
47
 
48
+ $default = ( current_user_can( 'edit_theme_options' ) ? get_template_directory_uri() . '/assets/img/contact.jpg' : false );
49
+ $hestia_ribbon_background = get_theme_mod( 'hestia_ribbon_background', $default );
50
+ if ( ! empty( $hestia_ribbon_background ) ) {
51
+ $section_style .= 'background-image: url( ' . esc_url( $hestia_ribbon_background ) . ');';
52
+ }
53
+ $section_style = 'style="' . esc_attr( $section_style ) . '"';
54
+
55
+ /**
56
+ * In case this function is called as shortcode, we remove the container and we add 'is-shortcode' class.
57
+ */
58
+ $class_to_add = $is_shortcode === true ? 'is-shortcode ' : '';
59
+ $class_to_add .= ! empty( $hestia_ribbon_background ) ? 'section-image' : '';
60
+
61
+ hestia_before_ribbon_section_trigger(); ?>
62
+ <section class="hestia-ribbon section <?php echo esc_attr( $class_to_add ); ?>" id="ribbon" data-sorder="hestia_ribbon" <?php echo wp_kses_post( $section_style ); ?>>
63
+ <?php
64
+ if ( function_exists('hestia_display_customizer_shortcut') && $is_shortcode === false ) {
65
+ hestia_display_customizer_shortcut( 'hestia_ribbon_hide', true );
66
+ }
67
+ ?>
68
+ <div class="container">
69
+ <div class="row hestia-xs-text-center hestia-like-table hestia-ribbon-content">
70
+ <?php
71
+ if( function_exists('hestia_display_customizer_shortcut') ) {
72
+ hestia_display_customizer_shortcut( 'hestia_ribbon_text' );
73
+ } ?>
74
+ <div class="col-md-8 hestia-ribbon-content-left" <?php echo hestia_add_animationation( 'fade-right' ); ?>>
75
+ <?php
76
+ if ( ! empty( $hestia_ribbon_text ) || is_customize_preview() ) {
77
+ ?>
78
+ <h2 class="hestia-title" style="margin:0;">
79
+ <?php echo hestia_sanitize_string( $hestia_ribbon_text ); ?>
80
+ </h2>
81
  <?php
82
+ }
83
+ ?>
84
+ </div>
85
+ <div class="col-md-4 text-center hestia-ribbon-content-right" <?php echo hestia_add_animationation( 'fade-left' ); ?>>
86
  <?php
87
 
88
+ if ( ( ! empty( $hestia_ribbon_button_text ) && ! empty( $hestia_ribbon_button_url ) ) || is_customize_preview() ) {
89
 
90
  $link_html = '<a href="' . esc_url( $hestia_ribbon_button_url ) . '"';
91
  if ( function_exists( 'hestia_is_external_url' ) ) {
97
  echo wp_kses_post( $link_html );
98
  }
99
  ?>
100
+ </div>
101
+ </div>
102
+ </div>
103
+ </section>
104
  <?php
105
+ hestia_after_ribbon_section_trigger();
106
  }
107
  endif;
108
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
109
  if ( function_exists( 'hestia_ribbon' ) ) {
110
+ $section_priority = apply_filters( 'hestia_section_priority', 40, 'hestia_ribbon' );
111
  add_action( 'hestia_sections', 'hestia_ribbon', absint( $section_priority ) );
112
  }
obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-team-section.php CHANGED
@@ -54,15 +54,23 @@ if ( ! function_exists( 'hestia_team' ) ) :
54
  hestia_before_team_section_trigger();
55
  ?>
56
  <section class="hestia-team <?php echo esc_attr( $wrapper_class ); ?>" id="team" data-sorder="hestia_team">
57
- <?php hestia_before_team_section_content_trigger(); ?>
 
 
 
 
 
58
  <div class="<?php echo esc_attr( $container_class ); ?>">
59
  <?php
60
  hestia_top_team_section_content_trigger();
61
  if ( $is_shortcode === false ) {
62
  ?>
63
  <div class="row">
64
- <div class="col-md-8 col-md-offset-2 text-center">
65
  <?php
 
 
 
66
  if ( ! empty( $hestia_team_title ) || is_customize_preview() ) {
67
  echo '<h2 class="hestia-title">' . wp_kses_post( $hestia_team_title ) . '</h2>';
68
  }
54
  hestia_before_team_section_trigger();
55
  ?>
56
  <section class="hestia-team <?php echo esc_attr( $wrapper_class ); ?>" id="team" data-sorder="hestia_team">
57
+ <?php
58
+ hestia_before_team_section_content_trigger();
59
+ if ( function_exists('hestia_display_customizer_shortcut') && $is_shortcode === false ) {
60
+ hestia_display_customizer_shortcut( 'hestia_team_hide', true );
61
+ }
62
+ ?>
63
  <div class="<?php echo esc_attr( $container_class ); ?>">
64
  <?php
65
  hestia_top_team_section_content_trigger();
66
  if ( $is_shortcode === false ) {
67
  ?>
68
  <div class="row">
69
+ <div class="col-md-8 col-md-offset-2 text-center hestia-team-title-area">
70
  <?php
71
+ if( function_exists('hestia_display_customizer_shortcut') ) {
72
+ hestia_display_customizer_shortcut( 'hestia_team_title' );
73
+ }
74
  if ( ! empty( $hestia_team_title ) || is_customize_preview() ) {
75
  echo '<h2 class="hestia-title">' . wp_kses_post( $hestia_team_title ) . '</h2>';
76
  }
obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-testimonials-section.php CHANGED
@@ -18,14 +18,12 @@ if ( ! function_exists( 'hestia_testimonials' ) ) :
18
  */
19
  function hestia_testimonials( $is_shortcode = false ) {
20
 
21
- // When this function is called from selective refresh, $is_shortcode gets the value of WP_Customize_Selective_Refresh object. We don't need that.
22
- if ( ! is_bool( $is_shortcode ) ) {
23
- $is_shortcode = false;
24
- }
25
-
26
- $default_title = '';
27
  $default_subtitle = '';
28
- $default_content = '';
29
  if ( current_user_can( 'edit_theme_options' ) ) {
30
  $default_title = esc_html__( 'What clients say', 'themeisle-companion' );
31
  $default_subtitle = esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'themeisle-companion' );
@@ -34,38 +32,51 @@ if ( ! function_exists( 'hestia_testimonials' ) ) :
34
  $hestia_testimonials_title = get_theme_mod( 'hestia_testimonials_title', $default_title );
35
  $hestia_testimonials_subtitle = get_theme_mod( 'hestia_testimonials_subtitle', $default_subtitle );
36
  if ( $is_shortcode ) {
37
- $hestia_testimonials_title = '';
38
  $hestia_testimonials_subtitle = '';
39
  }
 
 
 
40
 
41
- $hestia_testimonials_content = get_theme_mod( 'hestia_testimonials_content', $default_content );
42
-
43
- $hide_section = get_theme_mod( 'hestia_testimonials_hide', false );
44
- $section_is_empty = empty( $hestia_testimonials_title ) && empty( $hestia_testimonials_subtitle ) && empty( $hestia_testimonials_content );
45
-
46
- /* Don't show section if Disable section is checked or it doesn't have any content. Show it if it's called as a shortcode */
47
  if ( ( $is_shortcode === false ) && ( $section_is_empty || (bool) $hide_section === true ) ) {
48
  if ( is_customize_preview() ) {
49
- echo '<section class="hestia-testimonials" id="testimonials" data-sorder="hestia_testimonials" style="display: none"></section>';
 
 
50
  }
51
- return;
52
  }
53
 
54
- $wrapper_class = $is_shortcode === true ? 'is-shortcode' : '';
 
 
 
55
  $container_class = $is_shortcode === true ? '' : 'container';
56
 
57
- hestia_before_testimonials_section_trigger();
58
- ?>
59
- <section class="hestia-testimonials <?php echo esc_attr( $wrapper_class ); ?>" id="testimonials" data-sorder="hestia_testimonials">
60
- <?php hestia_before_testimonials_section_content_trigger(); ?>
61
- <div class="<?php echo esc_attr( $container_class ); ?>">
 
 
 
 
62
  <?php
63
  hestia_top_testimonials_section_content_trigger();
64
  if ( $is_shortcode === false ) {
65
- ?>
66
- <div class="row">
67
- <div class="col-md-8 col-md-offset-2 text-center">
68
  <?php
 
 
 
69
  if ( ! empty( $hestia_testimonials_title ) || is_customize_preview() ) {
70
  echo '<h2 class="hestia-title">' . wp_kses_post( $hestia_testimonials_title ) . '</h2>';
71
  }
@@ -73,16 +84,16 @@ if ( ! function_exists( 'hestia_testimonials' ) ) :
73
  echo '<h5 class="description">' . wp_kses_post( $hestia_testimonials_subtitle ) . '</h5>';
74
  }
75
  ?>
76
- </div>
77
- </div>
78
  <?php
79
  }
80
  hestia_testimonials_content( $hestia_testimonials_content );
81
  hestia_bottom_testimonials_section_content_trigger();
82
  ?>
83
- </div>
84
  <?php hestia_after_testimonials_section_content_trigger(); ?>
85
- </section>
86
  <?php
87
  hestia_after_testimonials_section_trigger();
88
  }
@@ -100,8 +111,8 @@ endif;
100
  function hestia_testimonials_content( $hestia_testimonials_content, $is_callback = false ) {
101
 
102
  if ( ! $is_callback ) {
103
- ?>
104
- <div class="hestia-testimonials-content">
105
  <?php
106
  }
107
  if ( ! empty( $hestia_testimonials_content ) ) :
@@ -109,33 +120,33 @@ function hestia_testimonials_content( $hestia_testimonials_content, $is_callback
109
  if ( ! empty( $hestia_testimonials_content ) ) {
110
  echo '<div class="row">';
111
  foreach ( $hestia_testimonials_content as $testimonial_item ) :
112
- $image = ! empty( $testimonial_item->image_url ) ? apply_filters( 'hestia_translate_single_string', $testimonial_item->image_url, 'Testimonials section' ) : '';
113
- $title = ! empty( $testimonial_item->title ) ? apply_filters( 'hestia_translate_single_string', $testimonial_item->title, 'Testimonials section' ) : '';
114
  $subtitle = ! empty( $testimonial_item->subtitle ) ? apply_filters( 'hestia_translate_single_string', $testimonial_item->subtitle, 'Testimonials section' ) : '';
115
- $text = ! empty( $testimonial_item->text ) ? apply_filters( 'hestia_translate_single_string', $testimonial_item->text, 'Testimonials section' ) : '';
116
- $link = ! empty( $testimonial_item->link ) ? apply_filters( 'hestia_translate_single_string', $testimonial_item->link, 'Testimonials section' ) : '';
117
  ?>
118
- <div class="col-xs-12 col-ms-6 col-sm-6 <?php echo apply_filters( 'hestia_testimonials_per_row_class','col-md-4' ); ?>">
119
- <div class="card card-testimonial card-plain">
120
  <?php
121
- if ( ! empty( $image ) ) :
122
- /**
123
- * Alternative text for the Testimonial box image
124
- * It first checks for the Alt Text option of the attachment
125
- * If that field is empty, uses the Title of the Testimonial box as alt text
126
- */
127
- $alt_image = '';
128
- $image_id = function_exists( 'attachment_url_to_postid' ) ? attachment_url_to_postid( preg_replace( '/-\d{1,4}x\d{1,4}/i', '', $image ) ) : '';
129
- if ( ! empty( $image_id ) && $image_id !== 0 ) {
130
- $alt_image = get_post_meta( $image_id, '_wp_attachment_image_alt', true );
131
- }
132
- if ( empty( $alt_image ) ) {
133
- if ( ! empty( $title ) ) {
134
- $alt_image = $title;
135
- }
136
- }
137
- ?>
138
- <div class="card-avatar">
139
  <?php
140
  if ( ! empty( $link ) ) {
141
  $link_html = '<a href="' . esc_url( $link ) . '"';
@@ -145,41 +156,43 @@ function hestia_testimonials_content( $hestia_testimonials_content, $is_callback
145
  $link_html .= '>';
146
  echo wp_kses_post( $link_html );
147
  }
148
- echo '<img class="img" src="' . esc_url( $image ) . '" ';
149
- if ( ! empty( $alt_image ) ) {
150
- echo ' alt="' . esc_attr( $alt_image ) . '" ';
151
- }
152
- if ( ! empty( $title ) ) {
153
- echo ' title="' . esc_attr( $title ) . '" ';
154
- }
155
- echo '/>';
 
 
156
  if ( ! empty( $link ) ) {
157
- echo '</a>';
158
- }
159
- ?>
160
- </div>
161
  <?php endif; ?>
162
- <div class="content">
163
  <?php if ( ! empty( $title ) ) : ?>
164
- <h4 class="card-title"><?php echo esc_html( $title ); ?></h4>
165
  <?php endif; ?>
166
  <?php if ( ! empty( $subtitle ) ) : ?>
167
- <h6 class="category text-muted"><?php echo esc_html( $subtitle ); ?></h6>
168
  <?php endif; ?>
169
  <?php if ( ! empty( $text ) ) : ?>
170
- <p class="card-description"><?php echo wp_kses_post( html_entity_decode( $text ) ); ?></p>
171
  <?php endif; ?>
172
- </div>
173
- </div>
174
- </div>
175
  <?php
176
  endforeach;
177
  echo '</div>';
178
  }// End if().
179
  endif;
180
  if ( ! $is_callback ) {
181
- ?>
182
- </div>
183
  <?php
184
  }
185
  }
18
  */
19
  function hestia_testimonials( $is_shortcode = false ) {
20
 
21
+ /**
22
+ * Gather data to display the section.
23
+ */
24
+ $default_title = '';
 
 
25
  $default_subtitle = '';
26
+ $default_content = '';
27
  if ( current_user_can( 'edit_theme_options' ) ) {
28
  $default_title = esc_html__( 'What clients say', 'themeisle-companion' );
29
  $default_subtitle = esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'themeisle-companion' );
32
  $hestia_testimonials_title = get_theme_mod( 'hestia_testimonials_title', $default_title );
33
  $hestia_testimonials_subtitle = get_theme_mod( 'hestia_testimonials_subtitle', $default_subtitle );
34
  if ( $is_shortcode ) {
35
+ $hestia_testimonials_title = '';
36
  $hestia_testimonials_subtitle = '';
37
  }
38
+ $hestia_testimonials_content = get_theme_mod( 'hestia_testimonials_content', $default_content );
39
+ $hide_section = get_theme_mod( 'hestia_testimonials_hide', false );
40
+ $section_is_empty = empty( $hestia_testimonials_title ) && empty( $hestia_testimonials_subtitle ) && empty( $hestia_testimonials_content );
41
 
42
+ /**
43
+ * Don't show section if Disable section is checked or it doesn't have any content.
44
+ * Show it if it's called as a shortcode.
45
+ */
46
+ $section_style = '';
 
47
  if ( ( $is_shortcode === false ) && ( $section_is_empty || (bool) $hide_section === true ) ) {
48
  if ( is_customize_preview() ) {
49
+ $section_style = 'style="display: none"';
50
+ } else {
51
+ return;
52
  }
 
53
  }
54
 
55
+ /**
56
+ * In case this function is called as shortcode, we remove the container and we add 'is-shortcode' class.
57
+ */
58
+ $wrapper_class = $is_shortcode === true ? 'is-shortcode' : '';
59
  $container_class = $is_shortcode === true ? '' : 'container';
60
 
61
+ hestia_before_testimonials_section_trigger(); ?>
62
+ <section class="hestia-testimonials <?php echo esc_attr( $wrapper_class ); ?>" id="testimonials" data-sorder="hestia_testimonials" <?php echo wp_kses_post( $section_style ); ?>>
63
+ <?php
64
+ hestia_before_testimonials_section_content_trigger();
65
+ if ( function_exists('hestia_display_customizer_shortcut') && $is_shortcode === false ) {
66
+ hestia_display_customizer_shortcut( 'hestia_testimonials_hide', true );
67
+ }
68
+ ?>
69
+ <div class="<?php echo esc_attr( $container_class ); ?>">
70
  <?php
71
  hestia_top_testimonials_section_content_trigger();
72
  if ( $is_shortcode === false ) {
73
+ ?>
74
+ <div class="row">
75
+ <div class="col-md-8 col-md-offset-2 text-center hestia-testimonials-title-area">
76
  <?php
77
+ if( function_exists('hestia_display_customizer_shortcut') ) {
78
+ hestia_display_customizer_shortcut( 'hestia_testimonials_title' );
79
+ }
80
  if ( ! empty( $hestia_testimonials_title ) || is_customize_preview() ) {
81
  echo '<h2 class="hestia-title">' . wp_kses_post( $hestia_testimonials_title ) . '</h2>';
82
  }
84
  echo '<h5 class="description">' . wp_kses_post( $hestia_testimonials_subtitle ) . '</h5>';
85
  }
86
  ?>
87
+ </div>
88
+ </div>
89
  <?php
90
  }
91
  hestia_testimonials_content( $hestia_testimonials_content );
92
  hestia_bottom_testimonials_section_content_trigger();
93
  ?>
94
+ </div>
95
  <?php hestia_after_testimonials_section_content_trigger(); ?>
96
+ </section>
97
  <?php
98
  hestia_after_testimonials_section_trigger();
99
  }
111
  function hestia_testimonials_content( $hestia_testimonials_content, $is_callback = false ) {
112
 
113
  if ( ! $is_callback ) {
114
+ ?>
115
+ <div class="hestia-testimonials-content">
116
  <?php
117
  }
118
  if ( ! empty( $hestia_testimonials_content ) ) :
120
  if ( ! empty( $hestia_testimonials_content ) ) {
121
  echo '<div class="row">';
122
  foreach ( $hestia_testimonials_content as $testimonial_item ) :
123
+ $image = ! empty( $testimonial_item->image_url ) ? apply_filters( 'hestia_translate_single_string', $testimonial_item->image_url, 'Testimonials section' ) : '';
124
+ $title = ! empty( $testimonial_item->title ) ? apply_filters( 'hestia_translate_single_string', $testimonial_item->title, 'Testimonials section' ) : '';
125
  $subtitle = ! empty( $testimonial_item->subtitle ) ? apply_filters( 'hestia_translate_single_string', $testimonial_item->subtitle, 'Testimonials section' ) : '';
126
+ $text = ! empty( $testimonial_item->text ) ? apply_filters( 'hestia_translate_single_string', $testimonial_item->text, 'Testimonials section' ) : '';
127
+ $link = ! empty( $testimonial_item->link ) ? apply_filters( 'hestia_translate_single_string', $testimonial_item->link, 'Testimonials section' ) : '';
128
  ?>
129
+ <div class="col-xs-12 col-ms-6 col-sm-6 <?php echo apply_filters( 'hestia_testimonials_per_row_class', 'col-md-4' ); ?>">
130
+ <div class="card card-testimonial card-plain" <?php echo hestia_add_animationation( 'fade-right' ); ?>>
131
  <?php
132
+ if ( ! empty( $image ) ) :
133
+ /**
134
+ * Alternative text for the Testimonial box image
135
+ * It first checks for the Alt Text option of the attachment
136
+ * If that field is empty, uses the Title of the Testimonial box as alt text
137
+ */
138
+ $alt_image = '';
139
+ $image_id = function_exists( 'attachment_url_to_postid' ) ? attachment_url_to_postid( preg_replace( '/-\d{1,4}x\d{1,4}/i', '', $image ) ) : '';
140
+ if ( ! empty( $image_id ) && $image_id !== 0 ) {
141
+ $alt_image = get_post_meta( $image_id, '_wp_attachment_image_alt', true );
142
+ }
143
+ if ( empty( $alt_image ) ) {
144
+ if ( ! empty( $title ) ) {
145
+ $alt_image = $title;
146
+ }
147
+ }
148
+ ?>
149
+ <div class="card-avatar">
150
  <?php
151
  if ( ! empty( $link ) ) {
152
  $link_html = '<a href="' . esc_url( $link ) . '"';
156
  $link_html .= '>';
157
  echo wp_kses_post( $link_html );
158
  }
159
+
160
+ echo '<img class="img" src="' . esc_url( $image ) . '" ';
161
+ if ( ! empty( $alt_image ) ) {
162
+ echo ' alt="' . esc_attr( $alt_image ) . '" ';
163
+ }
164
+ if ( ! empty( $title ) ) {
165
+ echo ' title="' . esc_attr( $title ) . '" ';
166
+ }
167
+ echo '/>';
168
+
169
  if ( ! empty( $link ) ) {
170
+ echo '</a>';
171
+ }
172
+ ?>
173
+ </div>
174
  <?php endif; ?>
175
+ <div class="content">
176
  <?php if ( ! empty( $title ) ) : ?>
177
+ <h4 class="card-title"><?php echo esc_html( $title ); ?></h4>
178
  <?php endif; ?>
179
  <?php if ( ! empty( $subtitle ) ) : ?>
180
+ <h6 class="category text-muted"><?php echo esc_html( $subtitle ); ?></h6>
181
  <?php endif; ?>
182
  <?php if ( ! empty( $text ) ) : ?>
183
+ <p class="card-description"><?php echo wp_kses_post( html_entity_decode( $text ) ); ?></p>
184
  <?php endif; ?>
185
+ </div>
186
+ </div>
187
+ </div>
188
  <?php
189
  endforeach;
190
  echo '</div>';
191
  }// End if().
192
  endif;
193
  if ( ! $is_callback ) {
194
+ ?>
195
+ </div>
196
  <?php
197
  }
198
  }
obfx_modules/social-sharing/views/hestia-social-sharing-tpl.php CHANGED
@@ -39,5 +39,5 @@ if ( ! empty( $social_links_array ) ) { ?>
39
  <?php } ?>
40
  </ul>
41
  </div>
42
- <?php
43
  }// End if().
39
  <?php } ?>
40
  </ul>
41
  </div>
42
+ <?php
43
  }// End if().
obfx_modules/social-sharing/views/social-sharing-tpl.php CHANGED
@@ -41,10 +41,10 @@ if ( ! empty( $social_links_array ) ) { ?>
41
  if ( $show_name ) {
42
  echo '<span>' . esc_html( $network_data['nicename'] ) . '</span>';
43
  }
44
- ?>
45
  </a>
46
  </li>
47
  <?php } ?>
48
  </ul>
49
- <?php
50
  }// End if().
41
  if ( $show_name ) {
42
  echo '<span>' . esc_html( $network_data['nicename'] ) . '</span>';
43
  }
44
+ ?>
45
  </a>
46
  </li>
47
  <?php } ?>
48
  </ul>
49
+ <?php
50
  }// End if().
readme.md CHANGED
@@ -100,6 +100,13 @@ Activating the Orbit Fox plugin is just like any other plugin. If you've uploade
100
  5. Social Sharing Module
101
 
102
  ## Changelog ##
 
 
 
 
 
 
 
103
  ### 2.4.6 - 2018-04-12 ###
104
 
105
  * Add video to readme file
100
  5. Social Sharing Module
101
 
102
  ## Changelog ##
103
+ ### 2.4.7 - 2018-05-03 ###
104
+
105
+ * Add content forms for Beaver Builder
106
+ * Bug fixes and performance enhancements for Hestia
107
+ * Fix issue with plugin activation and deactivation
108
+
109
+
110
  ### 2.4.6 - 2018-04-12 ###
111
 
112
  * Add video to readme file
readme.txt CHANGED
@@ -100,6 +100,13 @@ Activating the Orbit Fox plugin is just like any other plugin. If you've uploade
100
  5. Social Sharing Module
101
 
102
  == Changelog ==
 
 
 
 
 
 
 
103
  = 2.4.6 - 2018-04-12 =
104
 
105
  * Add video to readme file
100
  5. Social Sharing Module
101
 
102
  == Changelog ==
103
+ = 2.4.7 - 2018-05-03 =
104
+
105
+ * Add content forms for Beaver Builder
106
+ * Bug fixes and performance enhancements for Hestia
107
+ * Fix issue with plugin activation and deactivation
108
+
109
+
110
  = 2.4.6 - 2018-04-12 =
111
 
112
  * Add video to readme file
themeisle-companion.php CHANGED
@@ -15,7 +15,7 @@
15
  * Plugin Name: Orbit Fox Companion
16
  * Plugin URI: https://themeisle.com/plugins/orbit-fox-companion
17
  * Description: This swiss-knife plugin comes with a quality template library, menu/sharing icons modules, and newly added Elementor/BeaverBuilder page builder widgets on each release.
18
- * Version: 2.4.6
19
  * Author: Themeisle
20
  * Author URI: https://themeisle.com
21
  * License: GPL-2.0+
@@ -37,7 +37,7 @@ if ( ! defined( 'WPINC' ) ) {
37
  */
38
  function activate_orbit_fox() {
39
  $obfx_activator = new Orbit_Fox_Activator();
40
- $obfx_activator::activate();
41
  }
42
 
43
  /**
@@ -46,7 +46,7 @@ function activate_orbit_fox() {
46
  */
47
  function deactivate_orbit_fox() {
48
  $obfx_deactivator = new Orbit_Fox_Deactivator();
49
- $obfx_deactivator::deactivate();
50
  }
51
 
52
  register_activation_hook( __FILE__, 'activate_orbit_fox' );
15
  * Plugin Name: Orbit Fox Companion
16
  * Plugin URI: https://themeisle.com/plugins/orbit-fox-companion
17
  * Description: This swiss-knife plugin comes with a quality template library, menu/sharing icons modules, and newly added Elementor/BeaverBuilder page builder widgets on each release.
18
+ * Version: 2.4.7
19
  * Author: Themeisle
20
  * Author URI: https://themeisle.com
21
  * License: GPL-2.0+
37
  */
38
  function activate_orbit_fox() {
39
  $obfx_activator = new Orbit_Fox_Activator();
40
+ $obfx_activator->activate();
41
  }
42
 
43
  /**
46
  */
47
  function deactivate_orbit_fox() {
48
  $obfx_deactivator = new Orbit_Fox_Deactivator();
49
+ $obfx_deactivator->deactivate();
50
  }
51
 
52
  register_activation_hook( __FILE__, 'activate_orbit_fox' );
themeisle-hash.json CHANGED
@@ -1 +1 @@
1
- {"class-autoloader.php":"57e533b653d235e76cb9953720e4f5e9","index.php":"39ab8276fb0e4bd3fcab3270822c5977","themeisle-companion.php":"56404d95c05f61c5b75671abf6a4f3b8","uninstall.php":"7abf753a29e0eb3a844c8a0ba9493b7c"}
1
+ {"class-autoloader.php":"57e533b653d235e76cb9953720e4f5e9","index.php":"39ab8276fb0e4bd3fcab3270822c5977","themeisle-companion.php":"b3aa18e60f62100d985c8ff4f3ebe931","uninstall.php":"7abf753a29e0eb3a844c8a0ba9493b7c"}
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit44640b86f352388a1de6f350c1f928e8::getLoader();
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit2632701c6aff231cecb23eb39f42cf86::getLoader();
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-product.php CHANGED
@@ -333,8 +333,8 @@ if ( ! class_exists( 'ThemeIsle_SDK_Product' ) ) :
333
  */
334
  private function get_pro_versions() {
335
  $license = $this->get_license();
336
-
337
- $url = sprintf( 'https://themeisle.com/?edd_action=get_versions&name=%s&url=%s&license=%s', urlencode( $this->get_name() ), urlencode( get_site_url() ), $license );
338
  $response = wp_remote_get( $url );
339
  if ( is_wp_error( $response ) ) {
340
  return array();
333
  */
334
  private function get_pro_versions() {
335
  $license = $this->get_license();
336
+ $store_url = trailingslashit( $this->store_url );
337
+ $url = sprintf( '%s?edd_action=get_versions&name=%s&url=%s&license=%s', $store_url, urlencode( $this->get_name() ), urlencode( get_site_url() ), $license );
338
  $response = wp_remote_get( $url );
339
  if ( is_wp_error( $response ) ) {
340
  return array();
vendor/codeinwp/themeisle-sdk/load.php CHANGED
@@ -11,7 +11,7 @@
11
  */
12
 
13
  // Current SDK version and path.
14
- $themeisle_sdk_version = '2.2.1';
15
  $themeisle_sdk_path = dirname( __FILE__ );
16
 
17
  global $themeisle_sdk_max_version;
11
  */
12
 
13
  // Current SDK version and path.
14
+ $themeisle_sdk_version = '2.2.3';
15
  $themeisle_sdk_path = dirname( __FILE__ );
16
 
17
  global $themeisle_sdk_max_version;
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit44640b86f352388a1de6f350c1f928e8
6
  {
7
  private static $loader;
8
 
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit44640b86f352388a1de6f350c1f928e8
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit44640b86f352388a1de6f350c1f928e8', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit44640b86f352388a1de6f350c1f928e8', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
@@ -42,14 +42,14 @@ class ComposerAutoloaderInit44640b86f352388a1de6f350c1f928e8
42
 
43
  $includeFiles = require __DIR__ . '/autoload_files.php';
44
  foreach ($includeFiles as $fileIdentifier => $file) {
45
- composerRequire44640b86f352388a1de6f350c1f928e8($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
- function composerRequire44640b86f352388a1de6f350c1f928e8($fileIdentifier, $file)
53
  {
54
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
55
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit2632701c6aff231cecb23eb39f42cf86
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit2632701c6aff231cecb23eb39f42cf86', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit2632701c6aff231cecb23eb39f42cf86', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
42
 
43
  $includeFiles = require __DIR__ . '/autoload_files.php';
44
  foreach ($includeFiles as $fileIdentifier => $file) {
45
+ composerRequire2632701c6aff231cecb23eb39f42cf86($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
+ function composerRequire2632701c6aff231cecb23eb39f42cf86($fileIdentifier, $file)
53
  {
54
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
55
  require $file;
vendor/composer/installed.json CHANGED
@@ -6,15 +6,15 @@
6
  "source": {
7
  "type": "git",
8
  "url": "https://github.com/Codeinwp/themeisle-sdk.git",
9
- "reference": "b48ed57f8024911d418f34b8aaec48a32dfcf75f"
10
  },
11
  "dist": {
12
  "type": "zip",
13
- "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/b48ed57f8024911d418f34b8aaec48a32dfcf75f",
14
- "reference": "b48ed57f8024911d418f34b8aaec48a32dfcf75f",
15
  "shasum": ""
16
  },
17
- "time": "2018-04-12 13:49:56",
18
  "type": "library",
19
  "installation-source": "dist",
20
  "autoload": {
6
  "source": {
7
  "type": "git",
8
  "url": "https://github.com/Codeinwp/themeisle-sdk.git",
9
+ "reference": "ae7fce00ef4fdec1b3f5b918ee0b5e9fe18d588f"
10
  },
11
  "dist": {
12
  "type": "zip",
13
+ "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/ae7fce00ef4fdec1b3f5b918ee0b5e9fe18d588f",
14
+ "reference": "ae7fce00ef4fdec1b3f5b918ee0b5e9fe18d588f",
15
  "shasum": ""
16
  },
17
+ "time": "2018-04-30 11:29:58",
18
  "type": "library",
19
  "installation-source": "dist",
20
  "autoload": {