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

主页调取文章

新手求教大佬,主页模板新闻资讯代码如下,调整 typeid='12' (栏目编码),主页仍然不显示文章内容,望大佬指点迷津。

微信图片_20201023150431

  <!-- 推荐资讯列表 BEGIN-->

  <div class="home-information-list"> 

    <!-- 左侧 BEGIN-->

    <div class="home-information-left">

      <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/]

"> <img src="[field:litpic/]" alt="[field:title/]"> </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>

      <!---推荐新闻下面广告-->

      

      <div class="information-left-bottom"> {dede:arclist row='2' typeid='13' orderby='pubdate' titlelen='30' flag='a'} <a target="_blank" href="[field:arcurl/]"><img class="left-bottom-img" title="" src="[field:litpic/]" alt=""></a> {/dede:arclist} </div>

    </div>

    <!-- 左侧 END--> 

    

    <!-- 右侧 BEGIN-->

    <div class="home-information-right">

      <div class="information-right-item">

        <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/]"> <img src="[field:litpic/]" alt="[field:title/]"> <span class="overflow-title">[field:title/]</span> </a> {/dede:arclist} </div>

        <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}

          

          {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>

      </div>

      <div class="information-right-item">

        <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/]"> <img src="[field:litpic/]" alt="[field:title/]"> <span class="overflow-title">[field:title/]</span> </a> {/dede:arclist} </div>

        <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}

          

          {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>

      </div>

      <div class="information-right-item">

        <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/]"> <img src="[field:litpic/]" alt="[field:title/]"> <span class="overflow-title">[field:title/]</span> </a> {/dede:arclist} </div>

        <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}

          

          {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>

      </div>

    </div>

    

    <!-- 右侧item END--> 

  </div>

  <!-- 推荐资讯列表 END--> 

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

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

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

SEO培训招生中
157