• Resolved franklnx

    (@franklnx)


    Hello,
    I need to include a small Beaver Builder layout under the header and before the main content. So I created a page with Beaver (slug is “extraheader”) and used (as usual) the shortcode in the header of my child GP theme:

    <?php echo do_shortcode( '[fl_builder_insert_layout slug="extraheader"]' );?>

    Unfortunately when the layout is rendered outside the main content it only shows plain unformatted text. Many of the required styles are missing.

    Maybe I’m doing something wrong… can you help me?

    Best Regards,

Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Beaver Builder shortcodes in a PHP file (outside the post editor)’ is closed to new replies.