I think wordpress.org needs to create a snippet repo. Gone are the days when 5 lines of code constitute a "plugin". For example, if you take a look at this plugin, it's all of 5 lines. And while it SHOULDN'T be in the theme, it's probably best in a functionality plugin, which would be a series of snippets. https://wordpress.org/plugins/wp-force-https/developers/ Easy Digital Downloads got a lot of positive praise for their snippet library (https://github.com/easydigitaldownloads/library), then WebDevStudios followed suit (https://github.com/WebDevStudios/CMB2-Snippet-Library). If developers could be "authors" of snippets like the HTTPS redirect one, in the same way they are authors of plugins or themes, it could add a lot of value to the Repo as a tool for development, not just the low-hanging fruit for end users. Thoughts?
Share This

We are using cookies on our website

Please confirm, if you accept our tracking cookies. You can also decline the tracking, so you can continue to visit our website without any data sent to third party services.