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.
Another option is to hook the code from your functions file using the is_front_page() conditional tag like this.
Leave a Reply
You must be logged in to post a comment.