Skip to content

Instantly share code, notes, and snippets.

Created November 15, 2017 18:27
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
WordPress Plugin to Suppress Skimlinks Output
function skim_suppress( $paras = '', $content = '' ) {
return '<div class="noskim">'. do_shortcode( $content ) . '</div>';
add_shortcode( 'noskim', 'skim_suppress' );
Copy link

dartiss commented Nov 15, 2017

Add this code to your theme's functions.php and then wrap the shortcodes tags [noskim][/noskim] around any text, where you don't wish Skimlinks output to be added.

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