在顶级栏目的category页放入如下代码: <?php if($child){ $child_arrary=explode(',',$arrchildid); $to_url=$CATEGORYS[$child_arrary[0]][url]; echo "<script>window.location.href='".$to_url."'</script>"; } ?> 仅适用电脑版
phpcms访问顶级栏目,自动跳到第一个子栏目
猜你喜欢
转载自blog.csdn.net/qq_39702981/article/details/78673899
今日推荐
周排行