Skip to content

Instantly share code, notes, and snippets.

@CreativeDive
Last active January 28, 2020 08:08
Show Gist options
  • Save CreativeDive/dfaaecc598fee29b2613767db102ddb1 to your computer and use it in GitHub Desktop.
Save CreativeDive/dfaaecc598fee29b2613767db102ddb1 to your computer and use it in GitHub Desktop.
Add a custom WordPress post excerpt suffix like "more" or "...".
if (!function_exists('wordpress_excerpt_more')):
function wordpress_excerpt_more($more) {
return ' ... ';
}
endif;
add_filter('excerpt_more', 'wordpress_excerpt_more');
@CreativeDive
Copy link
Author

Further explanation about how you can customize the WordPress post excerpt (DE Version)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment