Blog

WordPress Plugins: It’s Flickr Time!

Hi. I wrote a while ago on Twitter about starting the development of a WordPress plugin for displaying some Flickr photos in your sidebar. I finally finished coding and debugging the first part. It’s called Quick Flickr Widget. Here are some features: Easy to setup Up to 10 Flickr photos in your sidebar Fully customizable widget (editable before_widget, after_widget, before_item...

Quick Flickr Widget: Plugin update!

Hey I got some great news about my first wordpress plugin called Quick Flickr Widget. I applied to the WordPress Plugin Directory and guess what! I got hosted! They sent me an e-mail with all the necessary links. I quickly set up a valid readme file and uploaded everything to their plugins repository under version 1.0b. The plugin appeared in the directory in about 10 minutes, but there was no...

WordPress Junkies: Blogging via iPhone

I wrote about offline blogging with Windows Live Writer some time ago, and now I realized that it’s not that fun! Alright, I have two good news. The first one’s that I received approval for my second wordpress plugin (Related External Links) to be hosted at the official WordPress Plugin Directory. I commited the first beta a few minutes ago so go ahead and vote it up: Related External...

Give WordPress the iPhone Look: wpTouch Plugin

I don’t want to talk much about the wpTouch plugin, cause it’s all well documented over here. I’m writing this post for those of you who are afraid to make the first step to the terrific handheld view. Yeah, iPhone has got the Safari browser which can show my page just as it is shown on PC, and it even executes javascript! That’s the main reason why people don’t...

Javascript: Element Suicide

A short tip on js suicide. Suicide? Well.. I mean have an element remove itself. I came across this a while ago: a ‘read more’ link which should set the display property of an element to ‘block’ and remove itself completely from the DOM. Plain javascript, no frameworks. Here’s what I came to: this.parentNode.removeChild(this); It doesn’t require an id, name or...

The WP-Custom plugin. What's it all about?

You heard the news! My WP-Custom plugin got WordPress.org hosting approval a few days ago. So I finally uploaded it into their plugins repo and already got some positive feedback on Twitter and IM. Anyways, some still can’t figure out what I made the plugin for, so here’s some explenation. I assume that you’ve read the plugin description on the wordpress.org website or the...

Quick Flickr Widget and the Flickr API Services

Hope you remember the Quick Flickr Widget plugin for WordPress. Well, since version 1.2 I’ve changed the way it works. Prior to 1.2, as Donncha suggested in his Flickr plugin, I used a public Flickr RSS feed to display the items, using WordPress’ RSS functions to move around the feed. Anyways I thought that I couldn’t take the plugin far enough, so I decided to use the Flickr...

Gone Mobile: SSH Terminal on Your iPhone

I was in a bus today in the morning standing in a traffic jam, when I suddenly got a call from my colleague Alex. He said that he messed up something in our database on my virual private server and didn’t know what to do because everything stopped working. Alex doesn’t know what SSH is and how to work with Putty so I had to figure this out all by myself and fast. Luckily I found...

jQuery in WordPress: wp_enqueue_script

Did anybody notice the new sitemap I did for the blog? Top-right, in the black part. Click on sitemap. Smooth! For those of you who don’t know, that’s jQuery. Okay, seriously, this is my first ever jQuery script because I love Prototype. I don’t know why I did that, since I could have done it with Scriptaculous. So, about scripts in WordPress… You all heard about the...

Quick Flickr Widget: Empowered by Thickbox

Finally, version 1.2.4 is public! Can you belive this? I managed to get Thickbox running with the widget! No, it wasn’t that difficult at all. Here are the two tricks: In the plugin init: $options = get_option("pluginname"); if ($options["thickbox"] == "checked") { wp_enqueue_script("thickbox"); add_action("wp_head", "pluginname_thickbox_inject", 10); } And the thickbox inject function:...