WordPress

Coming Soon

HEX
HEX
Server: Apache/2.4.57 (Debian)
System: Linux 8ea768a960b0 5.15.0-105-generic #115-Ubuntu SMP Mon Apr 15 09:52:04 UTC 2024 x86_64
User: www-data (33)
PHP: 8.2.18
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/themes/wujin/category-wz.php
<?php include( TEMPLATEPATH . '/top.php' ); ?>

<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/static/js/02833187.js" charset="utf-8"></script>
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/static/css/02833187.css"/>
<?php get_header();?>

					<div id="layout_1617750472113" class="layout  none"  data-wow-duration='0s' data-wow-delay='0s' data-wow-offset='0' data-wow-iteration='1'>
				<div class="view_contents">
									</div>
			</div>
					<div id="layout_1616630123811" class="layout  none"  data-wow-duration='0s' data-wow-delay='0s' data-wow-offset='0' data-wow-iteration='1'>
				<div class="view_contents">
								<div id="text_style_01_1616630123815" class="view style_01 text  none lockHeightView"  data-wow-duration='1s' data-wow-delay='0.25s' data-wow-offset='0' data-wow-iteration='1'>
				<div names="text" class="view_contents" >
					<?php wp_title('');?>
				</div>
			</div>
						</div>
			</div>
					<div id="layout_1616629488512" class="layout  none"  data-wow-duration='0s' data-wow-delay='0s' data-wow-offset='0' data-wow-iteration='1'>
				<div class="view_contents">
								<div id="homelink_style_02_1616629488518" class="view style_02 homelink  none lockHeightView"  data-wow-duration='0s' data-wow-delay='0s' data-wow-offset='0' data-wow-iteration='1'>
				<div names="homelink" class="view_contents" >
					<div class="homelink_style02">
    <ul class="link_ul">
        <li class="link_li">
            <a class="tabItemSet" href="<?php echo get_option('home'); ?>">首页</a>
                <span class="tabItemSet">∷</span>
        </li>
                <li class="link_li on"><a class="tabItemSet tabCurItem"><?php wp_title('');?>
                </a></li>
    </ul>
</div><script>//--
				$(function(){
					var viewid="homelink_style_02_1616629488518";
					var sys_url="viewid=homelink_style_02_1616629488518&name=homelink&style=style_02&langid=0&pageid=2833187&viewCtrl=default&isfb=1";
					var moreParams='';
					if(typeof(history.pushState) != 'undefined'){
						var hstate=JSON.stringify(history.state);
						if(hstate!='null'&& hstate!=null){
							eval('var hjson = ' + hstate);
							moreParams=hjson.moreParamshomelink_style_02_1616629488518;
						}
					}
					RequestURL(viewid,sys_url,moreParams);
				})
			//--</script>
				</div>
			</div>
					<div id="text_style_01_1616629488534" class="view style_01 text  none lockHeightView"  data-wow-duration='1s' data-wow-delay='0.25s' data-wow-offset='0' data-wow-iteration='1'>
				<div names="text" class="view_contents" >
					当前位置:
				</div>
			</div>
						</div>
			</div>
					<div id="layout_1578464485192" class="layout  none"  data-wow-duration='0s' data-wow-delay='0s' data-wow-offset='0' data-wow-iteration='1'>
				<div class="view_contents">
								<div id="newsKind_style_04_1615297517471" class="view style_04 newsKind  none lockHeightView"  data-wow-duration='0s' data-wow-delay='0s' data-wow-offset='0' data-wow-iteration='1'>
				<div names="newsKind" class="view_contents" >
					
					
					<div class="newscateStyle_4 modSet swiper-container">
	<ul class="newscate swiper-wrapper">
	<?php
$args=array(
'child_of'=> get_category_root_id($cat),
'parent'  => get_category_root_id($cat),
'hide_empty'=>'0',
);
$categories=get_categories($args);
foreach($categories as $category) {?>
<li class="sidebar1 swiper-slide"><a class="oneSet" href='<?php echo get_category_link( $category->term_id );?>'><?php echo $category->name;?></a>
<?php /*
//判断子分类
$argszi=array(
'child_of'=> $category->term_id,
'parent' => $category->term_id,
'hide_empty'=>'0',
);
$categorieszi=get_categories($argszi);
if(!empty($categorieszi)){?>
<span class='jia'>+</span>
<ul class='zicategory'>
<?php foreach($categorieszi as $categoryzi) {?>
<li><a href='<?php echo get_category_link( $categoryzi->term_id );?>'><?php echo $categoryzi->name;?></a></li>
<?php }?>
</ul>
<?php } */?>
</li>
<?php }?>
	</ul>
