Server IP : 52.91.253.208 / Your IP : 18.119.103.204 [ Web Server : Apache System : Linux ip-172-26-9-9 4.19.0-25-cloud-amd64 #1 SMP Debian 4.19.289-1 (2023-07-24) x86_64 User : daemon ( 1) PHP Version : 7.3.18 Disable Function : NONE Domains : 3 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /opt/bitnami/apps/wordpress/htdocs/wp-content/tmp/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(); } // Display custom excerpt else { echo wp_trim_words( strip_shortcodes( $post->post_content ), $length ); } ?> </p> </div><!-- .search-entry-summary -->