Hello I am trying to use Verve Meta Boxes to upload an XLS file in the admin and have it link to download from the front end of the site.
This is what I am using, and everything but the file URL (or any isntance of the variable) shows up.
<?php if((get_post_meta($post->ID, "trade_show_database__spread_sheet", true))) { ?>
<?php if(get_post_meta($post->ID, "trade_show_database__spread_sheet", true)) {?>
<?php echo '<p><strong>Trade Show Contacts</strong><br>'; ?>
<?php $img = get_post_meta($post->ID, "trade_show_database_spread_sheet", true); ?>
<a href="<?php echo $img['url']; ?>">
<img src="<?php bloginfo('template_directory'); ?>/images/btn-click-to-download-200.jpg" /></a>
<?php echo '</p>'; ?>
i am sure there is something I missing, but I can't seem to place it.
any help?
thanks
Rob