Closed ElvarP closed 1 year ago
Any particular reason you want to bundle it with a theme vs using it as an mu-plugin alongside something like Bedrock?
In any case, I'm not sure the best approach for something like this given that we use plugin_dir_url()
to handle the asset pathing. I've never tried to bundle a plugin inside of a theme before.
Yeah maybe this isn´t feasible. I can just a fork a version for myself.
What I mean is that I want to bundle this plugin with a theme I'm creating. Including the plugin in functions.php works fine, except the css and js files don't load in the Full Site Editor. I've been tinkering trying to get it to work but have not been able to come up with a solution.