Version Description
Download this release
Release Info
| Developer | themeisle |
| Plugin | |
| Version | 1.0.5 |
| Comparing to | |
| See all releases | |
Code changes from version 1.0.4 to 1.0.5
- inc/hestia/hestia-functions.php +8 -8
- inc/hestia/inc/features/feature-features-section.php +1 -1
- inc/hestia/inc/features/feature-team-section.php +1 -1
- inc/hestia/inc/features/feature-testimonials-section.php +1 -1
- inc/hestia/inc/sections/hestia-features-section.php +1 -8
- inc/hestia/inc/sections/hestia-team-section.php +1 -8
- inc/hestia/inc/sections/hestia-testimonials-section.php +1 -8
- themeisle-companion.php +2 -2
inc/hestia/hestia-functions.php
CHANGED
|
@@ -14,14 +14,14 @@ function themeisle_hestia_require() {
|
|
| 14 |
if ( function_exists( 'hestia_setup_theme' ) ) {
|
| 15 |
|
| 16 |
// Require Zerif > Hestia content importer if it exists.
|
| 17 |
-
$zerif_importer_path =
|
| 18 |
if ( file_exists( $zerif_importer_path ) ) {
|
| 19 |
require_once( $zerif_importer_path );
|
| 20 |
}
|
| 21 |
|
| 22 |
// Require Hestia Features section and customizer settings.
|
| 23 |
-
$features_path =
|
| 24 |
-
$customizer_features_path =
|
| 25 |
if ( file_exists( $features_path ) ) {
|
| 26 |
require_once( $features_path );
|
| 27 |
}
|
|
@@ -30,8 +30,8 @@ function themeisle_hestia_require() {
|
|
| 30 |
}
|
| 31 |
|
| 32 |
// Require Hestia Testimonials section and customizer settings.
|
| 33 |
-
$testimonials_path =
|
| 34 |
-
$customizer_testimonials_path =
|
| 35 |
if ( file_exists( $testimonials_path ) ) {
|
| 36 |
require_once( $testimonials_path );
|
| 37 |
}
|
|
@@ -40,8 +40,8 @@ function themeisle_hestia_require() {
|
|
| 40 |
}
|
| 41 |
|
| 42 |
// Require Hestia Team section and customizer settings.
|
| 43 |
-
$team_path =
|
| 44 |
-
$customizer_team_path =
|
| 45 |
if ( file_exists( $team_path ) ) {
|
| 46 |
require_once( $team_path );
|
| 47 |
}
|
|
@@ -50,7 +50,7 @@ function themeisle_hestia_require() {
|
|
| 50 |
}
|
| 51 |
|
| 52 |
// Require Hestia Customizer extension.
|
| 53 |
-
$customizer_path =
|
| 54 |
if ( file_exists( $customizer_path ) ) {
|
| 55 |
require_once( $customizer_path );
|
| 56 |
}
|
| 14 |
if ( function_exists( 'hestia_setup_theme' ) ) {
|
| 15 |
|
| 16 |
// Require Zerif > Hestia content importer if it exists.
|
| 17 |
+
$zerif_importer_path = THEMEISLE_COMPANION_PATH. 'inc/hestia/inc/features/import-zerif-content.php';
|
| 18 |
if ( file_exists( $zerif_importer_path ) ) {
|
| 19 |
require_once( $zerif_importer_path );
|
| 20 |
}
|
| 21 |
|
| 22 |
// Require Hestia Features section and customizer settings.
|
| 23 |
+
$features_path = THEMEISLE_COMPANION_PATH . 'inc/hestia/inc/features/feature-features-section.php';
|
| 24 |
+
$customizer_features_path = THEMEISLE_COMPANION_PATH . 'inc/hestia/inc/sections/hestia-features-section.php';
|
| 25 |
if ( file_exists( $features_path ) ) {
|
| 26 |
require_once( $features_path );
|
| 27 |
}
|
| 30 |
}
|
| 31 |
|
| 32 |
// Require Hestia Testimonials section and customizer settings.
|
| 33 |
+
$testimonials_path = THEMEISLE_COMPANION_PATH . 'inc/hestia/inc/features/feature-testimonials-section.php';
|
| 34 |
+
$customizer_testimonials_path = THEMEISLE_COMPANION_PATH . 'inc/hestia/inc/sections/hestia-testimonials-section.php';
|
| 35 |
if ( file_exists( $testimonials_path ) ) {
|
| 36 |
require_once( $testimonials_path );
|
| 37 |
}
|
| 40 |
}
|
| 41 |
|
| 42 |
// Require Hestia Team section and customizer settings.
|
| 43 |
+
$team_path = THEMEISLE_COMPANION_PATH . 'inc/hestia/inc/features/feature-team-section.php';
|
| 44 |
+
$customizer_team_path = THEMEISLE_COMPANION_PATH . 'inc/hestia/inc/sections/hestia-team-section.php';
|
| 45 |
if ( file_exists( $team_path ) ) {
|
| 46 |
require_once( $team_path );
|
| 47 |
}
|
| 50 |
}
|
| 51 |
|
| 52 |
// Require Hestia Customizer extension.
|
| 53 |
+
$customizer_path = THEMEISLE_COMPANION_PATH . 'inc/hestia/inc/customizer.php';
|
| 54 |
if ( file_exists( $customizer_path ) ) {
|
| 55 |
require_once( $customizer_path );
|
| 56 |
}
|
inc/hestia/inc/features/feature-features-section.php
CHANGED
|
@@ -7,7 +7,7 @@
|
|
| 7 |
*/
|
| 8 |
|
| 9 |
// Load Customizer repeater control.
|
| 10 |
-
$repeater_path =
|
| 11 |
if ( file_exists( $repeater_path ) ) {
|
| 12 |
require_once( $repeater_path );
|
| 13 |
}
|
| 7 |
*/
|
| 8 |
|
| 9 |
// Load Customizer repeater control.
|
| 10 |
+
$repeater_path = get_template_directory() . '/inc/customizer-repeater/functions.php';
|
| 11 |
if ( file_exists( $repeater_path ) ) {
|
| 12 |
require_once( $repeater_path );
|
| 13 |
}
|
inc/hestia/inc/features/feature-team-section.php
CHANGED
|
@@ -7,7 +7,7 @@
|
|
| 7 |
*/
|
| 8 |
|
| 9 |
// Load Customizer repeater control.
|
| 10 |
-
$repeater_path =
|
| 11 |
if ( file_exists( $repeater_path ) ) {
|
| 12 |
require_once( $repeater_path );
|
| 13 |
}
|
| 7 |
*/
|
| 8 |
|
| 9 |
// Load Customizer repeater control.
|
| 10 |
+
$repeater_path = get_template_directory() . '/inc/customizer-repeater/functions.php';
|
| 11 |
if ( file_exists( $repeater_path ) ) {
|
| 12 |
require_once( $repeater_path );
|
| 13 |
}
|
inc/hestia/inc/features/feature-testimonials-section.php
CHANGED
|
@@ -7,7 +7,7 @@
|
|
| 7 |
*/
|
| 8 |
|
| 9 |
// Load Customizer repeater control.
|
| 10 |
-
$repeater_path =
|
| 11 |
if ( file_exists( $repeater_path ) ) {
|
| 12 |
require_once( $repeater_path );
|
| 13 |
}
|
| 7 |
*/
|
| 8 |
|
| 9 |
// Load Customizer repeater control.
|
| 10 |
+
$repeater_path = get_template_directory() . '/inc/customizer-repeater/functions.php';
|
| 11 |
if ( file_exists( $repeater_path ) ) {
|
| 12 |
require_once( $repeater_path );
|
| 13 |
}
|
inc/hestia/inc/sections/hestia-features-section.php
CHANGED
|
@@ -83,13 +83,6 @@ function hestia_features_content( $hestia_features_content, $is_callback = false
|
|
| 83 |
<?php
|
| 84 |
}
|
| 85 |
if ( ! empty( $hestia_features_content ) ) :
|
| 86 |
-
$allowed_html = array(
|
| 87 |
-
'br' => array(),
|
| 88 |
-
'em' => array(),
|
| 89 |
-
'strong' => array(),
|
| 90 |
-
'b' => array(),
|
| 91 |
-
'i' => array(),
|
| 92 |
-
);
|
| 93 |
$hestia_features_content = json_decode( $hestia_features_content );
|
| 94 |
foreach ( $hestia_features_content as $features_item ) :
|
| 95 |
$icon = ! empty( $features_item->icon_value ) ? apply_filters( 'hestia_translate_single_string', $features_item->icon_value, 'Features section' ) : '';
|
|
@@ -119,7 +112,7 @@ function hestia_features_content( $hestia_features_content, $is_callback = false
|
|
| 119 |
</a>
|
| 120 |
<?php endif; ?>
|
| 121 |
<?php if ( ! empty( $text ) ) : ?>
|
| 122 |
-
<p><?php echo
|
| 123 |
<?php endif; ?>
|
| 124 |
</div>
|
| 125 |
</div>
|
| 83 |
<?php
|
| 84 |
}
|
| 85 |
if ( ! empty( $hestia_features_content ) ) :
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 86 |
$hestia_features_content = json_decode( $hestia_features_content );
|
| 87 |
foreach ( $hestia_features_content as $features_item ) :
|
| 88 |
$icon = ! empty( $features_item->icon_value ) ? apply_filters( 'hestia_translate_single_string', $features_item->icon_value, 'Features section' ) : '';
|
| 112 |
</a>
|
| 113 |
<?php endif; ?>
|
| 114 |
<?php if ( ! empty( $text ) ) : ?>
|
| 115 |
+
<p><?php echo wp_kses_post( html_entity_decode( $text ) ); ?></p>
|
| 116 |
<?php endif; ?>
|
| 117 |
</div>
|
| 118 |
</div>
|
inc/hestia/inc/sections/hestia-team-section.php
CHANGED
|
@@ -81,13 +81,6 @@ function hestia_team_content( $hestia_team_content, $is_callback = false ) {
|
|
| 81 |
} ?>
|
| 82 |
<?php
|
| 83 |
if ( ! empty( $hestia_team_content ) ) :
|
| 84 |
-
$allowed_html = array(
|
| 85 |
-
'br' => array(),
|
| 86 |
-
'em' => array(),
|
| 87 |
-
'strong' => array(),
|
| 88 |
-
'b' => array(),
|
| 89 |
-
'i' => array(),
|
| 90 |
-
);
|
| 91 |
$hestia_team_content = json_decode( $hestia_team_content );
|
| 92 |
|
| 93 |
if ( empty( $hestia_team_content ) ) {
|
|
@@ -126,7 +119,7 @@ function hestia_team_content( $hestia_team_content, $is_callback = false ) {
|
|
| 126 |
<h6 class="category text-muted"><?php echo esc_html( $subtitle ); ?></h6>
|
| 127 |
<?php endif; ?>
|
| 128 |
<?php if ( ! empty( $text ) ) : ?>
|
| 129 |
-
<p class="card-description"><?php echo
|
| 130 |
<?php endif; ?>
|
| 131 |
<?php
|
| 132 |
if ( ! empty( $team_item->social_repeater ) ) :
|
| 81 |
} ?>
|
| 82 |
<?php
|
| 83 |
if ( ! empty( $hestia_team_content ) ) :
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
$hestia_team_content = json_decode( $hestia_team_content );
|
| 85 |
|
| 86 |
if ( empty( $hestia_team_content ) ) {
|
| 119 |
<h6 class="category text-muted"><?php echo esc_html( $subtitle ); ?></h6>
|
| 120 |
<?php endif; ?>
|
| 121 |
<?php if ( ! empty( $text ) ) : ?>
|
| 122 |
+
<p class="card-description"><?php echo wp_kses_post( html_entity_decode( $text ) ); ?></p>
|
| 123 |
<?php endif; ?>
|
| 124 |
<?php
|
| 125 |
if ( ! empty( $team_item->social_repeater ) ) :
|
inc/hestia/inc/sections/hestia-testimonials-section.php
CHANGED
|
@@ -67,13 +67,6 @@ function hestia_testimonials_content( $hestia_testimonials_content, $is_callback
|
|
| 67 |
<?php
|
| 68 |
}
|
| 69 |
if ( ! empty( $hestia_testimonials_content ) ) :
|
| 70 |
-
$allowed_html = array(
|
| 71 |
-
'br' => array(),
|
| 72 |
-
'em' => array(),
|
| 73 |
-
'strong' => array(),
|
| 74 |
-
'b' => array(),
|
| 75 |
-
'i' => array(),
|
| 76 |
-
);
|
| 77 |
$hestia_testimonials_content = json_decode( $hestia_testimonials_content );
|
| 78 |
foreach ( $hestia_testimonials_content as $testimonial_item ) :
|
| 79 |
$image = ! empty( $testimonial_item->image_url ) ? apply_filters( 'hestia_translate_single_string', $testimonial_item->image_url, 'Testimonials section' ) : '';
|
|
@@ -104,7 +97,7 @@ function hestia_testimonials_content( $hestia_testimonials_content, $is_callback
|
|
| 104 |
<h6 class="category text-muted"><?php echo esc_html( $subtitle ); ?></h6>
|
| 105 |
<?php endif; ?>
|
| 106 |
<?php if ( ! empty( $text ) ) : ?>
|
| 107 |
-
<p class="card-description"><?php echo
|
| 108 |
<?php endif; ?>
|
| 109 |
</div>
|
| 110 |
</div>
|
| 67 |
<?php
|
| 68 |
}
|
| 69 |
if ( ! empty( $hestia_testimonials_content ) ) :
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 70 |
$hestia_testimonials_content = json_decode( $hestia_testimonials_content );
|
| 71 |
foreach ( $hestia_testimonials_content as $testimonial_item ) :
|
| 72 |
$image = ! empty( $testimonial_item->image_url ) ? apply_filters( 'hestia_translate_single_string', $testimonial_item->image_url, 'Testimonials section' ) : '';
|
| 97 |
<h6 class="category text-muted"><?php echo esc_html( $subtitle ); ?></h6>
|
| 98 |
<?php endif; ?>
|
| 99 |
<?php if ( ! empty( $text ) ) : ?>
|
| 100 |
+
<p class="card-description"><?php echo wp_kses_post( html_entity_decode( $text ) ); ?></p>
|
| 101 |
<?php endif; ?>
|
| 102 |
</div>
|
| 103 |
</div>
|
themeisle-companion.php
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
* Plugin Name: ThemeIsle Companion
|
| 4 |
* Plugin URI: https://github.com/Codeinwp/themeisle-companion
|
| 5 |
* Description: Enhances ThemeIsle's themes with extra functionalities.
|
| 6 |
-
* Version: 1.0.
|
| 7 |
* Author: Themeisle
|
| 8 |
* Author URI: http://themeisle.com
|
| 9 |
* Text Domain: themeisle-companion
|
|
@@ -12,7 +12,7 @@
|
|
| 12 |
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
| 13 |
*/
|
| 14 |
|
| 15 |
-
define( 'THEMEISLE_COMPANION_VERSION', '1.0.
|
| 16 |
define( 'THEMEISLE_COMPANION_PATH', plugin_dir_path( __FILE__ ) );
|
| 17 |
define( 'THEMEISLE_COMPANION_URL', plugin_dir_url( __FILE__ ) );
|
| 18 |
|
| 3 |
* Plugin Name: ThemeIsle Companion
|
| 4 |
* Plugin URI: https://github.com/Codeinwp/themeisle-companion
|
| 5 |
* Description: Enhances ThemeIsle's themes with extra functionalities.
|
| 6 |
+
* Version: 1.0.5
|
| 7 |
* Author: Themeisle
|
| 8 |
* Author URI: http://themeisle.com
|
| 9 |
* Text Domain: themeisle-companion
|
| 12 |
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
| 13 |
*/
|
| 14 |
|
| 15 |
+
define( 'THEMEISLE_COMPANION_VERSION', '1.0.5' );
|
| 16 |
define( 'THEMEISLE_COMPANION_PATH', plugin_dir_path( __FILE__ ) );
|
| 17 |
define( 'THEMEISLE_COMPANION_URL', plugin_dir_url( __FILE__ ) );
|
| 18 |
|
