WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] simple question.. how to hide your theme name and CSS? (3 posts)

  1. sarmadhassan
    Member
    Posted 5 years ago #

    is there a way to hide the theme you've built from the source code. The only trick I've been doing in couple of blogs is having a theme name related to the site name like for mydomain.com i make a theme with a name 'mydomain'

    I there any way around so that the theme name doesnt show up in the source code at all? and all you should see is import of a style sheet like mydomain.com/style.css.. no directories in between.

  2. esmi
    Forum Moderator
    Posted 5 years ago #

    You could try copying all the css and images to mydomain.com/css/style.css and amending header.php so that the call to the main stylesheet is hardcoded to something like:

    mydomain.com/css/style.css

    Or just re-name your theme and its folder to something obscure. But I can't see why it's worth the effort. Anyone with some tech skills could still find out everything they need to know about the theme/design very easily. Generally speaking, if you want to hide something, don't put on the web.

  3. sarmadhassan
    Member
    Posted 5 years ago #

    Thanks for the input.. It seems we cannot hide css from smart visitors at all. I'll mark this thread as resolved now !

Topic Closed

This topic has been closed to new replies.

About this Topic