简体   繁体   English

如何制作一个可以将任何页面 Gutenberg 转换为 Elementor 和 Elementor 到 Gutenberg 的 Wordpress 插件

[英]How can I make a Wordpress plugin that can convert any page Gutenberg to Elementor and Elementor to Gutenberg

Sometimes, in Wordpress I need to transfer some pages from Elementor page builder to Gutenberg block.有时,在 Wordpress 中,我需要将一些页面从 Elementor 页面构建器转移到 Gutenberg 块。 Most of the time this task is very hard and we does not achieve the proper output.大多数情况下,这项任务非常艰巨,我们无法获得正确的输出。 I know, it won't be easy to do and maybe no one explain me the full process to make it.我知道,这并不容易,也许没有人向我解释制作它的完整过程。 If anyone give me just a hint for this idea that will help me a lot.如果有人给我这个想法的提示,那将对我有很大帮助。 Thank you!谢谢!

You can make a code generator for your plugin.您可以为您的插件制作代码生成器。 that takes some data from the user and provide control for him.从用户那里获取一些数据并为他提供控制。 maybe it could be a solution.也许这可能是一个解决方案。 But for complex widgets or blocks, you will fail to generate code for this.但是对于复杂的小部件或块,您将无法为此生成代码。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我如何在 JavaScript 中使用 PHP 函数(Gutenberg WordPress) - how can i use PHP functions (Gutenberg WordPress) inside JavaScript 如何在古腾堡中使用序列化数据? - How can I use serialized data in Gutenberg? 如何将 static gutenberg 块转换为使用 PHP 注册它的动态块? - How can I convert a static gutenberg block into a dynamic block registering it using PHP? 如何在Gutenberg的Inspector控件中添加条件控件字段? - How can I add conditional control field in Inspector controls of Gutenberg? 如何在 Elementor 中向弹出窗口添加单击事件? - How can I add a click event to popup in Elementor? 如何调试 Gutenberg wordpress 中的块? - How to debug blocks in Gutenberg wordpress? 如何在WordPress Gutenberg Editor Metabox上进行JavaScript验证 - How to make a JavaScript validation on WordPress Gutenberg Editor Metabox Wordpress - Gutenberg - 动态块 - 我可以完全避免 PHP 和 go 完整的 React 吗? - Wordpress - Gutenberg - dynamic blocks - Can I completey avoid PHP and go full React? 如何在没有 React 的情况下为 WordPress Gutenberg 创建 InnerBlocks 组件? - How do I create an InnerBlocks component for WordPress Gutenberg without React? 如何将 JavaScript 添加到 Wordpress Gutenberg 自定义块? - How do I add JavaScript to a Wordpress Gutenberg custom block?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM