Skip to content

Instantly share code, notes, and snippets.

@SeanTOSCD
Created July 17, 2017 21:09
Show Gist options
  • Save SeanTOSCD/b66f342f8286882b23dcf4a24b6768be to your computer and use it in GitHub Desktop.
Save SeanTOSCD/b66f342f8286882b23dcf4a24b6768be to your computer and use it in GitHub Desktop.
EDD remove downloads shortcode excerpt ellipses
Find this line (twice)
<?php echo apply_filters( 'edd_downloads_excerpt', wp_trim_words( get_post_field( 'post_excerpt', get_the_ID() ), $excerpt_length ) ); ?>
Replace it with this line (again, twice)
<?php echo apply_filters( 'edd_downloads_excerpt', wp_trim_words( get_post_field( 'post_excerpt', get_the_ID() ), $excerpt_length, '' ) ); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment