• geejay1234

    (@geejay1234)


    Hello,

    I bought a theme couple of days ago, and published the site, and all is well. But I want to change the theme’s name for variety of reasons, and I am confused as to what to do!

    I am not talking about hte theme name on the dashboard, as I have already edited it with the style.css. I am asking about the theme settings that shows up in the admin panel. I tried editing admin.php but when I changed the $themename, all saved variables disappeared as the ids were of the form $themename.something etc.

    Is there any other way to do this ?? I am certain there is, but I am not an expert enough to find it out myself.

    Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • uwiuw

    (@uwiuw)

    all stylesheet of admin panel is in

    yourdomain.com/wp-admin/css/

    while your theme is in your theme folder

    wp-content/themes

    But if what you need is costuming dashboard then you need to learn hook and filter. cause this the profer way interact with wordpress core

    i hope i get this right.

    Thread Starter geejay1234

    (@geejay1234)

    I am not sure if I get this right. The settings page for the theme is automatically generated, yea?.. I want to change the name, and changing the $themename works, but it creates problems in other ways. Is there a possibility to change the name without having to change the $themename?

    uwiuw

    (@uwiuw)

    i’m not sure what do you mean with this : $themename ? what is it ?

    The settings page for the theme is automatically generated, yea?.

    yes, they are.

    change the name, and changing the $themename works

    as you may have know, the changes can be accomplish via changing the theme information in style.css (every theme has its own style.css which contain theme information such as author, theme name, etc)

    Is there a possibility to change the name without having to change the $themename?

    i don’t understand. Btw, what are you trying to do ? are you try to edit the core file ?
    or just the theme ?
    or maybe you on the process creating plugin for theme display / showcase ?

    Thread Starter geejay1234

    (@geejay1234)

    No I mean, the theme has its own settings page separate to the other settings.

    Like Below Tools -> Settings -> Themename Settings.

    I want to change the Themename Settings, but found out that it is being retrieved from a variable called $themename in the admnin.php OF THE theme and not the core. but changing that also causes undesirable results along with what I wanted. is there any other way to change it?

    thanks.

    henkholland

    (@henkholland)

    That’s theme specific. Normally it’s all in style.css like:

    /*
    Theme Name: WordPress Default
    Theme URI: https://www.ads-software.com/
    Description: The default WordPress theme based on the famous <a href="https://binarybonsai.com/kubrick/">Kubrick</a>.
    Version: 1.6
    Author: Michael Heilemann
    Author URI: https://binarybonsai.com/

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Change theme settings name’ is closed to new replies.