Archive for the 'blog' Category

It’s holidays time


My first wordpress plugin


Papervision 3d Experiment


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 } ?>

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:

Download the source - Text shuffler menu zip

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