Products
GG网络技术分享 2025-03-18 16:12 2
I am trying to mimic something similar to Visual Composer/WPBakery by creating a custom page builder in WordPress. I am not sure how VC manages to take over the default WordPress editor. Is it possible to completely replace this editor like what VC seems to be doing or are they just adding to the editor and making it seem like it is different. I have tried reviewing the source code but am no expert in PHP and it\'s hard for me to understand how they are doing it. I would like to create my own custom post type and have the custom editor only apply to my custom post type. Any help/advice would be appreciated!
图片转代码服务由CSDN问答提供
感谢您的意见,我们尽快改进~
功能建议我试图通过在WordPress中创建自定义页面构建器来模仿类似于Visual Composer / WPBakery的内容。 我不确定VC如何设法接管默认的WordPress编辑器。 是否有可能像VC似乎正在做的那样完全取代这个编辑器,或者只是添加到编辑器中并使它看起来有所不同。 我已经尝试过查看源代码,但我不是PHP专家,我很难理解他们是如何做到这一点的。 我想创建自己的自定义帖子类型,并让自定义编辑器仅适用于我的自定义帖子类型。 任何帮助/建议将不胜感激!</ p>
</ div>
I found that this is completely possible through page templates. David, the author of this article provides an awesome solution of how to accomplish this.
Demand feedback