</div>
				</div>
			</div>
						</div>
			</div>
					<div id="layout_1578466190563" class="layout  none"  data-wow-duration='0s' data-wow-delay='0s' data-wow-offset='0' data-wow-iteration='1'>
				<div class="view_contents">
								<div id="div_a_includeBlock_1578466168969" class="view a_includeBlock div  none includeView"  data-wow-duration='0s' data-wow-delay='0s' data-wow-offset='0' data-wow-iteration='1'>
				<div names="div" class="view_contents" >
								<div id="newsList_style_23_1578466210917" class="view style_23 newsList  none lockHeightView"  data-wow-duration='1s' data-wow-delay='0.25s' data-wow-offset='0' data-wow-iteration='1'>
				<div names="newsList" class="view_contents" >
					<!--新闻列表区域-->
<!--pageSet pagecurSet-->
<ul class="newslist_style_23">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<li class="modSet">
		<div class="newsDate">
				<span class="newsTime timesSet"><span class="nDate"><?php the_time('Y-m-d'); ?></span> </span>
			<div class="newPic imgSet">
				<a href="<?php the_permalink(); ?>" target="_self"><img class="News_img " src="<?php if ( has_post_thumbnail() ) { ?><?php $post_ID=$post->ID;$post_thumbnail_id = get_post_thumbnail_id( $post_ID );$post_thumbnail_src = wp_get_attachment_image_src($post_thumbnail_id,'full');?><?php echo $post_thumbnail_src[0]; ?><?php }else {?><?php echo get_first_image(); ?><?php }?>" alt="<?php the_title(); ?>"></a>
				<div class="zTm" style="margin-top:67%"></div>
			</div>
		</div>
		<div class="newsCont">
			<div class="newsTitle titleSet">
					<a class="newTitle pc" href="<?php the_permalink(); ?>" target="_self" style="-webkit-line-clamp: ;"><?php the_title(); ?></a>
					<a class="newTitle pad" href="<?php the_permalink(); ?>" target="_self" style="-webkit-line-clamp: ;"><?php the_title(); ?></a>
					<a class="newTitle mobile" href="<?php the_permalink(); ?>" target="_self" style="-webkit-line-clamp: ;"><?php the_title(); ?></a>
					<span class="titleHr btnaSet"></span>
			</div>
				<span class="newSort sortSet"><?php $category = get_the_category(); echo $category[0]->cat_name;?></span>
			<p class="nsDate ydSet">阅读量:<?php setPostViews(get_the_ID()); echo number_format(getPostViews(get_the_ID())); ?></p>
			<div class="newsBrief">
					<div class="newDetail detailSet pc" style="-webkit-line-clamp: ;"><div class="overhide"><?php echo mb_strimwidth(strip_tags(apply_filters('the_content', $post->post_content)), 0, 200,'……'); ?></div></div>
					<div class="newDetail detailSet pad" style="-webkit-line-clamp: ;"><div class="overhide"><?php echo mb_strimwidth(strip_tags(apply_filters('the_content', $post->post_content)), 0, 150,'……'); ?></div></div>
					<div class="newDetail detailSet mobile" style="-webkit-line-clamp: ;"><div class="overhide"><?php echo mb_strimwidth(strip_tags(apply_filters('the_content', $post->post_content)), 0, 70,'……'); ?></div></div>
		    </div>
             <div class="show_all">
                 <a class="btnaSet" href="<?php the_permalink(); ?>" target="_self">查看全文</a>
             </div>
		</div>
	</li>
<?php endwhile;?>
<?php endif; ?>

		<div class="page_btn">
				<?php kriesi_pagination($query_string); ?>
		</div>
</ul>
				</div>
			</div>
						</div>
			</div>
						</div>
			</div>
					<div id="layout_1578466751893" class="layout  none"  data-wow-duration='0s' data-wow-delay='0s' data-wow-offset='0' data-wow-iteration='1'>
				<div class="view_contents">
									</div>
			</div>
					
<?php get_footer();?>