Skip to content

Instantly share code, notes, and snippets.

Created December 29, 2017 05:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/5818724ab6f3c9b559477f2649a5dd04 to your computer and use it in GitHub Desktop.
Save anonymous/5818724ab6f3c9b559477f2649a5dd04 to your computer and use it in GitHub Desktop.
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