<input type="hidden" id="_wpnonce" name="_wpnonce" value="df5d87effe" /><input type="hidden" name="_wp_http_referer" value="/blog/wp-json/wp/v2/posts/3402" /><input type="hidden" id="_wpnonce" name="_wpnonce" value="df5d87effe" /><input type="hidden" name="_wp_http_referer" value="/blog/wp-json/wp/v2/posts/3402" />{"id":3402,"date":"2015-08-25T14:54:35","date_gmt":"2015-08-25T04:54:35","guid":{"rendered":"https:\/\/www.businesslegions.com\/blog\/?p=3402"},"modified":"2015-08-25T14:54:35","modified_gmt":"2015-08-25T04:54:35","slug":"how-to-rename-your-wordpress-theme","status":"publish","type":"post","link":"https:\/\/www.businesslegions.com\/blog\/2015\/08\/25\/how-to-rename-your-wordpress-theme\/","title":{"rendered":"How To Rename Your WordPress Theme"},"content":{"rendered":"<!--CusAds0--><p>There are a number of advantages of renaming a WordPress Theme but I won&#8217;t into details in this post. I just need to jot down some of the steps. Here&#8217;s the steps (I&#8217;m using a CentOS VPS server so some of these commands may not work for you):<\/p>\n<p>Firstly, SSH into your server and go into the folder wp-content\/themes\/<\/p>\n<p>Copy the folder of the theme you are currently using to a new name e.g phototastic to newtheme. The command I used was:<\/p>\n<div id=\"wpshdo_1\" class=\"wp-synhighlighter-outer\"><div id=\"wpshdt_1\" class=\"wp-synhighlighter-expanded\"><table border=\"0\" width=\"100%\"><tr><td align=\"left\" width=\"80%\"><a name=\"#codesyntax_1\"><\/a><a id=\"wpshat_1\" class=\"wp-synhighlighter-title\" href=\"#codesyntax_1\"  onClick=\"javascript:wpsh_toggleBlock(1)\" title=\"Click to show\/hide code block\">Source code<\/a><\/td><td align=\"right\"><a href=\"#codesyntax_1\" onClick=\"javascript:wpsh_code(1)\" title=\"Show code only\"><img decoding=\"async\" border=\"0\" style=\"border: 0 none\" src=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/plugins\/wp-synhighlight\/themes\/default\/images\/code.png?strip=all&w=960\" \/><\/a>&nbsp;<a href=\"#codesyntax_1\" onClick=\"javascript:wpsh_print(1)\" title=\"Print code\"><img decoding=\"async\" border=\"0\" style=\"border: 0 none\" src=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/plugins\/wp-synhighlight\/themes\/default\/images\/printer.png?strip=all&w=960\" \/><\/a>&nbsp;<a href=\"https:\/\/www.businesslegions.com\/blog\/wp-content\/plugins\/wp-synhighlight\/About.html\" target=\"_blank\" title=\"Show plugin information\"><img decoding=\"async\" border=\"0\" style=\"border: 0 none\" src=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/plugins\/wp-synhighlight\/themes\/default\/images\/info.gif?strip=all&w=960\" \/><\/a>&nbsp;<\/td><\/tr><\/table><\/div><div id=\"wpshdi_1\" class=\"wp-synhighlighter-inner\" style=\"display: block;\"><pre class=\"php\" style=\"font-family:monospace;\">cp <span class=\"sy0\">-<\/span>r phototastic newtheme<\/pre><\/div><\/div>\n<p><a href=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme.png?strip=all&w=2560\"><img decoding=\"async\" class=\"alignnone size-full wp-image-3703\" src=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme.png?strip=all\" alt=\"Rename Your WordPress Theme\" width=\"709\" height=\"246\" srcset=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme.png?strip=all 709w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-300x104.png?strip=all 300w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme.png?strip=all&amp;w=141 141w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme.png?strip=all&amp;w=425 425w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme.png?strip=all&amp;w=567 567w\" sizes=\"(max-width: 709px) 100vw, 709px\" \/><\/a><\/p>\n<p>As you can see above, the file ownership belongs to root, so we need to change the file\u00a0ownership to admin. The command I used was:<\/p>\n<div id=\"wpshdo_2\" class=\"wp-synhighlighter-outer\"><div id=\"wpshdt_2\" class=\"wp-synhighlighter-expanded\"><table border=\"0\" width=\"100%\"><tr><td align=\"left\" width=\"80%\"><a name=\"#codesyntax_2\"><\/a><a id=\"wpshat_2\" class=\"wp-synhighlighter-title\" href=\"#codesyntax_2\"  onClick=\"javascript:wpsh_toggleBlock(2)\" title=\"Click to show\/hide code block\">Source code<\/a><\/td><td align=\"right\"><a href=\"#codesyntax_2\" onClick=\"javascript:wpsh_code(2)\" title=\"Show code only\"><img decoding=\"async\" border=\"0\" style=\"border: 0 none\" src=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/plugins\/wp-synhighlight\/themes\/default\/images\/code.png?strip=all&w=960\" \/><\/a>&nbsp;<a href=\"#codesyntax_2\" onClick=\"javascript:wpsh_print(2)\" title=\"Print code\"><img decoding=\"async\" border=\"0\" style=\"border: 0 none\" src=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/plugins\/wp-synhighlight\/themes\/default\/images\/printer.png?strip=all&w=960\" \/><\/a>&nbsp;<a href=\"https:\/\/www.businesslegions.com\/blog\/wp-content\/plugins\/wp-synhighlight\/About.html\" target=\"_blank\" title=\"Show plugin information\"><img decoding=\"async\" border=\"0\" style=\"border: 0 none\" src=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/plugins\/wp-synhighlight\/themes\/default\/images\/info.gif?strip=all&w=960\" \/><\/a>&nbsp;<\/td><\/tr><\/table><\/div><div id=\"wpshdi_2\" class=\"wp-synhighlighter-inner\" style=\"display: block;\"><pre class=\"php\" style=\"font-family:monospace;\"><a href=\"http:\/\/www.php.net\/chown\"><span class=\"kw3\">chown<\/span><\/a> <span class=\"sy0\">-<\/span>Rv admin<span class=\"sy0\">:<\/span>admin newtheme<\/pre><\/div><\/div>\n<p><a href=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-change-ownership.png?strip=all&w=2560\"><img decoding=\"async\" class=\"alignnone size-full wp-image-3704\" src=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-change-ownership.png?strip=all\" alt=\"Rename Your WordPress Theme - change ownership\" width=\"939\" height=\"321\" srcset=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-change-ownership.png?strip=all 939w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-change-ownership-300x103.png?strip=all 300w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-change-ownership.png?strip=all&amp;w=187 187w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-change-ownership.png?strip=all&amp;w=375 375w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-change-ownership.png?strip=all&amp;w=563 563w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-change-ownership.png?strip=all&amp;w=751 751w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-change-ownership.png?strip=all&amp;w=450 450w\" sizes=\"(max-width: 939px) 100vw, 939px\" \/><\/a><\/p>\n<p>Go into the newtheme folder and edit the styles.css file. In particular change the Theme Name, Theme URI, Author, Author URI and Text Domain.<\/p>\n<p><a href=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-style-css-file.png?strip=all&w=2560\"><img decoding=\"async\" class=\"alignnone  wp-image-3706\" src=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-style-css-file.png?strip=all\" alt=\"Rename Your WordPress Theme - style css file\" width=\"941\" height=\"333\" srcset=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-style-css-file.png?strip=all 986w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-style-css-file-300x106.png?strip=all 300w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-style-css-file.png?strip=all&amp;w=197 197w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-style-css-file.png?strip=all&amp;w=394 394w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-style-css-file.png?strip=all&amp;w=591 591w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-style-css-file.png?strip=all&amp;w=788 788w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-style-css-file.png?strip=all&amp;w=450 450w\" sizes=\"(max-width: 941px) 100vw, 941px\" \/><\/a><\/p>\n<p>Switch the theme in the dashboard by going to Appearance and active\u00a0your new theme.<\/p><!--CusAds0-->\n<p><a href=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-activate-new-theme.png?strip=all&w=2560\"><img decoding=\"async\" class=\"alignnone size-full wp-image-3707\" src=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-activate-new-theme.png?strip=all\" alt=\"Rename Your WordPress Theme - activate new theme\" width=\"386\" height=\"355\" srcset=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-activate-new-theme.png?strip=all 386w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-activate-new-theme-300x276.png?strip=all 300w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-activate-new-theme.png?strip=all&amp;w=77 77w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-activate-new-theme.png?strip=all&amp;w=154 154w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-activate-new-theme.png?strip=all&amp;w=231 231w\" sizes=\"(max-width: 386px) 100vw, 386px\" \/><\/a><\/p>\n<p>If you want to retain the look and feel of your previous theme then you need to go into the database and in the wp_options table look the option_name called theme_mods_[old_theme] and copy the option_values from this to theme_mods_[new_theme]\n<p><a href=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-Database-Theme-Mod1.png?strip=all&w=2560\"><img decoding=\"async\" class=\"alignnone size-full wp-image-3709\" src=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-Database-Theme-Mod1.png?strip=all\" alt=\"Rename Your WordPress Theme - Data\" width=\"1094\" height=\"220\" srcset=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-Database-Theme-Mod1.png?strip=all 1094w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-Database-Theme-Mod1-300x60.png?strip=all 300w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-Database-Theme-Mod1.png?strip=all&amp;w=218 218w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-Database-Theme-Mod1.png?strip=all&amp;w=437 437w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-Database-Theme-Mod1.png?strip=all&amp;w=656 656w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-Database-Theme-Mod1.png?strip=all&amp;w=875 875w\" sizes=\"(max-width: 960px) 100vw, 960px\" \/><\/a><\/p>\n<p>You can also update the screenshot.png by tacking a screenshot of your website and then uploading the file to wp-contents\/themes\/newtheme\/<\/p>\n<p>In some instances, I had to reselect the Menu items in the Manage Location section.<\/p>\n<p><a href=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-Menu.png?strip=all&w=2560\"><img decoding=\"async\" class=\"alignnone  wp-image-3710\" src=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-Menu.png?strip=all\" alt=\"Rename Your WordPress Theme - Menu\" width=\"1038\" height=\"229\" srcset=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-Menu.png?strip=all 1070w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-Menu-300x66.png?strip=all 300w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-Menu.png?strip=all&amp;w=214 214w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-Menu.png?strip=all&amp;w=428 428w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-Menu.png?strip=all&amp;w=642 642w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/08\/Rename-Your-WordPress-Theme-Menu.png?strip=all&amp;w=856 856w\" sizes=\"(max-width: 960px) 100vw, 960px\" \/><\/a><\/p>\n<div class=\"lt-note\" style=\"background-color:#33bfff;border:1px solid #009de5\"><div class=\"lt-note-shell\" style=\"border:1px solid #ccefff;color:#00344c\">NOTE: There are a few drawbacks with renaming your WordPress theme, one being that if there are any updates to the theme, you may not be able to simply click on the update button.<\/div><\/div>\n<div class=\"lt-box\" style=\"border:1px solid #22a89f\"><div class=\"lt-box-title\" style=\"background-color:#2bd2c7;border-top:1px solid #aaede9;text-shadow:1px 1px 0 #0d3f3c\">FEEDBACK<\/div><div class=\"lt-box-content\">I hope this has helped some of you. If you need any further help, please let me know by leaving a comment.<\/div><\/div>\n<p>&nbsp;<\/p>\n<div class=\"lt-box\" style=\"border:1px solid #1d6a9e\"><div class=\"lt-box-title\" style=\"background-color:#2485C6;border-top:1px solid #a7cee8;text-shadow:1px 1px 0 #0b283b\">DO YOU LIKE WHAT YOU'VE READ?<\/div><div class=\"lt-box-content\">Join our subscription list and receive our content right in your mailbox. If you like to receive some Great deals our Freebies then subscribe now!\r\n\r\n<p><div class=\"tnp tnp-subscription \">\n<form method=\"post\" action=\"https:\/\/www.businesslegions.com\/blog\/wp-admin\/admin-ajax.php?action=tnp&amp;na=s\">\n<input type=\"hidden\" name=\"nlang\" value=\"\">\n<div class=\"tnp-field tnp-field-firstname\"><label for=\"tnp-1\">Name<\/label>\n<input class=\"tnp-name\" type=\"text\" name=\"nn\" id=\"tnp-1\" value=\"\" placeholder=\"\"><\/div>\n<div class=\"tnp-field tnp-field-email\"><label for=\"tnp-2\">Email<\/label>\n<input class=\"tnp-email\" type=\"email\" name=\"ne\" id=\"tnp-2\" value=\"\" placeholder=\"\" required><\/div>\n<div class=\"tnp-field tnp-field-button\" style=\"text-align: left\"><input class=\"tnp-submit\" type=\"submit\" value=\"Subscribe\" style=\"\">\n<\/div>\n<\/form>\n<\/div>\n<\/p>\r\n\r\n<\/div><\/div><!--CusAds0-->\n<div style=\"font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;\"><\/div>","protected":false},"excerpt":{"rendered":"<p>There are a number of advantages of renaming a WordPress Theme but I won&#8217;t into details in this post. I just need to jot down some of the steps. Here&#8217;s the steps (I&#8217;m using a CentOS VPS server so some of these commands may not work for you): Firstly, SSH into your server and go [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3712,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[505,1909,500,890,880,1853,1936],"class_list":["post-3402","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-business","tag-change","tag-css","tag-name","tag-style","tag-theme","tag-theme-name","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/posts\/3402","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/comments?post=3402"}],"version-history":[{"count":6,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/posts\/3402\/revisions"}],"predecessor-version":[{"id":3714,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/posts\/3402\/revisions\/3714"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/media\/3712"}],"wp:attachment":[{"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/media?parent=3402"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/categories?post=3402"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/tags?post=3402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}