Skip to content

Instantly share code, notes, and snippets.

@bigdigital
Created September 5, 2017 11:50
Show Gist options
  • Save bigdigital/8b7f1c8bda587aed3a4efcd3fa4fb827 to your computer and use it in GitHub Desktop.
Save bigdigital/8b7f1c8bda587aed3a4efcd3fa4fb827 to your computer and use it in GitHub Desktop.
The7 remove links from portfolio
function my_dt_portfolio_thumbnail_args($thumb_args){
$thumb_args['wrap'] = '<div %CLASS% %TITLE% %CUSTOM%><img %IMG_CLASS% %SRC% %ALT% %SIZE% /></div>';
return $thumb_args;
}
add_filter( 'dt_portfolio_thumbnail_args', 'my_dt_portfolio_thumbnail_args', 30 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment