Support » Plugin: Reusable Text Blocks » internal server error when used with siteorigin pagebuilder

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter smollern

    (@smollern)

    not a fix though.

    If used with origin pagebuilder it renders the content but strips all paragraphs <p>.

    If used without pagebuilder it renders the content of nested textblocks like this example:

    [su_tabs] [su_tab title=”Fra 01-07-2015″] [text-blocks id=”lejeloven-75-fra-01-07-2015″] [/su_tab] [su_tab title=”Lov nr. 310 af 30-03-2015″] [text-blocks id=”lejeloven-75-lov-310-af-30-03-2015″] [/su_tab] [su_tab title=”Til 30-06-2015″] [text-blocks id=”lejeloven-75-til-30-06-2015″] [/su_tab][su_tabs]

    The above nested textblocks are rendered correct if I revert to the original code – however then I can’t use it with site origin any longer.

    I’m missing something here – is there a solution? Thanks.

    I had the same conflict between my Modal -Portfolio module Page Builder.

    This is the alternative that works:
    wpautop(get_post_field(‘post_content’, $post->id));
    (It should perhaps change $post->id depending on your configuration)

    The cause of this conflict is simple : it is not possible to use another apply_filters apply_filters (already used by Page Builder).

    As apply_filters() function uses the wpautop() function to add line breaks, just use this function to solve the problem. 🙂

    Note: I’m French, sorry for my bad English …

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘internal server error when used with siteorigin pagebuilder’ is closed to new replies.