Updating wordpress theme - wordpress

I am building a new website and I need to update it to the newest version. The steps are below could someone please explain in more detail whats involved in step 3? Thanks John
Follow the below steps to update the theme.
1) Download the theme from themeforest page.
2) If you have made any custom changes in the code, please take a backup of it.
3) Overwrite the updated theme files to the older theme files. Update the custom change
that you had already.
4) go to wp-content/plugins/ through FTP
5) Remove the folder designthemes-core-features/ from wp-content/plugins/
6) Then Login to Dashboard -> Appearance -> Install Plugins. Install the Designthemes Core
Features plugin. Thats it. Now you are updated to the latest version.

First part says to copy paste new theme files over old theme files.
2nd line means if you have changed (modified) any theme files of your current installation it needs to be made to new files (latest version you downloaded) manually. Or you might lose any changes or modifications you made.

Related

Whether wordpress automatically backup old theme before updating the theme?

I have developed many scripts and have put inside the theme folder of wordpress. Today somehow the theme got updated automatically. Now all the scripts gone. Nothing was there. Whether wordpress will backup the old theme somewhere before it updating the theme automatically?
PS: I haven't installed any plugin to backup automatically!
Thanks for your replies
Wordpress will update and overwrite all the default (included) themes when it upgrades, so your changes will be overwritten.
To prevent this in future you should use a child theme, or manually upgrade by downloading the zip file from wordpress.org, unzipping it, and deleting the files that you don't want to be overwritten, then copying that across your existing installation. Creating a backup before you do this is also a good idea.
To prevent this I strongly recommend that next time you work around with a child theme instead of editing your main theme files. This will prevent your edited files to be overwritten when the theme updates itself. Also start using a plugin that backups your files.
Wordpress itself doesn't backup any files prior to updating Wordpress, themes or plugins. What got overwritten is now overwritten. You can contact your host support and ask them if they made any backups on your site (some hosts do that on a weekly basis so they can revert changes in case of an error - but this is on a host by host basis and not all do this).
Hope this will be a good lesson for you to think about this things beforehand and I hope you retrieve all your lost files.

New version of WordPress plugin not reflected

I'm new to WordPress. I was trying to upload a new version of my plugin after a bug fix. In trunk/readme.txt, I've mentioned Stable tag: 1.0.1. Also added all the new code to folder tags/1.0.1.
But still, when I visit my plugin's home screen, it shows the version as 1.0.0. Also, in side a WordPress admin page of a site, it says that latest version(1.0.0) of my plugin is installed which is not true. It should be 1.0.1.
Plugin : https://wordpress.org/plugins/negotiabl-woocommerce-extension/
SVN : http://plugins.svn.wordpress.org/negotiabl-woocommerce-extension/
What am I missing out? Please help me crack this
In addition to changing the readme.txt file and tagging, you also need to change the version number in the header of the plugin's main file - plugin.php file in your case.

Can i update wordpress version of my PHP5 customised wordpress site into latest wordpress version?

Can i update wordpress version of my PHP5 customised wordpress site into latest wordpress version? Now it is in 4.6 and i want to move it to 4.9.1. Any issues will be rised?
You can do it and mostly that will not cause any of issue. But before do WordPress update make sure you have to take backup for your databases once.
First of all take backup for database and make your full theme folder backup and store it as a zip , so if any issue will be raised then you directly unzip that as a theme and that will work fine.
If you have do your WordPress customization all in function.php file then your new WordPress will work perfect with your changes.
If your site have Woocomerce or other more useful plugin for front site then you should take backup for that also.
After WordPress update you may be find plugin update so do it one by one.

WP Core Update will leave wp-content alone?

Hi I have a wordpress website and want to update via wp-cli.
Will the command wp core update leave the wp-content folder alone?
The upgrade process will affect all files and folders included in the main WordPress installation(Mainly it's wp-admin and wp-includes). This includes all the core files used to run WordPress. If you have made any modifications to those files, your changes will be lost.
Simply, you can change only wp-content files. And wp-content will not be affected by core update.
But, I suggest to take backup before any update.
[user#server]$ wp core update will not update the wp-content folder ideally.
You should be careful with WP CLI as it can upgrade to a major version of wordpress instead of a minor one. This might lead to plugin incompatibility.
Please use the following commands to check the version and upgrade to a minor version if necessary.
[user#server]$ wp core version
[user#server]$ wp core update --minor
Also it is a very good idea to take a complete backup before updating your wordpress installation.
You can use a free plugin like Duplicator which will give you a nice backup for your installation.
Happy updating!!

how to install downloaded wordpress theme in xampp

I am trying to install a theme I downloaded from this website.
I am using XAMPP and I am not sure how to install this dowloaded theme using XAMPP.
I tried installing this theme with the zip folder (in zip format) in Wordpress but I get the error
” The package could not be installed. The theme is missing the style.css stylesheet.
Theme install failed. “
I found a similar on Wordpress website but they mentioned using FTP but I don’t know how to use FTP with XAMPP
I want to install the theme and test it out locally before I make it live or buy a domain name.
This is my first time doing this (I am a student) so I don’t totally know how things work together, don’t know if I am using the description/terms but I hope I described the problem well enough.
How to go about this? Any help will be appreciated.
Thanks
OK so its a bit weird that the theme you downloaded is missing the CSS file. When you upload it Wordpress is trying to find that file and failing. For now, let's assume that the creator of the theme put the CSS file in a different location than usual.
To install a theme manually via XAMPP do the following:
Locate XAMPP's htdocs folder. This is normally Applications>>XAMPP>>HTDOCs on Mac or My Computer>>C:>>XAMPP>>HTDOCs on Windows (I think - someone might need to correct me on that).
If your site is installed in a sud-directory in htdocs, go there. If not skip to next step.
Open the wp-content folder
Open the themes folder
Copy in your downloaded theme and extract it there (if its zipped)
Go to your Wordpress Dashboard and go to the Appearance button on the left and click Themes from the drop down. Find your newly installed theme and hit Activate.
That should do the trick unless your theme is missing some vital elements
(PS: what your are doing here - moving (theme) files from one location to another - is essentially the same as FTP. Difference is FTP allows you to transfer files accross the internet from computer to computer: say your computer to a web server hosting your site.)
Add this lines to your wp-config.php file
//** To add the direct installation of the themes **//
define('FS_METHOD', 'direct');
Then go to wp-admin and click on customize your site. Press on change button on the active theme and browse for your favorite theme from wordpress.org and install then enjoy

Resources