How to display template on backend

Hi guys,

I am trying to display some templates with shortcode on backend but I am getting this warning messages and no styling

Warning: Undefined array key "preview_or_post_id" in ../themes/bricks/includes/frontend.php on line 534

Warning: Undefined array key "preview_or_post_id" in ../themes/bricks/includes/elements/base.php on line 2021

probably I am missing something.

I am using this:

echo do_shortcode('[bricks_template id="2633"]');

Thank you in advance

@MartinWB I am trying to do the same things, render bricks template on a admin dashboard page, and I am getting the same errors.
Did you find a solution?

Yeah, I’m interested in doing this as well. Did either of you @MartinWB @Sandro get this working for yourself?

You can only add my custom css to backend.
I can’t find any other way either.

function custom_admin_styles() {
    echo '<style>
        /* add your css style */
        .wp-admin #wpwrap {
            background-color: #f1f1f1;
add_action('admin_head', 'custom_admin_styles');

Find a new way record.
Use iframe you have full css loading.

add_action('admin_menu', 'add_my_custom_page');

function add_my_custom_page() {
        'New Page',
        'New Page', 

function my_custom_page_content() {
    echo '<iframe src="YourURL" width="100%" height="600px"></iframe>';