Version Description
- 23.02.2019 =
- Fixed: Footer not showing up on 404 page when using Divi Templates.
Download this release
Release Info
Developer | divisupreme |
Plugin | Supreme Modules Lite – Divi Theme, Extra Theme and Divi Builder |
Version | 1.4.5 |
Comparing to | |
See all releases |
Code changes from version 1.4.4 to 1.4.5
- includes/SupremeModulesLoader.php +3 -8
- readme.txt +4 -1
- supreme-modules-for-divi.php +2 -2
includes/SupremeModulesLoader.php
CHANGED
@@ -222,7 +222,6 @@ if ( !function_exists('dsm_wpcf7_submit_form_tag_handler') ) {
|
|
222 |
|
223 |
$atts = wpcf7_format_atts( $atts );
|
224 |
|
225 |
-
// $html = sprintf( '<input %1$s />', $atts );
|
226 |
$html = '<button ' . $atts . '>' . esc_attr( $value ) . '</button>';
|
227 |
|
228 |
return $html;
|
@@ -596,20 +595,14 @@ if ( dsm_setting_get_option( 'dsm_use_header_footer', 'dsm_general' ) == 'on' )
|
|
596 |
$footer_template_css_output = '';
|
597 |
}
|
598 |
|
599 |
-
|
600 |
if ( !et_core_is_fb_enabled() ) {
|
601 |
-
|
602 |
-
return;
|
603 |
-
} else {
|
604 |
-
echo '<footer id="dsm-footer" class="dsm-footer ' . $footer_template_css_output . '" itemscope="itemscope" itemtype="https://schema.org/WPFooter">' . $footer_template_shortcode . '</footer>';
|
605 |
-
}
|
606 |
}
|
607 |
}
|
608 |
}
|
609 |
|
610 |
add_action('et_after_main_content', 'dsm_custom_footer');
|
611 |
|
612 |
-
add_action( 'template_redirect', 'dsm_redirect_404' );
|
613 |
if ( ! function_exists( 'dsm_redirect_404' ) ) :
|
614 |
function dsm_redirect_404() {
|
615 |
$dsm_four_zero_four_args = array(
|
@@ -640,6 +633,8 @@ if ( dsm_setting_get_option( 'dsm_use_header_footer', 'dsm_general' ) == 'on' )
|
|
640 |
}
|
641 |
endif;
|
642 |
|
|
|
|
|
643 |
function dsm_custom_footer_settings() {
|
644 |
$footer_args = array(
|
645 |
'post_type' => 'dsm_header_footer',
|
222 |
|
223 |
$atts = wpcf7_format_atts( $atts );
|
224 |
|
|
|
225 |
$html = '<button ' . $atts . '>' . esc_attr( $value ) . '</button>';
|
226 |
|
227 |
return $html;
|
595 |
$footer_template_css_output = '';
|
596 |
}
|
597 |
|
|
|
598 |
if ( !et_core_is_fb_enabled() ) {
|
599 |
+
echo '<footer id="dsm-footer" class="dsm-footer ' . $footer_template_css_output . '" itemscope="itemscope" itemtype="https://schema.org/WPFooter">' . $footer_template_shortcode . '</footer>';
|
|
|
|
|
|
|
|
|
600 |
}
|
601 |
}
|
602 |
}
|
603 |
|
604 |
add_action('et_after_main_content', 'dsm_custom_footer');
|
605 |
|
|
|
606 |
if ( ! function_exists( 'dsm_redirect_404' ) ) :
|
607 |
function dsm_redirect_404() {
|
608 |
$dsm_four_zero_four_args = array(
|
633 |
}
|
634 |
endif;
|
635 |
|
636 |
+
add_action( 'template_redirect', 'dsm_redirect_404' );
|
637 |
+
|
638 |
function dsm_custom_footer_settings() {
|
639 |
$footer_args = array(
|
640 |
'post_type' => 'dsm_header_footer',
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Donate link: https://suprememodules.com/
|
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 5.1
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 1.4.
|
9 |
License: GPLv2
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -87,6 +87,9 @@ Divi Builder >= version 2.1
|
|
87 |
PHP version >= 5.6
|
88 |
|
89 |
== Changelog ==
|
|
|
|
|
|
|
90 |
= 1.4.4 - 20.02.2019 =
|
91 |
* Added: 404 option in Divi Templates.
|
92 |
* Renamed: Footer Template to Divi Templates.
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 5.1
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 1.4.5
|
9 |
License: GPLv2
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
87 |
PHP version >= 5.6
|
88 |
|
89 |
== Changelog ==
|
90 |
+
= 1.4.5 - 23.02.2019 =
|
91 |
+
* Fixed: Footer not showing up on 404 page when using Divi Templates.
|
92 |
+
|
93 |
= 1.4.4 - 20.02.2019 =
|
94 |
* Added: 404 option in Divi Templates.
|
95 |
* Renamed: Footer Template to Divi Templates.
|
supreme-modules-for-divi.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Divi Supreme Modules
|
4 |
Plugin URI: https://suprememodules.com
|
5 |
Description: Supreme Modules enhances the experience and features found on Divi and extend with custom creative modules to help you build amazing websites.
|
6 |
-
Version: 1.4.
|
7 |
Author: Supreme Modules
|
8 |
Author URI: https://suprememodules.com/about-us/
|
9 |
License: GPL2
|
@@ -36,7 +36,7 @@ if ( version_compare(PHP_VERSION, '5.6', '<') ) {
|
|
36 |
add_action( 'admin_notices', 'dsm_admin_notice__php_version_error' );
|
37 |
return;
|
38 |
} else {
|
39 |
-
define( 'DSM_VERSION', '1.4.
|
40 |
|
41 |
if ( ! function_exists( 'dsm_initialize_extension' ) ):
|
42 |
/**
|
3 |
Plugin Name: Divi Supreme Modules
|
4 |
Plugin URI: https://suprememodules.com
|
5 |
Description: Supreme Modules enhances the experience and features found on Divi and extend with custom creative modules to help you build amazing websites.
|
6 |
+
Version: 1.4.5
|
7 |
Author: Supreme Modules
|
8 |
Author URI: https://suprememodules.com/about-us/
|
9 |
License: GPL2
|
36 |
add_action( 'admin_notices', 'dsm_admin_notice__php_version_error' );
|
37 |
return;
|
38 |
} else {
|
39 |
+
define( 'DSM_VERSION', '1.4.5' );
|
40 |
|
41 |
if ( ! function_exists( 'dsm_initialize_extension' ) ):
|
42 |
/**
|