Home>Support>SiteOrigin Page Builder within Coming Soon Plugin Editor

SiteOrigin Page Builder within Coming Soon Plugin Editor

Hello

I really love SiteOrigin and use it all the time, so thank you for existing, just wanted to add this.

I created a page that I’d like to use within a coming soon plugin editor but both in WP Maintenance and SeedProd Coming Soon editors the PageBuilder tab does not appear next to the Visual and Text tabs. I’ve tried to copy paste the code from the page when reverted back to text, as well as the entirety of the source code of the page when that didn’t work, but that also didn’t work and comes up mostly broken etc, presumably because the stylesheet isn’t linked.

How do I make this work? Either
1. How do I add the PageBuilder tab to an editor which doesn’t include it? Presumably in the php file of the plugin, but what exactly?
or
2. What code should I add to the source code to make sure that the SiteOrigin stylesheet is included when the code is inserted into a text editor which doesn’t inherently refer to the SiteOrigin css?
or
3. Is there an even easier way to make a single page, using site origin, work as a coming soon/ maintenance page?

Thank you so much in advance!
Regards

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

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

    Hi Lira,

    1. If the Page Builder tab doesn’t automatically appear alongside the editor, you’ll need to recreate the editor using PHP. This isn’t something we can directly assist with and due to how technically involved it is, we would not recommend attempting it unless you’re very familiar with PHP. Regrettably, we also don’t have a guide for this written up at this time so we’re unable to do more than point you to places where we did this.

    I would recommend looking over the…

    SiteOrigin Page Builder Page Builder metabox template

    Builder form field code

    Layout Builder widget < This will likely give you the most insight

    This will require that you edit the plugin itself as there's no way to extend the edit without modifying the code itself.
    I honestly wouldn't recommend doing this as it'll require a very large amount of modifications to the coming soon plugin you're using – this will completely prevent you from updating the plugin again.

    2. You can use the following PHP to render the field on the frontend:

    $post_id = get_the_ID();
    if ( class_exists( 'SiteOrigin_Panels' ) && get_post_meta( $post_id, 'panels_data', true ) ) {
    	echo SiteOrigin_Panels::renderer()->render( $post_id );
    } else {
    	echo apply_filters( 'the_content', get_post( $post_id )->post_content );
    }
    

    3. I would embed page builder using something like amr shortcode any widget.

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