bit can be file, like Stylesheet or Script, or piece of code, like HTML, CSS or JavaScript..
We'll add HTML bit and set the it's value to YouTube embed iframe...
Now to make this bit bit more flexible we will replace YouTube video id with placeholder value {{id}}...
Now we can create Snippy shortcode and add YouTube iFrame HTML bit.
The 3 minute YouTube video shows how you can use Snippy to turn jQuery plugin into WordPress plugin...
Creating HTML bit containing YouTube iframe snippet and setting the {{id}} placeholder..
Yes, you can select JS and CSS files to be added to bit, Snippy will load the files when the shortcode is used on page...
I see lot of potential, but have knowledge of HTML, CSS, and JS..
As someone who makes custom themes, I want to provide the ability to organize elements in wp-admin without all of the bloat of Visual Composer or similar..
Browse the code, check out SVN repository, or subscribe to the development log by RSS...
Read more