Created
December 29, 2017 05:42
-
-
Save anonymous/5818724ab6f3c9b559477f2649a5dd04 to your computer and use it in GitHub Desktop.
This file contains 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
function magazine_plus_pro_child_custom_excerpt_more( $more ) { | |
return '[.....]'; | |
} | |
add_filter( 'excerpt_more', 'magazine_plus_pro_child_custom_excerpt_more' ); | |
function magazine_plus_pro_child_custom_excerpt_length( $length ) { | |
return 5; | |
} | |
add_filter( 'excerpt_length', 'magazine_plus_pro_child_custom_excerpt_length', 999 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment