in index.php line 69,wordpress首页出现index.php on line 45 - 搜外SEO问答

Warning: Invalid argument supplied for foreach() in /www/wwwroot/b.com/wp-content/themes/Luss_1.22/index.php on line 45

如下图:就改了一下网站通知,突然就变这个样子了,尴尬!

a4254c4caa6eb8482fcc344671825cfb.png

index.php文件如下:

if( _hui('ads_index_01_s') ) echo '

'.hui_get_adcode('ads_index_01').'
';

include('modules/tab_posts.php');

hui_moloader('hui_posts_sticky');

?>

<?php  echo _hui('ads_index_02_s') ? '

'.hui_get_adcode('ads_index_02').'
' : '' ?>

'theme_location'=>'header_menu',

'container' => false,

'walker' => new wp_bootstrap_navwalker(),

'depth' => 1,

'items_wrap' => '

  • %3$s
'

)); } ?>

$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;

$args = array(

'ignore_sticky_posts' => 1,

'paged' => $paged

);

if( _hui('index_list_out_sticky') ){

$args['post__not_in'] = get_option( 'sticky_posts' );

}

if( _hui('notinhome') ){

$pool = array();

foreach (_hui('notinhome') as $key => $value) {

if( $value ) $pool[] = $key;

}

$args['cat'] = '-'.implode($pool, ',-');

}

query_posts($args);

get_template_part( 'excerpt' );

?>

<?php  echo _hui('ads_index_03_s') ? '

'.hui_get_adcode('ads_index_03').'
' : '' ?> 
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值