• Resolved lisakaye

    (@lisakaye)


    I have just updated the Goran theme and lost the following shortcode I placed in the header.php file to use a slider image:

    <?php echo do_shortcode("[huge_it_slider id='1']"); ?>

    Do I really have to replace this manually every time the theme is updated? Is there no way of it being automatically included?

    I have been so careful to use Custom CSS (through Jetpack) for all the extensive modifications I’ve made so it’s disappointing to realise that manual overrides/replacements will still need to be made. This is also not ideal when I hand over the site to the non-technical client and tell them they have to add this line of code every time they update ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter lisakaye

    (@lisakaye)

    Note that Goran is a child of Edin. When I tried to create a child of Goran it wasn’t a valid parent theme. I’m a WP beginner so I tried out creating another child of Edin and incorporating my custom header and footer php files, but this totally messed up my navigation menu. What I didn’t do is create a functions.php file because I have no idea what I would write in these. I have edited the header and footer through trial and error – no idea what lines of code I’d have to include in functions.php to make these customizations work.

    The only 2 files I’d like to prevent being overwritten by upgrades are the header and footer – I have made no changes to style.css – is there no plugin that can do this? Being a newbie to WordPress, this would be my ideal solution ??

    The site is https://www.keystonepark.co.za/devsite/

    Moderator Kathryn Presner

    (@zoonini)

    Since Goran is already a child theme of Edin, as you pointed out, it’s not possible to make a child theme of Goran. And if you make changes to the file themes directly, they will be overwritten every time you update the theme.

    To get around, this, you can either:

    – Fork Goran and call it something else. You will no longer benefit from updates to Goran if you go this route.

    – Try the grandchild-theme plugin method:

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

    Thread Starter lisakaye

    (@lisakaye)

    Thank you, I will give it a go. It seems I’m learning lessons the hard way – in future I will definitely research a theme’s limitations before using it!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Slider is lost when Goran theme is updated’ is closed to new replies.