Error with team modal window and elementor loops
-
When I use a team widget inside a loop, all widgets has de same data-id, so, de modal window for each is created with the same id, and only show the first window.
My solution/hack, is to override the function get_id() inside ElementsKit_Widget_Team class.In the widget, I’ve set ID_css with post id value, and the function:
public function get_id() {
$settings = $this->get_settings_for_display();
return parent::get_id().$settings[‘_element_id’];
}I hope you can considerer this solution, or a new one, in other to fix this bug.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Error with team modal window and elementor loops’ is closed to new replies.