Blog

August 30, 2012 Development

How to: Make a WordPress plugin translatable

WordPress has its own mechanism to support plugin translations, but if you are a plugin developer yourself, you need to take care of that process at first place. Everything important is covered in the i18n for WordPress devs page in the Codex. If you are new to this, a few comments: 1. You need a

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

August 11, 2012 Business

The Business-IT Industry Relationship

The WordPress platform allows for a number of users to build business ideas over a number of options. Browsing online or offline (at a WordCamp or a regular WordPress meetup event) we could get in touch with WP developers, designers, writers, system administrators, support engineers and other technical. On the other hand, small teams are

WordPress ORM

I know that there is a Doctrine integration within WordPress (not sure about v2, but at least some). However, this project looks pretty neat should you need anything more complex (or just want some sweet code involved in your database interaction): https://github.com/AdrianPop/Wordpress-ORM/blob/master/ORM.php

July 21, 2012 Development

Settings API in 9 Steps

I’m going to update my DX Plugin Base script soon with sample code, but Settings API are something that needs a few lines of text too. There are several good resources for that, such as: http://codex.wordpress.org/Settings_API http://ottodestruct.com/blog/2009/wordpress-settings-api-tutorial/ http://www.presscoders.com/2010/05/wordpress-settings-api-explained/ http://wp.tutsplus.com/tutorials/the-complete-guide-to-the-wordpress-settings-api-part-2-sections-fields-and-settings/ (awesome btw) http://blog.gneu.org/2010/09/intro-to-the-wordpress-settings-api/ But for the very quick overview of what to be done, that’s needed: hook

March 25, 2012 Consulting

Preparation of Training Materials (Checklist)

As a Business Advisor, I used to spend a good chunk of my time teaching various courses (and speaking at conferences in Europe and the US). I no longer have the time to speak regularly, which is why I’ve shifted to my blog, LinkedIn, Quora, and other virtual venues serving a broader group of people

March 5, 2012 Development

WP Core – dynamically resize images

The only issue with post-thumbnails I’ve had was the lack of ability to resize images dynamically. I had to use add_image_size() function to define image sizes which is ineffective for many different sizes used once (or a limited number of times) as it creates thumbnails for every single uploaded image. Kovshenin was my savior once

February 22, 2012 Beyond

Xdebug on Ubuntu for WordPress

Turns out enabling Xdebug on Ubuntu for Eclipse PDT is easier than doing the same on Windows. The short version is installing the module as per this tutorial – http://ubuntuforums.org/showthread.php?t=525257 sudo apt-get install php5-dev php-pear sudo pecl install xdebug sudo updatedb locate xdebug (this one finds the xdebug path) sudo gedit /etc/php/apache2/php.ini Adding this line

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