blog

Back to real life

After 6 months traveling I’ve just come back to New Zealand and fortunately I’ve found a nice new job and house, I just don’t have internet yet but I’ll try to update my portfolio with some new jobs and also pay more attention on the plugin.

No Comments.

It’s holidays time

I’m about to leave for 6 month holidays so don’t worry if I don’t answer my messages more about this trip at www.noplacelikehere.com

No Comments.

My first wordpress plugin

I’ve just created a small plugin to create photo galleries connected with flikr more details have a look at http://www.felipesk.com/flickr-mini-gallery/

No Comments.

3 Level navigation menu in wordpress

Is such a easy thing doing 2 levels menu, but when you need more than this things can get really complicated. In the hope that someone out there could have had the same problem as me I started googling, read forums and etc and I didn’t found any solution without using plugins.

So I end up doing my own code to do this and I hope can be useful for somebody:

<?php
$parent_id = $post->post_parent;
$parent = get_post($parent_id);
if($parent->post_parent){
$top_level_id = $parent->post_parent;
}else if($post->post_parent){
$top_level_id = $post->post_parent;
}else{
$top_level_id = $post->ID;
}
if($parent->post_parent){
$children = wp_list_pages("title_li=&child_of=".$parent->post_parent."&echo=0");
$my_id = $parent->post_parent;
}else if($post->post_parent){
$children = wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0");
$my_id = $post->post_parent;
}else{
$children = wp_list_pages("title_li=&child_of=".$post->ID."&echo=0");
$my_id = $post->post_parent;
}
if ($children) {
$post_id_7 = get_post($my_id);
$title = $post_id_7->ID;
?>
<div id="submenu" class="sub_id_<?php echo $title;?>">
<ul>
<?php echo $children; ?>
</ul>
</div>
<?php } ?>

No Comments.

Text shuffler menu – flash 8 – AS2

Here is a small menu very easy to setup, comes with a class and all the source codes. You can use the files under creative commons. Enjoy and let me know if you have suggestions or problems.

Here is a sample:

[kml_flashembed movie="/wp-content/uploads/2008/02/txt_shuffler.swf" height="300" width="350" /]

Download the source – Text shuffler menu zip

2 Comments.

Dreadmeister Launched

After a short period of tests and the last tweaks finally Dreadmeister is online. Probably the most heavy metal work I’ve ever designed. Have a look by yourself: www.dreadmeister.co.nz

No Comments.