<code id='72C2911285'></code><style id='72C2911285'></style>
    • <acronym id='72C2911285'></acronym>
      <center id='72C2911285'><center id='72C2911285'><tfoot id='72C2911285'></tfoot></center><abbr id='72C2911285'><dir id='72C2911285'><tfoot id='72C2911285'></tfoot><noframes id='72C2911285'>

    • <optgroup id='72C2911285'><strike id='72C2911285'><sup id='72C2911285'></sup></strike><code id='72C2911285'></code></optgroup>
        1. <b id='72C2911285'><label id='72C2911285'><select id='72C2911285'><dt id='72C2911285'><span id='72C2911285'></span></dt></select></label></b><u id='72C2911285'></u>
          <i id='72C2911285'><strike id='72C2911285'><tt id='72C2911285'><pre id='72C2911285'></pre></tt></strike></i>

          dedecm科普指南盘点: AG真人问鼎pg电子娱乐平台下载地址手机投注客户端s仿站article

          2025-06-20 21:58:59 51

          文章内容当前位置的调用与列表页当前位置是一样的,

          在dedecms后台的默认模板管理打开article_article.htm文章内容页模板,

          文章页相关内容(阅读)调用如下例子

          {dede:likearticle row='8' titlelen='42' eregtype=tag' mytypeid='all'}

          <li><a href='[field:arcurl/]' target="_blank">[field:title/]</a></li>{/dede:likearticle}

          上面的代码主要是通过tags标签来调用相关联的文章(即文档要有同样的关键字)。dede:field.description是文章描述的调用。头部tkd标签调用如下:

          <title>{dede:field.title/}_{dede:global.cfg_webname/}</title>

          <meta name="keywords" content="{dede:field.keywords/}" />

          <meta name="description" content="{dede:field.description function='html2text(@me)'/}" />

          其中<title>标题与列表页的标签调用是一样的。{dede:prenext get='pre'/问鼎pg电子娱乐平台下载地址}是上一篇文章的调用,科普指南盘点: AG真人手机投注客户端都是{dede:field name='position'/}

          {dede:field.title/}文章标题的调用

          发布时间:{dede:field.pubdate function="MyDate('Y-m-d H:i',@me)"/}

          文章来源:{dede:field.source/}

          文章作者:{dede:field.writer/}

          文章阅读(次数,{dede:field.keywords/}是文章关键词的调用,效果如下图红框:

          dedecms仿站article_article.htm(文章内容页模板)-图片2

          {dede:prenext get='next'/} 是下一篇文章的调用。function='html2text(@me)'是过滤html代码调用纯文问鼎pg电子娱乐平台下载地址本。科普指南盘点: AG真人手机投注客户端其中eregtype=tag'只匹配tag,而mytypeid='all'指限制所有栏目ID。通过js计算):<script src="{dede:field name='phpurl'/}/count.php?view=yes&aid={dede:field name='id'/}&mid={dede:field name='mid'/}" type='text/javascript' language="javascript">效果如下图红框所示:

          dedecms仿站article_article.htm(文章内容页模板)-图片1

          {dede:field.body/}是正文内容的调用,

          本文地址:http://ojhi2.xny028cc.com/ess284.html
          版权声明

          本文仅代表作者观点,不代表本站立场。
          本文系作者授权发表,未经许可,不得转载。

          友情链接