Need your shortcodes to render when displaying post excerpts? This snippet does just that, regardless of whether the excerpt is manually set or automatically generated. First, we need to unregister a WordPress core filter and register our own slightly modified version. Add the following lines of code to your plugin file or functions.php file. remove_filter(’get_the_excerpt’, [...]
