搜外网>搜外问答>问答页面

主页调取文章

<p>新手求教大佬,主页模板新闻资讯代码如下,调整 typeid='12' (栏目编码),主页仍然不显示文章内容,望大佬指点迷津。</p><p><br></p><p>  <!-- 推荐资讯列表 BEGIN-->
</p><p>  <div class="home-information-list"> 
</p><p>    <!-- 左侧 BEGIN-->
</p><p>    <div class="home-information-left">
</p><p>      <div class="information-left-top"> {dede:arclist row='5' typeid='12' orderby='pubdate' titlelen='60' infolen='60' flag='h'} <a target="_blank" href="[field:arcurl/]</p><p>">  </a> <a target="_blank" class="information-title" href="[field:arcurl/]"> <span class="information-title-title overflow-title">[field:title/]</span> <span class="information-title-summary overflow-title">[field:info/]</span> </a> {/dede:arclist} </div>
</p><p>      <!---推荐新闻下面广告-->
</p><p>      
</p><p>      <div class="information-left-bottom"> {dede:arclist row='2' typeid='13' orderby='pubdate' titlelen='30' flag='a'} <a target="_blank" href="[field:arcurl/]"></a> {/dede:arclist} </div>
</p><p>    </div>
</p><p>    <!-- 左侧 END--> 
</p><p>    
</p><p>    <!-- 右侧 BEGIN-->
</p><p>    <div class="home-information-right">
</p><p>      <div class="information-right-item">
</p><p>        <div class="information-right-left"> {dede:arclist row='1' typeid='34' orderby='pubdate' titlelen='60' flag='c' limit=0,1} <a target="_blank" href="[field:arcurl/]">  <span class="overflow-title">[field:title/]</span> </a> {/dede:arclist} </div>
</p><p>        <div class="information-right-right"> {dede:arclist row='1' typeid='33,34,35' orderby='pubdate' titlelen='60' limit=0,1} <a target="_blank" class=" information-strong overflow-title" href="[field:arcurl/]">[field:title/]</a> {/dede:arclist}
</p><p>          
</p><p>          {dede:arclist row='3' typeid='33,34,35' orderby='pubdate' titlelen='60' limit=1,3} <a target="_blank" class="overflow-title" href="[field:arcurl/]">[[field:typename/]][field:title/]</a> {/dede:arclist} </div>
</p><p>      </div>
</p><p>      <div class="information-right-item">
</p><p>        <div class="information-right-left"> {dede:arclist row='1' typeid='34' orderby='pubdate' titlelen='60' flag='c' limit=1,1} <a target="_blank" href="[field:arcurl/]">  <span class="overflow-title">[field:title/]</span> </a> {/dede:arclist} </div>
</p><p>        <div class="information-right-right"> {dede:arclist row='1' typeid='33,34,35' orderby='pubdate' titlelen='60' limit=4,1} <a target="_blank" class=" information-strong overflow-title" href="[field:arcurl/]">[field:title/]</a> {/dede:arclist}
</p><p>          
</p><p>          {dede:arclist row='3' typeid='33,34,35' orderby='pubdate' titlelen='60' limit=5,3} <a target="_blank" class="overflow-title" href="[field:arcurl/]">[[field:typename/]][field:title/]</a> {/dede:arclist} </div>
</p><p>      </div>
</p><p>      <div class="information-right-item">
</p><p>        <div class="information-right-left"> {dede:arclist row='1' typeid='34' orderby='pubdate' titlelen='60' flag='c' limit=2,1} <a target="_blank" href="[field:arcurl/]">  <span class="overflow-title">[field:title/]</span> </a> {/dede:arclist} </div>
</p><p>        <div class="information-right-right"> {dede:arclist row='1' typeid='33,34,35' orderby='pubdate' titlelen='60' limit=8,1} <a target="_blank" class=" information-strong overflow-title" href="[field:arcurl/]">[field:title/]</a> {/dede:arclist}
</p><p>          
</p><p>          {dede:arclist row='3' typeid='33,34,35' orderby='pubdate' titlelen='60' limit=9,3} <a target="_blank" class="overflow-title" href="[field:arcurl/]">[[field:typename/]][field:title/]</a> {/dede:arclist} </div>
</p><p>      </div>
</p><p>    </div>
</p><p>    
</p><p>    <!-- 右侧item END--> 
</p><p>  </div>
</p><p>  <!-- 推荐资讯列表 END--> </p>

追加问题
    2 人参与回答
最佳回答
追寻你的足迹 等 1 人赞同该回答

去掉flag='h'或者发的时候勾选头条

dede:arclist row='5' typeid='12' orderby='pubdate' titlelen='60' infolen='60' flag='h'}