[Resolved] Hard coded Customisations + Updates

Home Forums Support [Resolved] Hard coded Customisations + Updates

Home Forums Support Hard coded Customisations + Updates

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #170307
    Bill

    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

    #170500
    Tom
    Lead Developer
    Lead Developer

    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 ๐Ÿ™‚

    #170583
    Bill

    Tom!

    Your the man!

    Thanks so much, this is perfect.

    Regards,
    Bill

    #170656
    Tom
    Lead Developer
    Lead Developer

    You’re welcome!

    #171270
    Bill

    Hey Tom,

    When I have simpleCSS installed I can no longer save Customize options..

    Regards,
    Bill

    #171297
    Tom
    Lead Developer
    Lead Developer

    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/

    #171318
    Bill

    I’m sorry Tom,

    It turns out my WordPress was running out of memory!

    All fixed now, Thanks

    Regards,
    Bill

    #171321
    Tom
    Lead Developer
    Lead Developer

    Great, glad you got it sorted ๐Ÿ™‚

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