Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blank custom page #59

Open
webma5ter23 opened this issue Jun 26, 2020 · 0 comments
Open

Blank custom page #59

webma5ter23 opened this issue Jun 26, 2020 · 0 comments

Comments

@webma5ter23
Copy link

webma5ter23 commented Jun 26, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant