| Server IP : 194.30.32.123 / Your IP : 216.73.216.89 Web Server : Apache System : Linux 4f6650a08421 5.10.0-44-amd64 #1 SMP Debian 5.10.257-1 (2026-05-27) x86_64 User : ftpbegirale ( 1001) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,curl_multi_exec,show_source MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /expert/htwebs/www.begirale.com/public/wp-content/themes/newsup/ |
Upload File : |
<?php
/**
* The template for displaying the content.
* @package Newsup
*/
?>
<div id="grid" class="row" >
<?php while(have_posts()){ the_post();
$newsup_content_layout = esc_attr(get_theme_mod('newsup_content_layout','align-content-right')); ?>
<div id="post-<?php the_ID(); ?>" <?php if($newsup_content_layout == "grid-fullwidth") { echo post_class('col-md-4'); } else { echo post_class('col-md-6'); } ?>>
<!-- mg-posts-sec mg-posts-modul-6 -->
<div class="mg-blog-post-box">
<?php newsup_post_image_display_type($post); ?>
<article class="small">
<div class="mg-blog-category">
<?php newsup_post_categories(); ?>
</div>
<h4 class="entry-title title"><a href="<?php the_permalink();?>"><?php the_title();?></a></h4>
<?php newsup_post_meta(); ?>
<p><?php echo wp_trim_words( get_the_excerpt(), 20 ); ?></p>
</article>
</div>
</div>
<?php } ?>
<div class="col-md-12 text-center d-md-flex justify-content-center">
<?php //Previous / next page navigation
the_posts_pagination( array(
'prev_text' => '<i class="fas fa-angle-left"></i>',
'next_text' => '<i class="fas fa-angle-right"></i>',
) );
?>
</div>
</div>