- This topic has 2 replies, 2 voices, and was last updated 6 years, 3 months ago by .
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
I am working on a site that was so badly hacked by some other developers and I am trying to setup a landing page but cant seem to find the right hook to remove the top sections. Any help would be appreciated.
A typical Studio Press landing page uses the following:
//* Force full width content layout add_filter( 'genesis_site_layout', '__genesis_return_full_width_content' ); //* 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_action( 'genesis_header', 'genesis_do_nav', 12 ); remove_action( 'genesis_header', 'genesis_do_subnav', 5 ); //* Remove breadcrumbs remove_action( 'genesis_before_loop', 'genesis_do_breadcrumbs' ); //* Remove site footer widgets remove_action( 'genesis_before_footer', 'genesis_footer_widget_areas' ); //* 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 );
© 2023 WPEngine, Inc.