[Resolved] Adding PHP: Child or Snippets

Home Forums Support Adding PHP: Child or Snippets

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1050303
    comichouse

    Hi,

    To solve an issue with ACF I need to add some lines of php to GP’s functions.php that will not be overwritten by future updates. What is the most efficient way to do this? Through adding a Child Theme of using Code Snippets? I should mention that I have no experience with Child Themes, and also the speed of the website is key.

    Cheers,
    Hans

    #1050420
    David
    Staff
    Customer Support

    Hi there,

    yes they should go in a Child Theme function file or the easiest option is to use the code snippets plugin. Neither option will be detrimental to your sites performance.

    #1050429
    comichouse

    OK thx!

    #1050437
    David
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.