I'm using the Arthemia theme which I like a great deal but I want to change one feature.
The theme is designed to be a hybrid between a standard blog and a magazine theme. To add pictures to any area on the front page you have to use the Custom Field which is preset to the value of "Image" - as you can see below.
I want to change this section of code so that I can post YouTube Videos on the front page.
I'm sure it won't be as simple as changing "Image" to "Video" and posting a link... will it?
Any help would be appreciated.
<?php $values = get_post_custom_values("Image");
if (isset($values[0])) { ?>
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">
<img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=/<?php
$values = get_post_custom_values("Image"); echo $values[0]; ?>&w=150&h=150&zc=1&q=100"
alt="<?php the_title(); ?>" class="left" width="150px" height="150px" /></a>
<?php } ?>