There have been many modifications to the discuzX3 code over the past few days. of course, I will not write the code myself. I have modified the methods I found on the Internet, but I always forget that, so I recorded it in my blog, which is also convenient for my friends who have encountered the same problem. First, find the template/default/portal/view.htm and modify it in the last few days of street 171 of this file.
DiscuzThere are a lot of X3 code, and of course I won't write the code myself. I tried to find a method on the Internet to modify it myself, but I always forgot it. so I recorded it in my blog, it is also convenient for friends who encounter the same problems as me.
First find the template/default/portal/view.htm
Remove the lines in the 171 Street and 199 lines of the file, and save the overwrite source file.
However, it should be noted that the modification is complete and the cache is updated, but the related categories are still there. here we need to DIY a sidebar. after DIY, the related categories will not exist.