{"id":2500,"date":"2024-06-07T21:59:16","date_gmt":"2024-06-07T21:59:16","guid":{"rendered":"https:\/\/themes.wpdaddy.com\/docs\/2024\/06\/07\/how-to-update-theme\/"},"modified":"2024-06-07T21:59:16","modified_gmt":"2024-06-07T21:59:16","slug":"how-to-update-theme","status":"publish","type":"post","link":"https:\/\/themes.wpdaddy.com\/docs\/2024\/06\/07\/how-to-update-theme\/","title":{"rendered":"How to Update Theme"},"content":{"rendered":"<p>Updating your WordPress theme to the latest version is highly recommended, not only because it ensures you having all the latest features, but you\u2019ll be up-to-date with any security patches.<\/p>\n<p><strong>Auto-Update:<\/strong><br \/>\nIf you want WordPress to handle theme updates automatically you need enable a special option in the Theme options > Product Activation > Enable Auto-update On\/Off.<\/p>\n<p>All the future theme updates will be available through Dashboard > Updates. You will also see a new version of the theme in Appearance > Themes. Click update theme.<\/p>\n<p>Important: If you&#8217;ve modified the theme files code, all those changes will be lost because the old theme files will be overwritten with the new ones. That&#8217;s why we recommend using a child theme. How to use a child theme? Please read more here <a href=\"https:\/\/www.smashingmagazine.com\/2016\/01\/create-customize-wordpress-child-theme\/\">https:\/\/www.smashingmagazine.com\/2016\/01\/create-customize-wordpress-child-theme\/<\/a><\/p>\n<p><strong>Uploading and Replacing the Existing Theme:<\/strong><br \/>\nBefore getting started you need to back up your database and your current theme. Since we\u2019re replacing and updating theme files, there\u2019s a chance something could go wrong so it\u2019s better to keep it safe and have a backup.<\/p>\n<p>While using this method &#8220;uploading and replacing an existing theme&#8221;, please don&#8217;t go to Appearance > Themes > Add New and try to upload a new version of a theme with the same name, it will fail and you\u2019ll get an error message stating that the destination folder already exists. The reason for this error is due to the fact you can\u2019t have two folders in your themes directory with identical names (obviously!)<\/p>\n<p>Connect to your website via FTP or log into cPanel and delete the old theme (your website data and theme settings won&#8217;t be lost, don&#8217;t worry) and then upload or add a new version. Make sure that you&#8217;ve made a backup of the old version of your theme just in case something goes wrong.<\/p>\n<p>After successful update, please log in to your WordPress dashboard and check if everything is ok. Newer versions of the plugins can be required, please update them either. If you have some questions or concerns, please contact us.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Updating your WordPress theme to the latest version is highly recommended, not only because it ensures you having all the latest features, but you\u2019ll be up-to-date with any security patches. Auto-Update: If you want WordPress to handle theme updates automatically you need enable a special option in the Theme options > Product Activation > Enable [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2500","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/themes.wpdaddy.com\/docs\/wp-json\/wp\/v2\/posts\/2500","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/themes.wpdaddy.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/themes.wpdaddy.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/themes.wpdaddy.com\/docs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/themes.wpdaddy.com\/docs\/wp-json\/wp\/v2\/comments?post=2500"}],"version-history":[{"count":0,"href":"https:\/\/themes.wpdaddy.com\/docs\/wp-json\/wp\/v2\/posts\/2500\/revisions"}],"wp:attachment":[{"href":"https:\/\/themes.wpdaddy.com\/docs\/wp-json\/wp\/v2\/media?parent=2500"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/themes.wpdaddy.com\/docs\/wp-json\/wp\/v2\/categories?post=2500"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/themes.wpdaddy.com\/docs\/wp-json\/wp\/v2\/tags?post=2500"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}