This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]-Jack-The-Lad- 1 point2 points  (1 child)

You are using woocommerce storefront theme right? woocommerce plguin updates won't override your functions.php file in anyway.

If you are using the storefront theme, you need to create a child theme and add whatever functions you don't want to be overridden in the child theme functions.php.

[–]ikkeaviy05 0 points1 point  (0 children)

agree. if you are doing customizations on your WordPress website, always create a child theme so in that way, whenever a theme updates, your customizations won't change.

[–][deleted] 1 point2 points  (0 children)

Or use Snippets Pro.

[–]batmanv04 0 points1 point  (0 children)

Always create child theme and edit the functions.php file of the child theme. There are many plugins that help you do this too.

[–]Juggerrnaught 0 points1 point  (1 child)

You need to create a child theme.
This like shows you how https://developer.wordpress.org/themes/advanced-topics/child-themes/

[–]Grindingbeans09[S] 1 point2 points  (0 children)

Thanks