Although Genesis is a theme framework, it’s possible to call up Genesis functions from a custom plugin.
However, putting your Genesis code into a plugin is more complicated than putting it into your theme functions. This is because plugin code is run before the Genesis Framework code is run.
This is because the way that hooks work is that the code doesn’t get run until later on, when Genesis has been setup.
What you can’t do in a plugin is call up a Genesis function without a hook, because your code will be run immediately upon your plugin being processed, which is before Genesis has been setup.
The solution is to wrap your function call in one of the appropriate actions or filters. The action
genesis_setup works well, because it only runs once Genesis is setup.
That way your code won’t be run immediately, but will be saved until Genesis is setup.
Relevant tutorials from the Genesis community.