on the topic of “figuring things out wrt coding” — i was working on converting a site to wordpress and was trying to figure out how to get a home page movie to appear ONLY on the home page (easily).
so i looked around and found out there was a wordpress function called “is_front_page()”
so, along with a nifty fade in/fade out script, i created this in the header.php file:
<?php
if ( is_front_page() ) {
echo "
<div class=\"hpmovie\">
<div id=\"xlide\">
<img src=\"wp-content/themes/fullfab/images/5.jpg\"
alt=\"FullFab Inc.\" />
<img src=\"wp-content/themes/fullfab/images/11.jpg\"
alt=\"FullFab Inc.\" />
...
</div>
</div>
";
}
?>
you can see the results at fullfabinc[dot]com (i don’t want them to get any pingbacks from my site)
so basically, if it’s the home page, it’ll write stuff to the page… boom



jason mraz’s “anything you want”
careful with 