How Can I use SiteOrigin inside my own custom plugin
I have create my own plugin and in form I have used following code.
$settings = array(‘editor_class’ => ‘wp-editor-area siteorigin-panels-data-field required’,’textarea_name’=>’description’);
$description = (isset($resultRows->description))?$resultRows->description:”;
wp_editor($description, ‘description’, $settings);
How can I used SiteOrigin page builder inside my own plugin. Without custom post_type. I have create wordpress admin pages
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Replies
3Hi Sudhir,
Unfortunately, this is quite complicated to do and we don’t have any direct guides for this written at this time due to the complex nature of the topic. I recommend replicating the method used by the SiteOrigin Widgets Bundle Builder Form Field to allow for this. The SiteOrigin Builder Form field enables the Page Builder via this JavaScript so if you’re okay with your plugin depending on the SiteOrigin Widgets Bundle you can rely on that JavaScript, or you can replicate that JavaScript in your codebase.
Can You please help me with some example how can I implement with javascript and widgets in our textarea
Hi Sudhir,
Unfortunately, that’s outside of the scope of support we’re able to provide on our forums. I recommend taking a look over the links in my previous post as each link is an example of how to implement SiteOrigin Page Builder.
Replies on this thread are closed.
Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.