This PHP code removes the footer & footer markup from Genesis child themes.
All you need to do is create a new file named front-page.php and add the PHP code to the file in your child themes root directory.
Using the WordPress Template Hierarchy, your front-page.php template will only load on the front page therefore only remove the footer from this page.
Other Options
Another option is to hook the code from your functions file using the is_front_page() conditional tag like this.
Was This Tutorial Helpful?