Created
December 21, 2016 16:07
-
-
Save SeanChDavis/6330f051d83ff6f1a7e9d193725cc1dd to your computer and use it in GitHub Desktop.
Vendd Remove Post Excerpt Ellipses
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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' ) ) . ' →</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