[Solved] Avada theme excerpt do not show
-
IMPORTANT: If you're using Avada Theme 7.0+, please check the next message.
There is a small incompatibility of WPFTS Pro with the popular Avada Theme. This theme is using custom excerpt processing, which does not intend to show an excerpt of the attachment file when you search files by content. Also, this theme will not show the Smart Excerpts output.
Likely, the theme authors allow us to redefine the theme "content shortener" function by ours, which makes it possible to create a small fix without the need to patch the main theme files.
Please follow these steps:
-
Open your
functions.phpfile of the Avada theme (or Avada child theme) -
Put this code to the beginning of the file
function fusion_get_post_content_excerpt( $limit = 285, $strip_html, $page_id = '' ) { ob_start(); the_excerpt(); return ob_get_clean(); }- Save the
functions.phpfile.
It should fix the issue with Smart Excerpts. Now you will see WPFTS Pro's excerpts with Google-like markup and even attachment file contents.
Have fun!
-
-
There is a simpler way for fix the Avada Theme search results issue in case you're using Avada Theme 7.0+.
In this version the authors enabled to override the output of search results by the hook. So using the simple addon become possible.
Just download it and install. And enjoy the Smart Excerpts

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