Home>Support>How Can I use SiteOrigin inside my own custom plugin

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. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 5 years, 3 months ago Alex S
    Hi, I Work Here

    Hi 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.

  2. 5 years, 6 days ago Sudhir Pandey

    Can You please help me with some example how can I implement with javascript and widgets in our textarea

  3. 5 years, 4 days ago Alex S
    Hi, I Work Here

    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.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More