Archived topic
modification to gp premium plugin - how to survive updates
4 replies · Started by anand on May 24, 2018
we did some customizations to the gp premium plugin in the following pages
/wp-content/plugins/gp-premium/blog/functions/images.php
/wp-content/plugins/gp-premium/blog/functions/css/style.css
how to keep these code surviving the updates to the plugin.
like child theme, do we have any root or method.
Hi there,
Child theme is definitely the way to go: https://docs.generatepress.com/article/using-child-theme/
Have you tried and having problems?
Hi Sir
When using gp premium plugin and plugin gets a new update, is child theme a must?
regards.
Hi Sportsfan,
a child theme is only necessary if you are directly editing the theme style sheets or function files.
Adding CSS to the Additional CSS or using the Code Snippets plugin for PHP snippets removes the need for a child theme and will remain intact when the theme or plugin is updated.
Hi David
Thanks for the execellent explanation (you make it easy and simple to understand which is awesome, thanks again.
regards.