| Server IP : 81.2.241.106 / Your IP : 216.73.216.165 Web Server : Apache/2.4.67 (Debian) System : Linux tranq-f.bakta.org 5.10.0-45-amd64 #1 SMP Debian 5.10.259-1 (2026-07-02) x86_64 User : lisky ( 1002) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/lisky/wp-content/themes/hitmag/template-parts/ |
Upload File : |
<?php
/**
* Template part for displaying posts
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package HitMag
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class( 'hitmag-post' ); ?>>
<?php do_action( 'hitmag_inside_post_top' ); ?>
<?php if (has_post_thumbnail()) : ?>
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>">
<div class="archive-thumb">
<?php
$hitmag_thumb_size = hitmag_thumb_size();
the_post_thumbnail( $hitmag_thumb_size );
?>
</div><!-- .archive-thumb -->
</a>
<?php endif; ?>
<div class="archive-content">
<?php do_action( 'hitmag_before_entry_header' ); ?>
<header class="entry-header">
<?php
hitmag_category_list();
the_title( '<h3 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h3>' );
if ( 'post' === get_post_type() ) : ?>
<div class="entry-meta">
<?php hitmag_posted_on(); ?>
</div><!-- .entry-meta -->
<?php
endif; ?>
</header><!-- .entry-header -->
<div class="entry-summary">
<?php
if ( true == get_theme_mod( 'excerpt_display', true ) ) {
// Display content instead of excerpt.
if ( true == get_theme_mod( 'archive_show_content', false ) ) {
the_content();
} else {
// If content is disabled display excerpt.
the_excerpt();
}
}
if ( true == get_theme_mod( 'show_readmore', true ) ) {
$readmore_text = get_theme_mod( 'readmore_text', esc_html__( 'Read More', 'hitmag' ) ); ?>
<a href="<?php the_permalink(); ?>" class="th-readmore"><span class="screen-reader-text"><?php the_title(); ?></span> <?php echo esc_html( $readmore_text ); ?></a>
<?php } ?>
</div><!-- .entry-summary -->
</div><!-- .archive-content -->
<?php do_action( 'hitmag_inside_post_bottom' ); ?>
</article><!-- #post-## -->