Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- The topic ‘How to prevent theme updates from removing third-party file inside theme folder?’ is closed to new replies.
I’m using a custom NextGen gallery template and NextGen requires that I put the file inside the theme folder like this
/wp-content/themes/enfold/nggallery/my-custom-gallery-template.php
However, any theme updates automatically delete that folder and the file inside it.
So what’s the best way to prevent that? Will setting file permissions/CHMOD on those files work? Or can I add some exception to the theme core files?
Hey r2tall!
Thank you for using Enfold.
Avoid updating the theme via Theme Updates panel. Update the theme via FTP instead. Please refer to this link: http://kriesi.at/documentation/enfold/updating-your-theme-files/
Regards,
Ismael
Ah, of course. I totally overlooked the simplest solution. Thanks!