| Server IP : 173.209.174.21 / Your IP : 216.73.216.89 Web Server : Apache/2.4.58 (Ubuntu) System : Linux wcfs-server 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64 User : nodor ( 1000) 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/thelittlebigshow/wp-content/themes/kadence/template-parts/content/ |
Upload File : |
<?php
/**
* Template part for displaying a post's summary
*
* @package kadence
*/
namespace Kadence;
use function get_post_type;
use function the_content;
use function the_excerpt;
$slug = ( is_search() ? 'search' : get_post_type() );
$excerpt_element = kadence()->option( $slug . '_archive_element_excerpt' );
if ( isset( $excerpt_element ) && is_array( $excerpt_element ) && true === $excerpt_element['enabled'] ) {
?>
<div class="entry-summary">
<?php
if ( true === kadence()->sub_option( $slug . '_archive_element_excerpt', 'fullContent' ) ) {
global $more; $more = 0;
the_content(
sprintf(
wp_kses(
/* translators: %s: Name of current post. Only visible to screen readers */
__( 'Read More<span class="screen-reader-text"> "%s"</span>', 'kadence' ),
array(
'span' => array(
'class' => array(),
),
)
),
get_the_title()
)
);
} else {
the_excerpt();
}
?>
</div><!-- .entry-summary -->
<?php
}