Hello,
What is the trick to installing the plugin code that is published on github? I’ve downloaded the zip file and added all the code to the site, but when I try to activate I get an error like:
Uncaught Error: Class ‘WP2Static\Controller’ not found
I’m guessing there is some kind of build process that I am missing?
Thanks
Looks like I got it. Had to install composer and run ‘composer install’ in the directory.
1 Like
Hi @ncrosno, glad you got it sorted.
There is also a build command composer build NAMEFORBUILD
, this will make a zip installer into your $HOME/Downloads
directory. It will depend on what kind of workflow you want as to which will suit your needs.
Old thread, but a more comprehensive guide here: