Show emoticons in the latest comments in the Typecho sidebar November 6, 2013 Wolf Happy sharing 9386 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, '...'); If the above is truncated 50 characters 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 12206 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 process of searching. 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 26703 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. Just now I added a avatar, which looks much more comfortable. Cool. 1. The setting of article title makes it friendly to search engines [blog home page] --->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 13160 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 file 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 now only needs to modify the calling function of the template I just found it. I tested it read the whole passage comments Typecho sidebar
Typecho Comment Link New Window December 13, 2010 Wolf Happy sharing 42782 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, at var Widget Abstract, I found 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 11182 times 4 Find/var/Widget/Comments/Recent.php in the original: (the 0.8 version is 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 15977 times 16 Looking at other people's blogs so fast, why is my small website so slow? I am not happy. Although I know that inove has many themes, pictures and special effects. In addition, the host is in America, which is somewhat slower than the domestic host. But it is not so outrageous, is it? Well, I will continue my work the day before yesterday while it is time at one o'clock in the afternoon. 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 Vango's many useful tutorials read the whole passage wordpress Blog plug-in unit comments