<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[Solved] The files excerpt is not visible in Scientia Theme]]></title><description><![CDATA[<p dir="auto">The one small conflict we detected today with the relatively new Scientia Theme.</p>
<p dir="auto">This theme is great, but unfortunately it does not show file content excerpts in search results with WPFTS Pro which rather greatly reduces the user experience of the site.</p>
<p dir="auto">Fortunately, this is quite easy to fix. The reason is that the authors of this theme (Scientia Theme) decided to override the standard excerpt generation function, and it is the standard <code>the_excerpt</code> hook that our plugin intercepts to output clever quotes.</p>
<p dir="auto">Let's create our own function, which will declare itself a little earlier and prevent the theme from creating its own.</p>
<p dir="auto">Our function is very simple and looks like this</p>
<pre><code class="language-PHP">if ( ! function_exists( 'scientia_excerpt' ) ) {
	function scientia_excerpt( $str, $maxlength, $add = '&amp;hellip;' ) {
		ob_start();
		the_excerpt();
		return ob_get_clean();
	}
}
</code></pre>
<p dir="auto">This solution has been tested with Scientia Theme v1.0.2.</p>
<p dir="auto">Of course, you don't need to go into the code now and paste it in. You can just download our add-on, where this code is already there.</p>
<p dir="auto"><a href="https://fulltextsearch.org/wpfts-addon-scientia-theme-1.0.1.zip" rel="nofollow ugc">WPFTS Addon for Scientia Theme</a></p>
]]></description><link>https://fulltextsearch.org/forum/topic/145/solved-the-files-excerpt-is-not-visible-in-scientia-theme</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Jul 2026 03:51:21 GMT</lastBuildDate><atom:link href="https://fulltextsearch.org/forum/topic/145.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 07 Oct 2022 15:15:40 GMT</pubDate><ttl>60</ttl></channel></rss>