Hi everybody;
I'd like to ask you about some problems that I have with Wynton Magazine Theme and its custom fields.
This theme is prebuilt with custom fields. I'm not used to using custom fileds but I think I'm doing it the right way. The author gives the keys of the c-fields:
Here´s a list with all custom fields for WyntonMagazine
Leadimage = The big image on the homepage
featured-article-image = The three smaller images on top right of the homepage [...]
The value in this case is an URL. I'm testing in a localhost with absolute and relative paths but with no results.
I'm wondering if there is something wrong in the code. I would appreciate if you can check it out for me. This is the code in index.php:
<?php
// this is where the title of the Lead Story gets printed
the_title(); ?>
</a> </div>
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><img src="<?php bloginfo('url'); echo '/'; echo get_option('upload_path'); echo '/';
// this is where the Lead Story image gets printed
$values = get_post_custom_values("Leadimage"); echo $values[0]; ?>" alt="image" id="leadpic" /></a>
<?php
// this is where the excerpt of the Lead Story gets printed. It´s reccomended you use the optional excerpt in the write post panel.
the_excerpt() ; ?>
Do you have any clue of what is failing?
Thank you very much,
From madrid,
Roy