Site logo

[Resolved] Where are elements (functions and hooks) saved?

Home Forums Support [Resolved] Where are elements (functions and hooks) saved?

Home Forums Support Where are elements (functions and hooks) saved?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2510805
    Jack

    I used to work with Genesis and the Genesis Extender plugin (and sometimes still do). When I made a mistake with a function the site could go offline and I could not enter admin anymore. But I could always login with FTP and go inside the uploads/extender folder, find the functions and correct my error.

    Where does Generatepress save all elements so I can correct mistakes if necessary, like being locked out of a site?

    #2511395
    Leo
    Staff
    Customer Support
    #2511426
    Jack

    Thanks Leo. Hmmm, this seems to be up for improvements ;). Consider it a feature request if possible.

    The Genesis Extender plugin works much much easier in these cases. Whenever I’m trying out php code and I know i can easily make a mistake, I always have Filezilla opened and I can open and correct the functions.php file (which contains all custom hooks and code) right away. It’s in the uploads/extender folder, adjust or revert code, save and the website is up and running again. Doing this the GP way is not really easy and quick.

    #2511435
    Leo
    Staff
    Customer Support

    Whenever I’m trying out php code and I know i can easily make a mistake, I always have Filezilla opened and I can open and correct the functions.php file (which contains all custom hooks and code) right away.

    In that case, you can just use the function method with a child theme:
    https://docs.generatepress.com/article/using-hooks/

    #2511446
    Jack

    Yes I know 🙂 but then I’m not able to use the convenience of the Element section, which is very nice. Maybe I will buy the Extender Pro plugin which does the same thing with GP as it does with Genesis.

    #2512326
    Leo
    Staff
    Customer Support

    I think features like this one would need to be handled by a third-party plugin for sure.

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