Creating a Landing Page Template in Genesis

Today we will learn how to create a landing page template in Genesis framework. In my example I will remove the headers, navigation and sidebars.

 Template Name: Landing Page w/o headers F/W

/** Remove Header */
remove_action( 'genesis_header', 'genesis_do_header' );
/** Remove primary nav menu */
remove_action( 'genesis_after_header', 'genesis_do_nav' );
/** Remove secondary nav menu */
remove_action( 'genesis_after_header', 'genesis_do_subnav' );
/** Make the Page Full Width */
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );
/** Do the Magic */

I hope you enjoyed!

Get A Quote

Sign Up To Get The Latest Digital Trends

Our Newsletter