Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion inc/class-header-footer-elementor.php
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ public function render_template( $atts ) {
'hfe_template'
);

$id = ! empty( $atts['id'] ) ? intval( $atts['id'] ) : '';
$id = ! empty( $atts['id'] ) ? apply_filters( 'hfe_render_template_id', intval( $atts['id'] ) ) : '';

if ( empty( $id ) ) {
return '';
Expand Down
1 change: 1 addition & 0 deletions inc/compatibility/class-hfe-wpml-compatibility.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public static function instance() {
private function __construct() {
add_filter( 'hfe_get_settings_type_header', array( $this, 'get_wpml_object' ) );
add_filter( 'hfe_get_settings_type_footer', array( $this, 'get_wpml_object' ) );
add_filter( 'hfe_render_template_id', array( $this, 'get_wpml_object' ) );
}

/**
Expand Down
3 changes: 3 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ If the above is nnot possible, You can also add support for the plugin from your

== Changelog ==

= Unreleased
- Fix: WPML Translations do not work when using the Elementor Template as a shortcode.

= 1.1.2 =
- Fix: Depracated function warning from Elementor's method `\Elementor\Post_CSS_File`

Expand Down