Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Shows an example of the functions used to remove Views wrapper HTML
* Override the extra HTML that Views uses to wrap its output
remove_shortcode( 'wpv-layout-start' );
remove_shortcode( 'wpv-layout-end' );
add_shortcode( 'wpv-layout-start', array( $this, '__blank' ) );
add_shortcode( 'wpv-layout-end', array( $this, '__blank' ) );

This comment has been minimized.

Copy link

commented Aug 18, 2017

how does this work? I added this in function.php and wrapper-divs are disappeared, but I can see output as a Text "[wpv-layout-start] [wpv-layout-end]"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.