Amirhosein Duzandeh
Amirhosein Duzandeh

Reputation: 53

Advanced Custom Fields (ACF) Widget fields not rendering in Elementor Wordpress Plugin

i work with ACF Pro and Elementor Plugin to Build My Web Page On Wordpress but when i add ACF Field to any Wordpress Widget Elemntor Can not Rendering The ACF Field And Show it on elementor Live Editor. . . how can i fix this ?

Upvotes: 2

Views: 2531

Answers (1)

Vasim Shaikh
Vasim Shaikh

Reputation: 4512

show ACF fields in Elementor by adding:

do_action_ref_array( 'in_widget_form', array( &$instance, null, $this->get_settings( 'wp' )  ) );

right after $instance->form() in:

elementor/includes/widgets/wordpress.php

$instance->form( $this->get_settings( 'wp' ) ); 

Upvotes: 1

Related Questions