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}
The official code is:
The code is as follows:
{dede:flinktype type="dedecms"} {dede:flink/} {/dede:flinktype}
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}
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!