您现在的位置是:dede巅峰棋牌官方网站cm云开体育官网入口s仿站article >>正文
dede巅峰棋牌官方网站cm云开体育官网入口s仿站article
狐死兔泣网7999人已围观
简介{dede:prenext get='pre'/}是上一篇文章的调用,通过js计算):<script src="{dede:field name='phpurl'/}/count.php?vie...
{dede:field.body/}是正文内容的调用,其中eregtype=tag'只匹配tag,而mytypeid='all'指限制所有栏目ID。
文章内容当前位置的调用与列表页当前位置是一样的,{dede:field.keywords/}是文章关键词的调用,dede:fie
文章页相关内容(阅读)调用如下例子
{dede:likearticle row='8' titlelen='42' eregtype=tag' mytypeid='all'}
<li><a href='[field:arcurl/]' target="_blank">[field:title/]</a></li>{/dede:likearticle}
上面的代码主要是通过tags标签来调用相关联的文章(即文档要有同样的关键字)。
在dedecms后台的默认模板管理打开article_article.htm文章内容页模板,头部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>标题与列表页的标签调用是一样的。效果如下图红框:
巅峰棋牌官方网站ass="alignc云开体育官网入口enter size-full wp-image-2046" src="http://img.bokequ.com/wp-content/uploads/2016/06/0376.jpg" alt="dedecms仿站article_article.htm(文章内容页模板)-图片2" />
{dede:field.title/}文章标题的调用
发布时间:{dede:field.pubdate function="MyDate('Y-m-d H:i',@me)"/}
文章来源:{dede:field.source/}
文章作者:{dede:field.writer/}
文章阅读(次数,
Tags:
相关文章
BTC Maintains $70K Despite Heightened GBTC Outflows, WIF Plummets Again (Market Watch)
dede巅峰棋牌官方网站cm云开体育官网入口s仿站articleBitcoin’s price slipped to and under $70,000 yesterday, but the asset has reclaimed that level...
阅读更多
Java扒站工具templatespider下载
dede巅峰棋牌官方网站cm云开体育官网入口s仿站article这是一款由Java开发的扒站工具,templatespider工具源码开源,下载解压即可使用。看着网上哪个网站好,可用此软件将其下载,变为标准的html模版,自动分好图片images、css、js、以...
阅读更多
华为新款智能手表WATCH 5将与Pura 80系列手机携手亮相,科技与时尚的完美融合
dede巅峰棋牌官方网站cm云开体育官网入口s仿站article华为新款智能手表WATCH 5:科技与时尚的完美融合在科技的海洋中,智能手表已经成为我们生活的一部分。华为新款智能手表WATCH 5以其独特的科技与时尚魅力,再次证明了华为在智能穿戴设备领域的领先地位...
阅读更多