-
Plugin Base Skeleton
I got tired working on plugins and writing the same code snippets all over again, looking in the same old tutorial sites or my favorite WP 3 Plugin Dev book. So I released a startup script for plugins – http://wordpress.org/extend/plugins/dx-plugin-base/ . It contains most of the important snippets required for every plugin – registration of custom post…
-
swpMVC – WordPress Rails-alike framework
Just noticed on Twitter this one: [blackbirdpie url=”https://twitter.com/dimensionmedia/statuses/239848270657118208″] I’m very fond of more abstract development practices and a good MVC modeling with ActiveRecord has always been a pleasure to see. Since WP itself has too much procedural programming with global variables, this one as a concept looks very neat. I don’t believe it would have…
-
DX Plugin Base v.1.1 released
I’ve released a major update of my DX Plugin Base plugin which servers as a skeleton for WordPress plugin creation. Some of the old code has been refactored and simplified and a few new features have been added as well. Currently the list of code snippets working and included in the sample plugin base is:…
-
Including scripts and styles properly
Since this has been a discussed topic over support forums and IRC this week, a very quick scripts and style guide for WordPress. The function for including a stylesheet is wp_enqueue_style: [php]wp_enqueue_style( $handle, $src, $deps, $ver, $media );[/php] You can define the handle for the style (as a reference for other styles later), the location,…
-
Document Feedback for WordPress
Most large knowledge databases online provide a large amount of articles ending with a small text block: “Was this resource helpful?”, which is pretty handy for site owners to decide on most and least valuable posts. Since WordPress is a CMS heavily focused on blogging and content creation, the new Document Feedback plugin is the…
-
Submit iframe Form To External Site
Many advertising services and external APIs provide iframes to be embedded on external sites, but also require some data to be transferred from one site to the other. iframe tags are being restricted for many reasons, mostly security. There are iframe busters (or framekillers) that export the iframe behavior in the parent window, takeover the…