Skip to content

Instantly share code, notes, and snippets.

@Komock
Created April 23, 2016 21:30
Show Gist options
  • Save Komock/476d2968a1910d01c35c7ec974c4bddb to your computer and use it in GitHub Desktop.
Save Komock/476d2968a1910d01c35c7ec974c4bddb to your computer and use it in GitHub Desktop.
Genesis remove .site-inner markup
<?php
//* Remove .site-inner
add_filter( 'genesis_markup_site-inner', '__return_null' );
add_filter( 'genesis_markup_content-sidebar-wrap_output', '__return_false' );
add_filter( 'genesis_markup_content', '__return_null' );
?>
@nirvanadev
Copy link

For me the second filter needed to be
add_filter( 'genesis_markup_content-sidebar-wrap', '__return_null' );

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment