WordPress 3 and You

Yesterday, I attended WordCamp Jerusalem 2010 and lectured about WordPress 3.
My presentation included some very handy code snippets, links and information so I decided to upload it to slideshare for anyone to catch up.

Yesterday, I attended WordCamp Jerusalem 2010 and lectured about WordPress 3.

My presentation included some very handy code snippets, links and information so I decided to upload it to slideshare for anyone to catch up.

First Person Minesweeper 3D

My brother and I developed a first person minesweeper game in 3D, using the UNITY game development platform.

We’ve also built a Facebook application version of this game, available to play at:
http://apps.facebook.com/minesweeper-game/Learn more about First Person Minesweeper 3D

My brother and I developed a first person minesweeper game in 3D, using the UNITY game development platform. Give it a shot (click to play):

Please view the full post to see the Unity content.

We’ve also built a Facebook application version of this game, available to play at:
http://apps.facebook.com/minesweeper-game/

Get the Direct Link to a Post’s Featured Image

I used WordPress’ get_the_post_thumbnail() function in order to output the current post’s featured image. It was great, until I had to link to the featured image. To do that, I needed the value of the SRC attribute of that IMG tag, i.e., the direct link to the featured image.

Thanks to phpxref, and the WordPress Codex,… Learn more about Get the Direct Link to a Post’s Featured Image

I used WordPress’ get_the_post_thumbnail() function in order to output the current post’s featured image. It was great, until I had to link to the featured image. To do that, I needed the value of the SRC attribute of that IMG tag, i.e., the direct link to the featured image.

Thanks to phpxref, and the WordPress Codex, I managed to write a small useful function just for that. Without further ado, I present to you, the function:

function oy_get_direct_thumbnail_link( $post_id = NULL ) {
	global $id;
	$post_id = ( NULL === $post_id ) ? $id : $post_id;
	$src = wp_get_attachment_image_src(get_post_thumbnail_id($post_id), 'full');
	$src = $src[0];
	return $src;
}

The first and only parameter ($post_id) is optional. If used inside the loop, it fetches the current post’s ID by itself.

What is WordPress?

If the question intrigues you, this video of me lecturing about it will probably answer it for you. This video was shot last month in a user-generated content meeting organized by StartupSeeds.

The lecture is in Hebrew but there are English subtitles available…. Learn more about What is WordPress?

If the question intrigues you, this video of me lecturing about it will probably answer it for you. This video was shot last month in a user-generated content meeting organized by StartupSeeds.

The lecture is in Hebrew but there are English subtitles available.

Sixpack Notes – Your New TODO List

I finished working on this project today, it took me about a day and a half to complete it. It looks super easy but as always there are issues that you encounter only during the development phase.

The service/application offers you six boxes in which you may type whatever you want. e.g. memos, notes, temporary data or tasks.

The… Learn more about Sixpack Notes – Your New TODO List

I finished working on this project today, it took me about a day and a half to complete it. It looks super easy but as always there are issues that you encounter only during the development phase.

The service/application offers you six boxes in which you may type whatever you want. e.g. memos, notes, temporary data or tasks.

The data is saved within each keystroke one makes. It’s stored using the browser’s cookies.

Adding extra features always costs some of the simplicity of the application. And many people try to find the “right” balance. In this project, I decided to go to an extreme – super easy & no features. Some people may like it and some may not.

Here is my new personal homepage:
http://www.sixpacknotes.com/

Your feedback is welcomed.