Home > CMS Tutorial > DEDECMS > body text

How to remove the LI tag in dedecms friendly links

藏色散人
Release: 2019-12-07 10:12:41
Original
2354 people have browsed it

How to remove the LI tag in dedecms friendly links

How to remove the LI tag in dedecms friendly links?

The example in this article describes the method of removing the LI tag in the dedecms friendly link. Share it with everyone for your reference. The specific method is as follows:

Recommended learning: 梦Weavercms

Many friends have been searching online for a long time and saw some methods to remove the li tag and change the source code of the website. , this method is not advisable. Today I will summarize for you the simplest way to remove the LI tag in front of the dede friendly link.

The following 3 lines of code replace the original code:

The code is as follows :

{dede:flink row='1000'} 
[field:link /] 
{/dede:flink}
Copy after login

The official code is:

The code is as follows:

{dede:flinktype type="dedecms"} 
{dede:flink/}
{/dede:flinktype}
Copy after login

If you write {dede:flink/} directly, the li tag will appear, but we use

The code is as follows:

{dede:flink row='1000'} [field:link /]{/dede:flink}
Copy after login

There will be no li immediately. This method is currently tested and passed on 5.7sp1

The above is the detailed content of How to remove the LI tag in dedecms friendly links. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template