Home>Support>Change theme name in source code

Change theme name in source code

By pgcarpets, 9 years ago. Last reply by Andrew Misplon, 9 years ago.

Hello,
I would like to know is it possible to change the theme name in the source code for when business competitors are looking it up in web browsers. Also is it possible to hide style.css file from the source code. I am a Vantage Premium customer and it is imperative to me that my business web page is protected in such a way, that rival businesses are unable to track its progress.

With Kind Regards,
Support Team, PG Carpets and Flooring

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    Hi pgcarpets

    You’d need to test this all out but I’d imagine you’d:

    1. Re-name the theme folder to some other name, you can do this via FTP at /wp-content/themes/

    2. Try running a caching plugin like: https://wordpress.org/plugins/wp-fastest-cache/ and try enabling CSS minifcation. This would remove all comments like the theme name from front-end viewable CSS.

  2. 9 years, 10 months ago paljacob

    This is just what I wanted too, So I did a quick test. The theme got broken and I activated Vantage Premium again, but it looks like all vantage settings was lost, so I just went back before I mess up everything.

    Do you think it is only to first export all settings and then import it again and we are good to go with renamed folder?

  3. 9 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    Sorry about that. Let me get a quick consult on my side. I’ll come back to you asap on this.

  4. 9 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    Ok so I chatted to Greg about this now. His advice was pretty much the same as mine. Did you try changing the theme folder name via FTP? That in conjunction with a minification plugin should do the trick.

  5. 9 years, 10 months ago paljacob

    I did not add the minification plugin, I will try that later.

  6. 9 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    For sure. That’ll help completely remove all CSS comments.

  7. 9 years, 10 months ago pgcarpets

    I’ve changed the theme name with FTP client, however all widgets got shuffled and my logo disappeared. i put everything back in its place and now all is working fine. I do hope that it keeps working correctly with this theme name change and that it won’t cause any problems in future. Thanks a lot for your help Andrew, it’s very much appreciated.

  8. 9 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    Sorry to hear about the hassle. Hopefully everything is in order moving forward. All the best.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More