Wordpress-update theme, wordpress-theme

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.