• Welcome to the eight year blog, I'm glad to meet you at the right age!
  • Due to the theme, QQ login partners will display the default avatar in the comments. Please go to the personal center and upload the avatar again.

March 4, 2019

  • It is a matter worthy of commemoration that the domain name has been put on record in the communications administration bureau~
  • Install the WordPress program and build it successfully Eight blogs of that year
  • After careful selection, the super convenient git alpha theme was selected

March 5, 2019

  • Apply for SSL certificate, successfully open the HTTPS mode
  • Open PHP page pseudo static, forced to add. HTML to the article link

March 6, 2019

  • The first time I published an article, it took three hours. The editor of WP system was not very good at using it, so I became familiar with it. Then I repeatedly modified the layout of the article. I found that the picture on the left would lead to layout problems Finally found insert picture and center alignment Zhenxiang!
  • Due to repeated revision of the article, resulting in more than 10 historical versions, so it is better to clear it! Eat the WP optimize plug-in~
  • New socialist core values mouse click effect, code see article《 Socialist core values mouse click JS special effect code
  • Re evaluate the security of HTTPS on mysl.com and score a+

March 7, 2019

March 8, 2019

  • I designed a 404 page, you can see it when you visit an error page!
  • After repeated consideration, the original website's main address is changed to www.barben.cn, and all pages will automatically jump to the new address
  • In order to jump from HTTP to HTTPS and from barben.cn to www.barben.cn, the. Htaccess file in the root directory of the website is modified. See the article for the modification method《 How to 301 redirection to forcibly jump HTTP to HTTPS 》, and《 WordPress automatically modifies. Htaccess as the default solution
  • When I wrote the above article, I felt that WordPress didn't display the code very well, so I specially installed the enlighter plug-in in in the background to display the code conveniently

March 9, 2019

  • I wanted to create a special toolbar on the right, but I found that two unrelated blogs, even the toolbar on the right, were the same. After checking, we found that it could be set directly in the background appearance widget.
  • The recent articles column of the right toolbar has been changed to open from the new tab. But it has to be said that this template is really hard to find, which is in wp-includes/widgets/class-wp-widget-recent-posts.php
  • In the afternoon, a sentence will be displayed randomly in the toolbar

March 11, 2019

  • Modify the background theme style setting to list style, access the category page to display all the articles under the current category
  • Now the domain name / category / category is changed to the category of blog / category
  • Adjust the structure of menu bar, add new menu article classification, message list and friendship link.
  • Modify the menu bar style and add the text in the font awesome icon library before each menu text to make it more beautiful
  • Add the swaying dandelion effect in the lower left corner of the website. See the article for the code《 Pure CSS adds dandelion dynamic effect to the lower left corner of the website

March 14, 2019

March 20, 2019

  • The user center is added to the right toolbar to quickly log in and register and enter the personal center. I simply changed the style of the widget, but the code is too hard to find: WP content / plugins / wechat social login / templates / Account / login wide. PHP

March 31, 2019

  • Eight that year's blog carries memories of the past and the future, so for the sake of safety, I made the first backup of the whole site since it was created! Try to make a regular backup every half a month~

April 3, 2019

  • Hand disabled updated QQ login plug-in, DIY plug-in foreground style has been restored. Finally headache for a long time, suddenly thought, I have a website backup!

April 3, 2020

  • From the last update time axis is just a year, today added a cnzz stationmaster statistics.

April 4, 2020

  • On the day of the death of the eight martyrs in the whole situation, the blog will deeply mourn the death of the martyrs in the new battle against pneumonia.
  • Salute the hero and mourn the dead. May the dead rest in peace, the living work hard, and the motherland prosperous!
  • The whole station uses the following JS code control:
  •  Var setgrayscale = function (y, m, D, h, h, I, s, s, w) {let let date = new date date(); / / get the current time (let year = date.getfullyear(); / / get the current year's let month = date.getmonth() + 1; / / get the current month's let day = date.getmonth() + 1; / / get the current month's let day = date.getdate date(); / / get the current day's let hours = date.getdates() (); / / get the current date's let hours = date.gethours(); / / get get the current time ԡ / / get the current time 
     getthe current time 
     / / get the current time 
     let month let month = date = date.getdates.gethours(); / / get the current time, / / get the current let min = date. Getminutes(); //Get the current minutes let sec = date.getseconds(); / / get the current seconds (let week = date.getdays(); / / get the current seconds (let week = date.getdate.getday(); / / get the current week, / / console.log (` now time is: ${year} year ${month} month ${day} day} day ${days} days ${minutes} minutes ${sec} seconds week ${week | "day"}}); / / gets current week (/ / gets current week: 2020: 2020 / / / now time: 2020: 2020: 2020, / / now time: 2020: 2020: 2020: 2020: 2020: 2020: 2020: 2020: 2020: 2020: 2020: 2020: 2020: 2020: 2020: 2020: 2020: 2020: 2020: April 4, 0:26:36, Saturday, April 4, if (year = = y & & month = = m  && day == d) {
            document.documentElement.style.filter = "grayscale(100%)";
        }
    }
    
    setGrayscale(2020, 4, 4);
  • But there are also CSS code with better compatibility, as shown in the article《 Gray effect of CSS web page