• December 31, 2012 Plugins

    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 […]

  • November 26, 2012 Plugins

    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: wp_enqueue_style( $handle, $src, $deps, $ver, $media ); You can define the handle for the style (as a reference for other styles later), the location, […]

  • November 10, 2012 Development

    Overcome the WordPress Autosave Limitations

    WordPress includes a handy feature called ‘autosave’ that periodically persists an autosave version of a post at the moment of writing. Since accidents happen, it’s always good to have some recent version of a long text instead of starting from scratch when you don’t have the proper backup. Autosave is handy, but since WordPress is […]

  • Add a TinyMCE button to WordPress post editor

    Most themes and large plugin utilize the WordPress Shortcode API by adding code snippets that could be parsed inside of a page or post. One of the handy ways to present a UI behavior for your customers is by embedding the functionality to the TinyMCE editor as an extra button. You need to create two […]

  • September 24, 2012 Development

    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: […]

  • August 27, 2012 Plugins

    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 […]

  • February 11, 2012 Development

    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 […]