我使用ACF Pro和Elementor插件在Wordpress上构建我的网页, 但是当我将ACF字段添加到任何Wordpress Widget时, Elemntor无法渲染ACF字段并在elementor Live Editor上显示它。 。 。我怎样才能解决这个问题 ?
#1
通过添加以下内容在Elementor中显示ACF字段:
do_action_ref_array( 'in_widget_form', array( &$instance, null, $this->get_settings( 'wp' ) ) );
就在$ instance-> form()之后:
elementor / includes / widgets / wordpress.php
$instance->form( $this->get_settings( 'wp' ) );
来源:
https://www.srcmini02.com/64745.html
微信公众号
手机浏览(小程序)
Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(): Failed to enable crypto in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_37396.jpg): failed to open stream: operation failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57