Server IP : 15.235.198.142 / Your IP : 216.73.216.75 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/yme/wp-content/themes/oceanwp/partials/search/ |
Upload File : |
<?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(); } else { // Display custom excerpt. echo wp_kses_post( wp_trim_words( strip_shortcodes( $post->post_content ), $length ) ); } ?> </p> </div><!-- .search-entry-summary -->