I’ve been checking out some nice looking plugins over on CodeCanyon to implement into future themes, and I was hoping to start this thread to learn more about the possibilites of converting a plugin into a built-in function.
Is it as easy as calling the plugin from my functions file?
In a nutshell, I’ve been practising writing custom widgets (twitter feeds, etc.) and shortcodes (jquery tabs, etc.) but I’m still running into issues trying to serve this stuff with my themes… so for now at least I’d like to bundle some quality plugins into my upcoming themes and get them released sooner rather than later.
My first question would be… when people are writing their own plugins, how universal is the process? Are they always using the plugin API - so the code structure for each is similar… I guess to refine my question further - if I was able to convert one plugin to my functions file, would I be able to do so for any other plugin I find as well? Or are people writing plugins in all kinds of different ways?
What I’m really looking to implement is a set of custom widgets (twitter feed, flickr, etc), a more extensive set of shortcodes, and a more extensive slider manager.
These are the ones I was checking out today…
lawley’s styles with shortcodes - http://codecanyon.net/item/styles-with-shortcodes-for-wordpress/142221
Sitebase’s widget bundle - http://codecanyon.net/item/wordpress-widget-bundle/150151
My main issue when I’ve tried writing my own widgets/shortcodes that require JS is having to stuff my </ head> section with loads of jQuery initiation stuff, whereas I’ve noticed some great themes implementing lots of custom features without calling loads of jQuery functions.
Any help at all on the subject is appreciated.