HEX
Server: Apache
System: Linux webm005.cluster114.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: epubdjye (129326)
PHP: 8.5.7
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/epubdjye/www17/wp-content/themes/oceanwp/partials/search/content.php
<?php
/**
 * Search result page entry content
 *
 * @package OceanWP WordPress theme
 */

// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

global $post;

// Excerpt length
$length = apply_filters( 'ocean_search_results_excerpt_length', '30' ); ?>

<div class="search-entry-summary clr"<?php oceanwp_schema_markup( 'entry_content' ); ?>>
    <p>
	    <?php
	    // Display excerpt
	    if ( has_excerpt( $post->ID ) ) {
		    the_excerpt();
		}

		// Display custom excerpt
		else {
		    echo wp_trim_words( strip_shortcodes( $post->post_content ), $length );
		} ?>
    </p>
</div><!-- .search-entry-summary -->