This PHP code enables you to remove the site inner div from any Genesis child theme.
You can add the code directly to a template file like your front-page.php, home.php, page_blog.php, archive.php or any other template file which uses the WordPress Template Hierarchy.
Here’s the before and after shots:
Before with .site-inner
After without .site-inner
You can also add the code ‘as is’ to your functions file to remove the site inner from your entire site or in a custom function which enables you to conditionally remove site inner using conditional tags and query arguments.
This code enables you to create a full width template.
Here’s the code for logged in members:
Leave a Reply