Archived topic
Hard coded Customisations + Updates
7 replies · Started by Bill on February 4, 2016
Hi,
So as i understand it, if i make customisations to the code directly i will lose those when i update the theme, is it possible to adjust the "hooks" or add "hooks" to the theme will those be overwritten?
I love generatePress Theme its awesome, keep up the great work!
Regards,
CodeX
That's correct - no changes should be made to the core code.
To add CSS, use these instructions: https://generatepress.com/knowledgebase/adding-css/
To add PHP (hooks, overwrite functions that are wrapped in function_exists( '' ) etc.., use these instructions: https://generatepress.com/knowledgebase/adding-php-functions/
Glad you're enjoying the theme! Let me know if you need more info :)
Tom!
Your the man!
Thanks so much, this is perfect.
Regards,
Bill
You're welcome!
Hey Tom,
When I have simpleCSS installed I can no longer save Customize options..
Regards,
Bill
Interesting - no trouble on this end. What version of WP are you using?
Can you try #1 on this page to rule out any other plugins?: https://generatepress.com/knowledgebase/debugging/
I'm sorry Tom,
It turns out my Wordpress was running out of memory!
All fixed now, Thanks
Regards,
Bill
Great, glad you got it sorted :)
