Wordpress-update theme, wordpress-theme
There was nothing to do over the weekend. I felt that I could not continue to play the three-nation killing command, the three armies, so I was looking for something to do, I remembered that I still have a website (although it is very simple, it is also my "doll ). Log on to the background. Failed to update the topic on the Management page, prompting that there are no write permissions in some places, so you are too lazy to open so many permissions, so you can directly update the topic manually. The method is as follows:
1. Enter the topic directory of the server.
Cd wordpress/wp-content/themes
2. Back up the current topic. Take my current topic papercuts as an example. After the backup, delete the original topic.
Cp-r papercuts papercuts_bak
Mv-r papercuts
3. Download the theme file from a local computer
4. Store the downloaded topic file to the topic directory of the server remotely.
Scp papercuts.zip root@111.111.111.111:/wordpress/wp-content/themes
5. Extract the topic
Upzip papercuts.zip
6. for example, if my website now has the "webmaster Statistics" function, I will go to the directory of the original topic and find foot. php: copy the code of the original webmaster statistics and copy it to the foot under the directory of the new topic. php.
Now that the theme update is complete, you can directly refresh the theme to see the effects of the new theme. Unfortunately, I did not see the differences with the naked eye, it is worth removing the Red Circle reminder.
Note: This article is also published on your personal website yesareno.