In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Xiaobian to share with you the empire cms to judge the subtitle or the original title of the method, I believe most people do not know how to, so share this article for your reference, I hope you have a lot of harvest after reading this article, let's go to understand it together!
How does the cms determine whether the subtitle or the original title?
2 ways to determine whether the output subtitle or the original title is output by empire cms
Many times for the interface or publicity effect, the title of the article page or other pages need to be changed, this time you need to use the subtitle when the title is used. Powerful empire cms must also have subtitles, in the article page and other sub-pages and column pages have subtitles this field.
However, in most cases, there is no need to use subtitles. If we set subtitles one by one, it will waste a lot of valuable time. At this time, we will consider how to output the original title when the subtitle is empty.
Most of the online searches have only one way to achieve the subtitle is empty when the output shows the original title, that is, the page body is implemented with smart tags, the code is as follows:
The code is as follows:
It should be noted that this code needs to be used in the smart tag, so it can only appear in Chinese. If you want to display the title in the title tag, it is not allowed. After testing, the following code can display the original title when the subtitle is empty in the title tag:
The code is as follows:
_[!-- class.name--] The above is all the content of the method of judging whether the subtitle or the original title is determined by the imperial cms. Thank you for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.