HEX
Server: Apache
System: Linux server-634962.emtiyz.com 5.14.0-611.11.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Dec 3 09:47:37 EST 2025 x86_64
User: codo66ho (1003)
PHP: 8.2.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/codo66ho/public_html/ar/wp-content/themes/autodeal/tpl/entry-content/entry-content-body.php
<?php
/**
 * @package autodeal
 */

if ( is_single() ) {
    echo '<div class="post-content clearfix">';    
        the_content();
        wp_link_pages( array(
            'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'autodeal' ),
            'after'  => '</div>',
        ) );
    echo '</div>';

} else {
    echo '<div class="post-content post-excerpt clearfix">';
        if( strpos( get_the_content(), 'more-link' ) === false ) {
            add_filter( 'excerpt_more', 'themesflat_excerpt_not_more' );
            the_excerpt();     
        } else {
            add_filter( 'the_content_more_link', 'themesflat_excerpt_not_more' );
            the_content();
        }
        wp_link_pages( array(
            'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'autodeal' ),
            'after'  => '</div>',
        ) );
    echo '</div>';
}