Hello, sorry if my question is stupid but there is a Repository on GitHub ( open source ) and I’d like to use it on my WordPress site. But I don’t know how to do this – where do I add the zip file and how to initialise or “add dependency”. I’ve never used a GitHub repository so I will appreciate any help. This is for an educational purpose so I do it myself as nobody pays for it 🙁
Thank you in advance for any help.
This is a great microcosm of the rift between development and plugin jockeys.
A plug-in is just code that is wrapped and embedded within WordPress’ functionality so that it works in the context that you’d like it to work.
There’s no magic just like a website is just HTML, CSS and JS WordPress is just PHP that structured in a particular way. If the code is not written for WordPress, then it would need to be wrapped in essentially an adapter so that WordPress can take advantage of its functionality.
The direct answer your question is _it depends_ can you show us the repo? Can you show us what context you want to use it in etc. ?