Skip to content

Instantly share code, notes, and snippets.

@zackkatz
Created February 4, 2020 20:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zackkatz/10821af20ba395edd21b055d01221242 to your computer and use it in GitHub Desktop.
Save zackkatz/10821af20ba395edd21b055d01221242 to your computer and use it in GitHub Desktop.
Remove GravityView DIY Layout Markup
<?php
// Remove wrapper HTML in Multiple Entries context
add_filter( 'gravityview-diy/wrap/multiple', '__return_false' );
// Remove .gv-diy-container container <div> for DIY
add_filter( 'gravityview-diy/container', '__return_empty_string' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment