Skip to content

Instantly share code, notes, and snippets.

@SeanChDavis
Created December 21, 2016 16:07
Show Gist options
  • Select an option

  • Save SeanChDavis/6330f051d83ff6f1a7e9d193725cc1dd to your computer and use it in GitHub Desktop.

Select an option

Save SeanChDavis/6330f051d83ff6f1a7e9d193725cc1dd to your computer and use it in GitHub Desktop.
Vendd Remove Post Excerpt Ellipses
<?php // DO NOT COPY THIS LINE
function custom_vendd_excerpt_more( $more ) {
return '</p><p class="continue-reading"><a class="more-link" href="' . get_permalink( get_the_ID() ) . '">' . get_theme_mod( 'vendd_read_more', __( 'Continue reading', 'vendd' ) ) . ' &rarr;</a></p>';
}
add_filter( 'excerpt_more', 'custom_vendd_excerpt_more', 99 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment