[Solved] Does not show Smart Excerpt with Total Theme
-
Another try by the Total Theme developers to make their own "excerpt" generator hardly replaces the integrated native WP's
the_excerpt()method. This is a reason why we can't see Smart Excerpt output in search results when using Total Theme. (It matters for posts/pages and for search files by content too).How to fix that? Fortunately, the theme developers allowed us to redefine their generator with our own using hooks.
Please open your functions.php from the theme root and add this code to the beginning of the file.
add_filter('wpex_excerpt_output', function($output, $params) { ob_start(); the_excerpt(); return ob_get_clean(); }, 10, 2);It should help definitely. If you're not familiar with PHP coding and don't want to modify the theme code, you can download and install this addon plugin (which does the same).
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login