【问题标题】:WordPress Elementor API: render widget in custom php pageWordPress Elementor API:在自定义 php 页面中呈现小部件
【发布时间】:2022-10-13 11:47:39
【问题描述】:

我创建了一个自定义 woocommerce 产品页面(不是使用 Elementor)。我想知道是否可以在不使用 Elementor 编辑器的情况下以编程方式在此自定义页面中呈现 Elementor 小部件。

【问题讨论】:

    标签: wordpress woocommerce elementor


    【解决方案1】:

    是的,你可以 - 这是如何:

    • 安装“Anywhere Elementor”插件
    • 使用 Elementor 构建您的小部件
    • 获取您的模板 php 简码
    • 编辑您的自定义 woocommerce 产品 php 模板以回显小部件
    • 如果您需要更详细的指南,我有类似的一步一步 指导视频here

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-11-23
      • 2021-12-02
      • 1970-01-01
      • 2020-08-11
      • 1970-01-01
      • 2021-11-18
      • 2011-08-30
      • 1970-01-01
      相关资源
      最近更新 更多