[Support request] modification to gp premium plugin – how to survive updates

Home Forums Support [Support request] modification to gp premium plugin – how to survive updates

Home Forums Support modification to gp premium plugin – how to survive updates

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #583514
    anand

    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.

    #583846
    Leo
    Staff
    Customer Support

    Hi there,

    Child theme is definitely the way to go: https://docs.generatepress.com/article/using-child-theme/

    Have you tried and having problems?

    #583946
    sportsfan74

    Hi Sir

    When using gp premium plugin and plugin gets a new update, is child theme a must?

    regards.

    #583968
    David
    Staff
    Customer Support

    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.

    #584240
    sportsfan74

    Hi David

    Thanks for the execellent explanation (you make it easy and simple to understand which is awesome, thanks again.

    regards.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.