Navigation

    WPFTS Pro Main Site

    WPFTS Community Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    Get WPFTS Pro today with 25% discount!
    1. Home
    2. Recipes and Known Solutions
    3. [Solved] Avada theme excerpt do not show

    [Solved] Avada theme excerpt do not show

    Recipes and Known Solutions
    avada theme excerpt
    1
    1
    701
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • EpsilonAdmin
      EpsilonAdmin last edited by EpsilonAdmin

      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!

      https://e-wm.org

      1 Reply Last reply Reply Quote 0
      • First post
        Last post

      Suggested Topics

      • EpsilonAdmin

        [Solved] Incompatibility with Flatbase theme
        Recipes and Known Solutions • flatbase excerpt theme • • EpsilonAdmin

        1
        0
        Votes
        1
        Posts
        341
        Views

        No one has replied

      • EpsilonAdmin

        [Solved] Indexing and Search files by content in BuddyDrive
        Recipes and Known Solutions • buddydrive file search • • EpsilonAdmin

        1
        0
        Votes
        1
        Posts
        309
        Views

        No one has replied

      • EpsilonAdmin

        [Solved] Files not shown in TemplateToaster theme search results
        Recipes and Known Solutions • templatetoaster theme search • • EpsilonAdmin

        1
        0
        Votes
        1
        Posts
        274
        Views

        No one has replied

      • EpsilonAdmin

        [Solved] No excerpts shown in search results in Storefront theme
        Recipes and Known Solutions • storefront theme excerpt fix • • EpsilonAdmin

        1
        0
        Votes
        1
        Posts
        291
        Views

        No one has replied

      • EpsilonAdmin

        [Solved] Polylang limits search by language taxonomy
        Recipes and Known Solutions • fix patch polylang search taxonomy • • EpsilonAdmin

        1
        0
        Votes
        1
        Posts
        294
        Views

        No one has replied

      Additional Resources

      • My Account
      • Buy WPFTS Pro
      • Community Forum
      • Affiliate Program
      • Privacy Policy
      • Terms & Conditions
      • Contact Us
      • Coupon Partner

      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