Get WPFTS Pro today with 25% discount!

[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:

    1. Open your functions.php file of the Avada theme (or Avada child theme)

    2. 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();
    }
    
    1. Save the functions.php file.

    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 🙂

    wpfts-addon-avada-theme.zip

Suggested Topics

Be the first to read the news!

We are always improving our products, adding new functions and fixes. Subscribe now to be the first to get the updates and stay informed about our sales! We are not spammy. Seriously.

Join Us Now!

We are a professional IT-team. Many of us have been working in a Web IT field for more than 10 years. Our advanced experience of software development has been employed in the creation of the WordPress FullText Search plugin. All solutions implemented into the plugin have been used for 5 or more years in over 60 different web-projects.

We are looking forward to your comments, requests and suggestions in relation to the current plugin and future updates.

ewm-logo-450

The forum powered by NodeBB | Contributors