HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ns3133907 6.8.0-86-generic #87-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 18:03:36 UTC 2025 x86_64
User: cssnetorguk (1024)
PHP: 8.2.28
Disabled: NONE
Upload Files
File: //home/liverpool-unipress.co.uk/public_html-20250117121349/wp-content/themes/newsup/content.php
<?php
/**
 * The template for displaying the content.
 * @package Newsup
 */
?>
<!-- mg-posts-sec mg-posts-modul-6 -->
<div class="mg-posts-sec mg-posts-modul-6">
    <!-- mg-posts-sec-inner -->
    <div class="mg-posts-sec-inner">
        <?php while(have_posts()){ the_post(); ?>
            <article id="post-<?php the_ID(); ?>" <?php post_class('d-md-flex mg-posts-sec-post align-items-center'); ?>>
                <?php newsup_post_image_display_type($post); ?>
                <div class="mg-sec-top-post py-3 col">
                    <?php newsup_post_categories(); ?> 
                    <h4 class="entry-title title"><a href="<?php the_permalink();?>"><?php the_title();?></a></h4>
                    <?php newsup_post_meta(); ?>
                    <div class="mg-content">
                        <?php $newsup_excerpt = newsup_the_excerpt( absint( 30 ) );
                        if ( !empty( $newsup_excerpt ) ) {  echo wp_kses_post( wpautop( $newsup_excerpt ) ); } ?>
                    </div>
                </div>
            </article>
        <?php } newsup_page_pagination(); ?>
    </div>
    <!-- // mg-posts-sec-inner -->
</div>
<!-- // mg-posts-sec block_6 -->