| Server IP : 43.130.17.34 / Your IP : 216.73.217.6 Web Server : nginx/1.28.0 System : Linux VM-4-12-opencloudos 6.6.92-34.1.oc9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jun 25 21:32:13 CST 2025 x86_64 User : www ( 1000) PHP Version : 8.0.26 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,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_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wwwroot/yespkg.com/wp-content/themes/twentytwentysix/ |
Upload File : |
<?php get_header();
$news_banner = get_home_field( 'news_banner' );
?>
<section class="sys_sub_head">
<div class="head_bn_item">
<div class="bn_item_img"><img src="<?php echo $news_banner['url']; ?>" alt="banner-News"/> </div>
</div>
<section class="path_bar">
<div class="layout">
<ul>
<li> <a itemprop="breadcrumb" href="/">Home</a></li><li> <a href="#">News</a></li>
</ul>
</div>
</section>
</section>
<section class="web_main page_main">
<div class="layout">
<aside class="aside">
<section class="aside-wrap">
<section class="side-widget">
<div class="side-tit-bar">
<h4 class="side-tit">News</h4>
</div>
<ul class="side-cate">
<li><a href="/news_catalog/company-news/">Company Currents</a></li>
<li><a href="/news_catalog/product-news/">Product News</a></li>
</ul>
</section>
<div class="side-bn"><a href="/contact-us/"><img src="/uploads/Contact-us1.png" alt="Contact-us" /></a></div>
</section>
</aside>
<section class="main">
<div class="blog_list">
<h1 class="page_title">
News
</h1>
<ul>
<?php while ( have_posts() ) : the_post(); ?>
<li class="blog-item">
<figure class="item-wrap">
<?php $image = get_field('news_img');if( !empty($image) ): ?>
<a class="item-img" href="<?php the_permalink() ?>"><img class="blog-img" src="<?php echo $image['url']; ?>" alt="<?php echo mb_strimwidth( strip_tags( apply_filters( 'the_title', $post->post_title ) ), 0, 200, "..." ); ?>"></a>
<?php endif; ?>
<figcaption class="item-info">
<h3 class="item-title"><a href="<?php the_permalink() ?>"><?php echo mb_strimwidth( strip_tags( apply_filters( 'the_title', $post->post_title ) ), 0, 200, "..." ); ?></a></h3>
<time>by admin on
<?php the_time('y-m-d') ?>
</time>
<div class="item-detail"><?php echo mb_strimwidth( strip_tags( apply_filters( 'the_content', $post->post_content ) ), 0, 300, "..." ); ?></div>
<a href="<?php the_permalink() ?>" class="item-more">Read more</a> </figcaption>
</figure>
</li>
<?php endwhile; wp_reset_query(); ?>
</ul>
<div class="page_bar">
<div class="pages"><?php echo izt_pagenavi();?></div>
</div>
</div>
</section>
</div>
</section>
<?php get_footer(); ?>