I have a portfolio custom post type with a text field for a site link, I need to echo that link in the template page. What i have so far is this:
<?php $site= get_post_custom_values('projLink');
if($site[0] != ""){
?>
<span><p><a href="<?php var_dump($site); ?>">Visit the Site</a></p></span>
<?php }else{ ?>
<p><em>Live Link Unavailable</em></p>
<?php } ?>
The problem is that it is not working, I have this on the link:
http://localhost:8888/p3dra/portfolio/array(1)%20%7B%20%20[0]=%3E%20%20string(18)
Thanks.
