28Feb2011

Our first open source project

One of the projects we’ve been working on (a WordPress site) needed a sidebar widget that looked like a calendar, with each cell being a month showing how many posts were published on that month. Since we couldn’t find a plugin with that functionality, we decided to write our own. After we finished writing the plugin for the project, we realized that it was fairly simple to make it more generic and publish as a WP plugin.

Writing a WordPress plugin is quite simple. There are a few things you need to do to make it a sidebar widget (basically you just have to extend the WP_Widget class and implement a few functions) but nothing too complicated. We also took the opportunity to learn how to use AJAX inside a WP plugin, since we didn’t want to refresh the whole page when changing years in the calendar.

Month Calendar

So there you go: we’re publishing our first open source project, a WordPress plugin called Month Calendar. The source is available at GitHub, and the plugin is also published on WordPress Plugin Directory. You read more about it by going to its page.

Categories: Projects No Comments
27Feb2011

Hello world!

Hi, welcome to the new SharpCube website! SharpCube is a small software development company from Uberlândia, Brazil. We specialize in creating awesome websites, mobile and desktop apps, mixing great features and elegant user interfaces.

SharpCube

Thank you for your visit! Please take a few minutes and read through our website to know who we are, what we’ve already done and what we can do for you. You can subscribe to our blog’s feed by clicking the orange button in the top of this page. We also want to hear what you think about our site: leave your feedback in the comment form of this post or contact us directly through our contact page.

Stay tuned, there are a lot of great things coming soon from SharpCube!

Categories: Meta No Comments