bootstrap4-genesis
bootstrap4-genesis copied to clipboard
Blank custom page
Hello, first thank you for the good job you do, I found your template looking to embed Bootstrap 4 in Genesis.
Working with the Beaver Builder plugin, I need to create a totally blank page to create the designs there.
I add this code in custom-page.php but it doesn't work, there is a white frame on the edges
<?php
//* Remove site header elements
remove_action( 'genesis_header', 'genesis_header_markup_open', 5 );
remove_action( 'genesis_header', 'genesis_do_header' );
remove_action( 'genesis_header', 'genesis_header_markup_close', 15 );
//* Remove navigation
remove_theme_support( 'genesis-menus' );
//* Remove breadcrumbs
remove_action( 'genesis_before_loop', 'genesis_do_breadcrumbs' );
//* Remove site footer widgets
remove_theme_support( 'genesis-footer-widgets' );
//* Remove site footer elements
remove_action( 'genesis_footer', 'genesis_footer_markup_open', 5 );
remove_action( 'genesis_footer', 'genesis_do_footer' );
remove_action( 'genesis_footer', 'genesis_footer_markup_close', 15 );
//* Remove the edit link
add_filter ( 'genesis_edit_post_link' , '__return_false' );
genesis();
Thanks for your support