Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #237971

    Hello Support,

    I want to change theme name from few places-
    1. From View Source – Do i need to just change the name of the zip folder. Means, if i need it “ABC” instead of enfold, then do i need to change the folder name to ABC.zip and upload it.

    2. What if there will be next update. What practices do i have to follow whether i update it via WP dashboard, cPanel or FTP so that it automatically updates or replaces the changed files for the theme named “ABC”, which is already installed.

    3. In above cases, what if i want to use Child theme and want both the Main theme name and child theme name to be “ABC”. At what places do i have to change / replace the name from Enfold to “ABC” (including both Child and Main theme)

    4. How convenient it is then to update the Main theme and Child theme with changed name. How do i have to proceed then with changed name.

    I have seen the video tutorials, which are much helpful but did not clear my concept on this, if i want to change the name.
    Kindly answer me pointwise.

    Thanks

    #237974

    Hey Labhanshi!

    If you use a child theme you can name it whatever you want. There is no way to change the parent theme name and keep it that way for each update. You would need to change the parent name each time you updated.

    Actually changing the name would be done on the folder name and then in the style.css.

    Cheers!
    Devin

    #237975

    Hello Devin,

    Can you please elaborate bit more.
    Can you please answer on Point 1 and 2 in combine as these are related and then point 3 and 4

    Kindly do the needful.

    Thanks

    #237977

    You can read more about child themes here: https://codex.wordpress.org/Child_Themes and the video goes over naming as well: http://kriesi.at/documentation/enfold/using-a-child-theme/

    The answer to 1,2, and 4 is in my response above: you would need to change the name of the theme folder and the name of the theme in the style.css folder.

    For 3, you can’t have two themes with the same name, even as parent:child themes.

    #237985

    Thanks for your kind response.

    I will go through the video. Codex link seems not that much helpful for me.

    Regarding 3, the name for child theme that i would require is “ABC Child” instead of “Enfold Child”, so that i can link it with ABC Main theme name. Is that possible. If so, where else do i have to change the names for child theme and inside css of child theme so as to link it with ABC name for the Main theme.

    And thereafter, if i update the theme, then do i have to first change the name of the folder and in CSS of the Main theme, while the zip folder is on my computer and then upload. Or it will automatically update and adapt.

    What if i update via the theme update option tab within theme options.

    Thanks

    #238608

    Hi!

    1) You just need to change the “parent theme” name. The child theme name is completely independent from the parent theme name. Normally the style.css theme data looks like:

    
    /*
    Theme Name: Enfold Child
    Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold WordPress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then.
    Version: 1.0
    Author: Kriesi
    Author URI: http://kriesi.at
    Template: enfold
    */
    
    

    The “Theme Name” can be any value/text of your choice – you’re not limited to Enfold Child or ABC Child, etc. and you can also i.e. name it “Supertheme”. The important part is “Template: enfold” – “enfold” which refers to the folder name of the parent theme. So if you rename the parent theme folder from “enfold” to “abc” you also must change this line to “Template: abc”.

    2) Yes, if you update the theme you must always manually rename the folder and the style.css theme name. I recommend to update the theme with ftp: https://vimeo.com/channels/aviathemes/67209750 then you just need to upload/overwrite all theme files except style.css and you don’t need to edit style.css everytime you update the theme.

    Cheers!
    Peter

    #239214

    Hello Dude,

    That’s perfect.

    This is what i was looking for. You explained me exactly how and what i want.

    I have one thing to know that one of my support question is now being locked for replies. But i wanted to reply and ask there something. How can i do so. Also, why is that being locked out. Is it according to days where no replies received from our side or automatically or for some other reason.
    The topic is – https://kriesi.at/support/topic/unable-to-install-fresh-theme-via-wordpress-dashboard/

    Thanks again for your great help. I will try that option with Child theme.

    Thanks
    Labhanshi

    #239257

    Hey!

    I’m sorry, I closed the topic because I thought that the answer is enough and there’s no need to prolong the discussion. You can increase max upload size, memory limit etc on .htaccess or php.ini file. You can also ask your host to do it for you.

    Best regards,
    Ismael

    #239491

    Hello Ismael,
    OK, no problem. So i think i should continue here.

    1. I checked and found that i can change and have the access to .htaccess files under public_html.
    But i can’t find php.ini anywhere. Is it under public_html or somewhere else. Or should i have to create a new one and then add the lines.

    2. What lines do i need to add in .htaccess to increase max upload size, memory limit etc. so that i can thereafter upload the theme from the WordPress dashboard. Currently, i have the default lines in .htaccess file.

    Thanks

    #239552

    Hi!

    For both questions you should really talk to your hosting provider first. The php.ini location depends on the exact server setup and some hosts don’t even allow you to use it. The htaccess file may or may not allow you to make the required changes again depending on your hosting provider.

    Cheers!
    Devin

    #240590

    OK, thanks Devin.
    Let me see what i can do for this. I will ask hosting provider for this.

    If i need any further help i will let you know.
    Hope i gets the solution.

    Thanks

    #240630

    Hey!

    Ok, I’ll leave this thread open.

    Regards,
    Peter

    #241308

    Hello Peter,

    Thanks for leaving it opened.
    I asked hosting provider, and they helped me to resolve the problem. They increased the sizes as suggested by one of the member of your support team.
    Wish i will be able to upload it via WordPress dashboard also from now onwards.

    Now the topic can be closed.

    Thanks for helping me out. :)

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘How to change theme name from View Source’ is closed to new replies.