从字面上看,在网站上什么都不做之后,几天没有使用后,尝试登录时,会出现这样的错误:
Fatal error: Uncaught ReflectionException: Method get_site_editor_type does not exist in /usr/home/midas/domains/mydomain.com/public_html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php:45
Run Code Online (Sandbox Code Playgroud)
主题文档.php:
protected static function get_site_editor_type_bc() {
static $types = [];
$class_name = static::get_class_full_name();
$reflection = new \ReflectionClass( $class_name ); //45 line
$method = $reflection->getMethod( 'get_site_editor_type' );
// It's own method, use it.
if ( $class_name === $method->class ) {
return static::get_site_editor_type();
}
// _deprecated_function( 'get_name', '3.0.0', 'get_site_editor_type' );
// Fallback, get from class instance name (with caching).
if ( isset( $types[ $class_name ] ) ) {
return $types[ …
Run Code Online (Sandbox Code Playgroud) 我尝试激活已安装的插件,但收到此错误。我无法再次打开该网站。我重新启动计算机并加载本地主机 URL,得到以下相同的错误:
致命错误:未捕获错误:调用 C:\xampp\htdocs\university\wp-content\plugins\full-site-builder-for-elementor\extensions\google-maps\google-maps.php 中未定义的函数 create_function() :136 堆栈跟踪: #0 C:\xampp\htdocs\university\wp-content\plugins\full-site-builder-for-elementor\extensions\google-maps\google-maps.php(441): stylepress_dtbaker_Shortcode_Google_Map-> init() #1 C:\xampp\htdocs\university\wp-content\plugins\full-site-builder-for-elementor\inc\class.plugin.php(184): require_once('C:\xampp\htdocs ...') #2 C:\xampp\htdocs\university\wp-includes\class-wp-hook.php(307): DtbakerElementorManager->load_extensions('') #3 C:\xampp\htdocs\university\ wp-includes\class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #4 C:\xampp\htdocs\university\wp-includes\plugin.php(476): WP_Hook->do_action (数组) #5 C:\xampp\htdocs\university\wp-settings.php(598): do_action('init') #6 C:\xampp\htdocs\university\wp-config.php(96): require_once ('C:\xampp\htdocs...') #7 C:\xampp\htdocs\university\wp-load.php(50): require_once('C:\xampp\htdocs...') #8 C :\xampp\htdocs\university\wp-blog-header.php(13): require_once('C:\xampp\htdocs...') #9 C:\xampp\htdocs\university\index.php(17) : require('C:\xampp\htdocs...') #10 {main} 抛出在 C:\xampp\htdocs\university\wp-content\plugins\full-site-builder-for-elementor\extensions\google 中-maps\google-maps.php 第 136 行
我已经在谷歌中查看过,但没有找到任何结果......
请问,是否可以使用 React 或 Angular 创建 Elementor (Wordpress) 小部件?我需要创建一个组件,它将从 api 获取一些数据并动态渲染页面。我考虑过 Web 应用程序或 Iframe,但我不确定。
谢谢。
我想创建一个全局 Elementor 小部件,作为 foreach 循环的一部分进行调用。这些字段需要根据我传递给它的参数进行更改。
我想做的是从 PHP(插件)调用 Elementor 全局小部件,然后向其传递变量以填充标题、描述、图像位置等字段。
我知道如何传递变量,但我在任何地方都找不到如何调用全局 Elementor 小部件以及如何直接在 PHP 中操作字段。
我确实在另一个 Stackoverflow 问题上找到了一个类似的例子,如下所示,但它没有专门调用全局小部件。
如果可以调用全局小部件并允许我将值发送到如下所示的字段,则下面的示例将起作用。
function loadheader() {
$heading_widget = \Elementor\Plugin::instance()->elements_manager->create_element_instance(
[
'elType' => 'widget',
'widgetType' => 'call-to-action',
'id' => 'stubID',
'settings' => [
'title' => 'custom Heading from code',
'description' => 'custom description',
'button' => 'success!',
'image' => 'study-footer.jpg',
'skin' => 'classic',
],
],
[]
);
$heading_widget->print_element();
}
Run Code Online (Sandbox Code Playgroud) elementor pro中的邮件小部件不起作用。我已经安装了邮件发送测试插件,邮件已发送但未收到...
我尝试了许多其他插件,但仍然面临相同的问题。
我在我的WordPress网站上使用Elementor页面构建器.它有一个问题 - 默认情况下它不允许编辑WooCoomerce商店/产品页面.他们说的解决方案是添加页面模板代码.我是一个不知道编码的初学者,无法确定将该代码添加到哪个文件以及该文件中的位置.我一直在研究并试图解决这个问题两个星期,但是徒劳无功.请帮我实现这个目标.
以下是Elementor所说的:" 抱歉,您的页面中找不到内容区域.您必须在当前模板中调用the_content函数,以便Elementor在此页面上工作. "
链接: http: //up8.431.myftpupload.com/services/
我需要将上面页面上的部分变成可点击的按钮。我正在使用安装了 elementor 插件的 WordPress。
我已经添加了一些额外的 CSS 以使这些部分看起来可点击。我只需要添加实际的功能。我知道这是用 javascript 完成的。我还没有尝试添加任何 javascript 代码。我也有点犹豫,因为我认为我没有足够的技能和知识来正确地做到这一点。我不想开始到处添加代码。过去的经验告诉我这是一个坏主意。
我希望有elementor经验的人可以帮助我。这就是我陷入困境的地方:我在哪里添加 javascript?我没有地方可以添加 javascript,就像每个元素都有一个 CSS 部分一样。我应该将其添加到定制器中(外观 --> 定制 --> 定制 CSS/JS)吗?我应该获得一个自定义 JavaScript 插件吗?我已经为每个元素指定了一个自定义类。我可以将一些 JS 附加到这些类中。
编辑:再考虑一下。我不认为在定制器中添加 JS 是正确的方法。我认为我添加的任何 CSS/JS 都应该是顶栏、页眉和页脚专用的。我的理由是因为这些部分将以完全相同的方式在每个页面上显示。这让我可以选择获取 JS 插件。这是最好的方法吗?
完成我需要完成的任务的最佳方法是什么?我绝对没有能力理解 Elementor 开发人员文档。这对我来说太先进了。这就是我在这里问的原因。
提前谢谢
我正在开发一个 WordPress 网站。有几个部分是我用 Owl Carousel js 插件制作的。我正在使用适用于 WordPress 的 Elementor 页面构建器开发此网站。它在站点预览中工作正常,但在 Elementor 实时预览(在编辑模式下)中不显示。
请帮我提供解决方案。
谢谢。
我正在 WordPress 中使用 Elementor。我使用帖子小部件显示我的自定义帖子类型。我创建了一个 AJAX 过滤器,它还可以按不同的值过滤我的帖子 - 到目前为止,该过滤器有效。
现在我面临的问题是无法重新渲染 elementor post 小部件。为了在小部件中获取过滤结果,这是必需的,因为 elementor 默认情况下仅允许服务器站点过滤。
我正在使用自定义查询过滤器 ( https://developers.elementor.com/custom-query-filter/ ) 将过滤器结果推送到 elementor post 小部件中。
基本上我的问题是是否有一个 elementor 函数,我可以使用 ajax 调用它来重新渲染 elementor 小部件。
我正在使用 docker 在本地计算机上运行 Wordpress。当我想在我的 WordPress 网站上激活 Elementor Pro 时,出现此错误:
PHP script '/var/www/html/wp-content/plugins/elementor-pro/abzarwp/abzarwp.php' is protected by SourceGuardian and requires a SourceGuardian loader 'ixed.7.2.lin' to be installed.
1) Click here to download the required 'ixed.7.2.lin' loader from the SourceGuardian site
2) Install the loader to /usr/local/lib/php/extensions/no-debug-non-zts-20170718
3) Edit and add 'extension=ixed.7.2.lin' directive
4) Restart the web server
Run Code Online (Sandbox Code Playgroud)
我的docker-composer.yml
就像这里:
PHP script '/var/www/html/wp-content/plugins/elementor-pro/abzarwp/abzarwp.php' is protected by SourceGuardian and requires a SourceGuardian loader 'ixed.7.2.lin' to be installed.
1) Click here to download the …
Run Code Online (Sandbox Code Playgroud)