Dedecms use keyword tag to invoke an article containing a keyword

Source: Internet
Author: User

Earlier we explored the call {dede:likewords} for Dedecms to add related search terms, if you want to invoke an article containing a keyword can be implemented? For example, Ytkah's website has many articles containing the word "", so I would like to call in the website home page, channel page, article page and other pages containing the word "", how to call it? Actually, just a few lines of code is enough.

{dede:arclist row= ' 5 ' titlelen= ' orderby= ' pubdate ' keyword= ', public number ' typeid= ' column ID '}<li>[field: Textlink/]<br/>
function= ' Cn_substr (@me, $) '/]</li>{/dede:arclist}

Multiple keywords in English comma "," separate, note must be in English state, function= ' Cn_substr (@me, 200) ' represents the number of bytes of control description, interested can refer to the previous article how to control the length of the dedecms description?

Dedecms use keyword tag to invoke an article containing a keyword

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.