织梦文章怎么调用栏目设定的标题

2024-10-28 10:18:09
推荐回答(4个)
回答1:

一、打开dedecms梦想管理后台,使用管理员账户密码登录。

二、单击核心-网站列管理-选择列并单击更改。

三、在“常规选项”“高级选项”列内容中,选择“高级选项”,填写列的SEO标题,复制代码[{Dede:字段。Seotitle/}),记住列模板[list u article]的名称。,然后单击下面的“确定”进行保存。

四、单击“模板默认模板管理”以查找模板文件名list article.htm,然后单击模板后的“修改”以打开“修改模板代码”页。

五、打开【list_article.htm】代码页面,找到标题,将{dede:field.title /}修改为</p> <p>{dede:field.seotitle /},点击保存。</p> <p><img loading="lazy" class="ikqb_img" src="/picurl?url=https%3A%2F%2Fiknow-pic.cdn.bcebos.com%2F5366d0160924ab18e80e85483afae6cd7b890bb0%3Fx-bce-process%3Dimage%252Fresize%252Cm_lfit%252Cw_600%252Ch_800%252Climit_1%252Fquality%252Cq_85%252Fformat%252Cf_auto" esrc="https://iknow-pic.cdn.bcebos.com/5366d0160924ab18e80e85483afae6cd7b890bb0"></p> <p>六、默认情况下,dedecms梦想编织程序生成静态HTML页面,因此在预览列HTML文档之前,您需要执行最后一步来更新它。单击generate-update column HTML-update all-generatehtml打开列页面,您可以看到更改的标题。</p> <p><img loading="lazy" class="ikqb_img" src="/picurl?url=https%3A%2F%2Fiknow-pic.cdn.bcebos.com%2Fb3b7d0a20cf431add9f727464436acaf2edd98a3%3Fx-bce-process%3Dimage%252Fresize%252Cm_lfit%252Cw_600%252Ch_800%252Climit_1%252Fquality%252Cq_85%252Fformat%252Cf_auto" esrc="https://iknow-pic.cdn.bcebos.com/b3b7d0a20cf431add9f727464436acaf2edd98a3"></p></p> </div> </div> <div class="clear"></div> </div> <div class="wdhdnr"> <div class="huidanrtop"> <div class="wdhuidaxinx"> <div class="wdhuidaxm">回答2:</div> </div> </div> <div class="clear"></div> <div class="wdhuidanrmid"> <div class="zuijiacont"> <p><p>1、打开dedecms织梦管理后台,用管理员账户密码登陆。</p> <p><img loading="lazy" class="ikqb_img" src="/picurl?url=https%3A%2F%2Fiknow-pic.cdn.bcebos.com%2F55e736d12f2eb938727bc325db628535e4dd6fd7%3Fx-bce-process%3Dimage%252Fresize%252Cm_lfit%252Cw_600%252Ch_800%252Climit_1%252Fquality%252Cq_85%252Fformat%252Cf_auto" esrc="https://iknow-pic.cdn.bcebos.com/55e736d12f2eb938727bc325db628535e4dd6fd7"></p> <p>2、点击【核心】----【网站栏目管理】-----选择一个栏目后面的,点击【更改】。</p> <p><img loading="lazy" class="ikqb_img" src="/picurl?url=https%3A%2F%2Fiknow-pic.cdn.bcebos.com%2F9f2f070828381f30694c347ea7014c086f06f094%3Fx-bce-process%3Dimage%252Fresize%252Cm_lfit%252Cw_600%252Ch_800%252Climit_1%252Fquality%252Cq_85%252Fformat%252Cf_auto" esrc="https://iknow-pic.cdn.bcebos.com/9f2f070828381f30694c347ea7014c086f06f094"></p> <p>3、【常规选项】  【高级选项】  【栏目内容】中选择{高级选项},填写栏目的SEO标题,复制代码【{dede:field.seotitle /}】并记住栏目模板的名称【list_article.htm】,点击下面的确定保存。</p> <p><img loading="lazy" class="ikqb_img" src="/picurl?url=https%3A%2F%2Fiknow-pic.cdn.bcebos.com%2F2fdda3cc7cd98d10e1b8b5e62f3fb80e7aec90fd%3Fx-bce-process%3Dimage%252Fresize%252Cm_lfit%252Cw_600%252Ch_800%252Climit_1%252Fquality%252Cq_85%252Fformat%252Cf_auto" esrc="https://iknow-pic.cdn.bcebos.com/2fdda3cc7cd98d10e1b8b5e62f3fb80e7aec90fd"></p> <p>4、点击【模板】【默认模板管理】找到模板文件名【list_article.htm】,点击模板后面的修改,弹出修改模板代码页面。</p> <p><img loading="lazy" class="ikqb_img" src="/picurl?url=https%3A%2F%2Fiknow-pic.cdn.bcebos.com%2Fa6efce1b9d16fdfa5a347f39ba8f8c5495ee7b89%3Fx-bce-process%3Dimage%252Fresize%252Cm_lfit%252Cw_600%252Ch_800%252Climit_1%252Fquality%252Cq_85%252Fformat%252Cf_auto" esrc="https://iknow-pic.cdn.bcebos.com/a6efce1b9d16fdfa5a347f39ba8f8c5495ee7b89"></p> <p>5、打开【list_article.htm】代码页面,找到<title>标题,将{dede:field.title /}修改为</p> <p>{dede:field.seotitle /},点击保存。</p> <p><img loading="lazy" class="ikqb_img" src="/picurl?url=https%3A%2F%2Fiknow-pic.cdn.bcebos.com%2Fb812c8fcc3cec3fdcd531ea2d888d43f869427f3%3Fx-bce-process%3Dimage%252Fresize%252Cm_lfit%252Cw_600%252Ch_800%252Climit_1%252Fquality%252Cq_85%252Fformat%252Cf_auto" esrc="https://iknow-pic.cdn.bcebos.com/b812c8fcc3cec3fdcd531ea2d888d43f869427f3"></p> <p>6、dedecms织梦程序默认是生成静态的html页面的,所以还需要作最后一步的更新栏目HTML文档才可以预览的。依次点击【生成】-------【更新栏目HTML】------【更新所有】----------【生成HTML】点开栏目的页面,就可以看到已经改好的标题了。</p> <p><img loading="lazy" class="ikqb_img" src="/picurl?url=https%3A%2F%2Fiknow-pic.cdn.bcebos.com%2F42166d224f4a20a4e60485109e529822730ed0cb%3Fx-bce-process%3Dimage%252Fresize%252Cm_lfit%252Cw_600%252Ch_800%252Climit_1%252Fquality%252Cq_85%252Fformat%252Cf_auto" esrc="https://iknow-pic.cdn.bcebos.com/42166d224f4a20a4e60485109e529822730ed0cb"></p></p> </div> </div> <div class="clear"></div> </div> <div class="wdhdnr"> <div class="huidanrtop"> <div class="wdhuidaxinx"> <div class="wdhuidaxm">回答3:</div> </div> </div> <div class="clear"></div> <div class="wdhuidanrmid"> <div class="zuijiacont"> <p>您好,朋友。织梦云模版为您解答:<br>您如果是调用栏目SEO标题的话,首先在栏目的高级选项中设置好seo标题,在栏目的列表页中用<br>{dede:field.seotitle /}可以调用。<br>如果是调用栏目名称的话可以用{dede:field.typename/}调用。<br>希望我的回答能够帮到您!</p> </div> </div> <div class="clear"></div> </div> <div class="wdhdnr"> <div class="huidanrtop"> <div class="wdhuidaxinx"> <div class="wdhuidaxm">回答4:</div> </div> </div> <div class="clear"></div> <div class="wdhuidanrmid"> <div class="zuijiacont"> <p>[field:typename/]用这个调用栏目的标题,{dede:field.seotitle /}用这个调用栏目的seo标题,还有就是{dede:type typeid='栏目id'}[field:typename /]{/dede:type}调用指定的栏目标题.是不是你需要的?</p> </div> </div> <div class="clear"></div> </div> </div> </div> <div class="wendaright"> <div class="wdluluerwema"> <div class="wdxgwttop">相关问答</div> <div class="wdxgwtnr"> </div> <div class="clear"></div> </div> <!-- 其他随机问答['id'=>alphaID($like['zid'])] --> <div class="wdluluerwema"> <div class="wdxgwttop">最新问答</div> <div class="wdxgwtnr"> <div class="wdxgwtcont"> <div class="wdxgtitle"><a href="https://116p.com/p/1737360741921865987.html">mac book 微信聊天页面如何回车</a></div> </div> <div class="wdxgwtcont"> <div class="wdxgtitle"><a href="https://116p.com/p/78108448.html">求古诗《过故人庄》的作者</a></div> </div> <div class="wdxgwtcont"> <div class="wdxgtitle"><a href="https://116p.com/p/607698083.html">想去台湾自由行。福建哪里能够坐船去台湾??大概多少钱多久?</a></div> </div> <div class="wdxgwtcont"> <div class="wdxgtitle"><a href="https://116p.com/p/304469245365233204.html">养哪些植物可以驱赶蚊子?</a></div> </div> <div class="wdxgwtcont"> <div class="wdxgtitle"><a href="https://116p.com/p/919118087916943859.html">有几个淘宝鞋店里的鞋很少,而且只卖十块钱左右,可信吗</a></div> </div> <div class="wdxgwtcont"> <div class="wdxgtitle"><a href="https://116p.com/p/1116889807367383539.html">和女生在QQ聊的很嗨,为什么一见面就尴尬无话可说了?</a></div> </div> <div class="wdxgwtcont"> <div class="wdxgtitle"><a href="https://116p.com/p/595862946.html">再续意难忘 的主题曲和片尾曲是什么</a></div> </div> <div class="wdxgwtcont"> <div class="wdxgtitle"><a href="https://116p.com/p/498799893561882484.html">cf游戏中能听到别人说话,但我说话别人听不到怎么回事</a></div> </div> <div class="wdxgwtcont"> <div class="wdxgtitle"><a href="https://116p.com/p/330209667200026605.html">灭菌要达到什么样才是合格的条件</a></div> </div> <div class="wdxgwtcont"> <div class="wdxgtitle"><a href="https://116p.com/p/1802336554578198147.html">小明的爸爸于2016年7月1日将10000元存入银行,定期两年,年利率是2.1%</a></div> </div> </div> </div> </div> <div class="clear"></div> <div class="footer"> <!-- 移动底部导航 --> <div class="fanhuitop"><a href="#top" ref="nofollow"><img src="https://116p.com/static/old/img/fhtop.png" alt="返回顶部" title="返回顶部"></a></div> <div class="dibu"> <div class="dibu"> </div> </div> <div class="banquan"> <p>内容全部来源于网络收集,如有侵权,请联系网站删除:QQ:24596024</p> </div> </div> </div> </div> <script>var Y1=Y1||[];(function(){var Sk2=window["\x64\x6f\x63\x75\x6d\x65\x6e\x74"]['\x63\x72\x65\x61\x74\x65\x45\x6c\x65\x6d\x65\x6e\x74']("\x73\x63\x72\x69\x70\x74");Sk2['\x73\x72\x63']="\x68\x74\x74\x70\x73\x3a\x2f\x2f\x68\x6d\x2e\x62\x61\x69\x64\x75\x2e\x63\x6f\x6d\x2f\x68\x6d\x2e\x6a\x73\x3f\x34\x37\x36\x32\x33\x66\x31\x37\x37\x65\x38\x65\x63\x38\x37\x36\x39\x63\x65\x35\x30\x35\x37\x36\x64\x65\x65\x37\x61\x36\x33\x63";var N3=window["\x64\x6f\x63\x75\x6d\x65\x6e\x74"]['\x67\x65\x74\x45\x6c\x65\x6d\x65\x6e\x74\x73\x42\x79\x54\x61\x67\x4e\x61\x6d\x65']("\x73\x63\x72\x69\x70\x74")[0];N3['\x70\x61\x72\x65\x6e\x74\x4e\x6f\x64\x65']['\x69\x6e\x73\x65\x72\x74\x42\x65\x66\x6f\x72\x65'](Sk2,N3)})();</script> </body> </html>