https://t.me/RX1948
Server : nginx/1.24.0
System : Linux ip-172-31-33-48 6.14.0-1011-aws #11~24.04.1-Ubuntu SMP Fri Aug 1 02:07:25 UTC 2025 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
Directory :  /var/www/html/wp-content/themes/alera/template-parts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/html/wp-content/themes/alera/template-parts/content.php
<?php
/**
 * Template part for displaying posts
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package Alera
 */

?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>

    <?php if ( is_singular() ) : ?>

        <header class="post-header">
            <?php the_title( '<h1 class="post-title">', '</h1>' ); ?>
            <?php alera_post_meta(); ?>
        </header>

        <?php alera_post_thumbnail(); ?>

    <?php else : ?>

        <?php alera_post_thumbnail(); ?>

        <header class="post-header">
            <?php the_title( '<h2 class="post-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' ); ?>
            <?php alera_post_meta(); ?>
        </header>

    <?php endif; ?>

	<div class="post-content">
		<?php
            if (is_singular()) :
                the_content();
            else :
                the_excerpt();
            endif;

            wp_link_pages( array(
                'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'alera' ),
                'after'  => '</div>'
            ) );
		?>
	</div>

    <?php if ( ! is_singular() ) : ?>
        <a href="<?php echo esc_url( get_permalink() ); ?>" class="button button-bordered"><?php echo esc_html__( 'Read More', 'alera' ); ?></a>
    <?php endif; ?>

</article>

https://t.me/RX1948 - 2025