• Resolved ESSBEEAY

    (@essbeeay)


    Hi.
    I’m interested in using Goran for a site, but see it’s a child of Edin. Given that I should start by making a child of my theme, what is the procedure when Goran is already a child? And do I have to have Edin installed before I switch to Goran?
    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • MarieJoJones

    (@mariejojones)

    As far as I know, you can’t have a grand-child theme… So if you want to customize Goran you’d have to do it the unrecommended hacked way. In other words modify the code of Goran.

    Least hazardous way if you can’t find an alternative and all you need is css customization would be to enqueue a custom.css stylesheet in the functions.php file and add your styles there, making sure you keep an updated copy of this css file outside the theme’s folder. Then when Goran is updated all you would have to do is to re-enter the enqueue code in the functions.php and reinsert your custom.css if it got wiped out. Feasible but not good practice.

    Yes every child theme needs the parent in the themes folder.

    Moderator Kathryn Presner

    (@zoonini)

    MarieJoJones gave you some great advice. A few more throughts I’d like to add:

    – if all you need to add is custom CSS, another way to do it is via a custom CSS plugin, instead of a child theme:

    An easy way to add custom CSS is to install the Jetpack plugin and activate the Custom CSS module. You’ll then add your custom CSS in the new stylesheet editor that’ll appear in your dashboard, under Appearance > Edit CSS. There are also standalone custom CSS plugins.

    – you can create a “fake” grandchild theme by using the plugin method:

    https://docs.appthemes.com/tutorials/creating-grandchild-themes/

    It’s not officially supported but you could give it a try if you need to make theme-file tweaks beyond just custom CSS.

    Moderator Kathryn Presner

    (@zoonini)

    So if you want to customize Goran you’d have to do it the unrecommended hacked way. In other words modify the code of Goran.

    ESSBEEAY – I also just wanted to clarify for you why modifying Goran directly isn’t recommended. If you go that route, you’ll overwrite your tweaks every time you update Goran to the latest version, something that’s recommended to ensure you get bug fixes, security updates, and updates to keep the theme compatible with WordPress core.

    Thread Starter ESSBEEAY

    (@essbeeay)

    Thank you both for the great advice.
    I’ll probably try the custom CSS plugin first and see how it goes.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Child Theme of Goran’ is closed to new replies.