Show emoticons in the latest comments in the Typecho sidebar November 6, 2013 Wolf Happy sharing 10420 times 7 The most original code of the latest comments in the sidebar, where the content is displayed, is: $comments ->content(); It outputs whatever comments are made. Of course, this is no problem in itself, but if it is used in the sidebar, it may make the sidebar very messy. Then there is the requirement of content truncation and how many words to truncate. The code is: $comments ->excerpt (50, '...'); For example, 50 characters are truncated above .. read the whole passage HTML comments Typecho
Typecho displays and hides basic information of visitors according to their cookies October 12, 2013 Wolf Happy sharing 13489 times 12 I don't know whether the title is accurate. Let's call it that. The default themes of Typecho do not automatically hide visitor information, which means that the nickname, email, and website address will not automatically shrink after the first time the visitor enters the basic information message. I don't know when to start, but I am also obsessed with this problem. I thought it would be great if I could shrink it. So I started the search process. Finally, I found the tutorial on other people's blogs .. read the whole passage JavaScript comments Typecho
Summary of common codes for making typecho theme templates April 17, 2011 Wolf Happy sharing 28145 times Article 28 The code for making Typecho templates has been transferred before, but a large part of it is still missing. Look at my current sidebar, which I just modified. By default, there is no avatar, which feels bad. I just added a avatar, which looks much more comfortable, cool. 1, article title Set to be friendly to search engines [Blog Home] --->Blog Name Blog Description [Archive page] --->XXXX/XX - Blog name .. read the whole passage comments Typecho sidebar
The latest comment in Typecho sidebar does not display the latest method of blogger's comment (template modification) February 24, 2011 Wolf Happy sharing 14158 times 7 Typecho sidebar, which displays blogger comments by default When I use Typecho, I modify the source code so that the sidebar does not display blogger comments After all, the location is limited The previous method was to modify the original document It may need to be changed after upgrading There are some problems. Fortunately, Typecho has not been updated for a long time The new method is just to modify the calling function of the template I just found it and tested it ... read the whole passage comments Typecho sidebar
Typecho Comment Link New Window December 13, 2010 Wolf Happy sharing 43984 times 16 The default link of Typecho's comments is opened on the current page. I feel a bit uncomfortable, but I haven't modified it all the time, and I'm too lazy to look for the source code. I saw in the Typecho's forum that the webmaster said that the template can be changed. I seriously looked for it, and felt that it was fooling everyone. There is no place to change the template. Maybe the previous version is OK, but the current version cannot be modified. Well, I have to search. Finally, I found it under var Widget Abstract .. read the whole passage wordpress comments Typecho
Typecho: The latest comments in the sidebar do not display the blogger's comments October 22, 2010 Wolf Happy sharing 12191 times 4 Find/var/Widget/Comments/Recent.php in the original: (0.8 version in line 43) $select=$ this->select()->limit($this->parameter->pageSize) ->where('table.comments.status = ?'... read the whole passage comments Typecho
Blog notes again January 25, 2010 Wolf Happy sharing 17492 times 16 Looking at other people's blog so fast, why my small station is so slow, I feel very uncomfortable Although I know that inove has many themes, pictures and special effects In addition, the host is in the United States, which is somewhat slower than the domestic host But it's not so outrageous, is it? OK, take advantage of the time at one o'clock in the afternoon to continue the work the day before yesterday. Today, continue to struggle My goal is to reduce the number of plug-ins as much as possible and follow GZIP I have consulted a lot of tutorials, mainly the useful ones of Vango .. read the whole passage wordpress Blog plug-in unit comments