img src not working with call to meta in link
-
I wasn’t sure how to title this question so here is the code that I am using.
<div id=hlsheetlink> <?php $hlsheet = get_post_meta($post->ID, 'hlsheet', true); ?> <?php if ( $hlsheet ) : ?> <?php $download= '<a href= "/download/' . $hlsheet . '" >Download Highlight Sheet</a>'; echo $download; ?>
When I add <img src= ‘https://image.com/image.gif’ alt= ‘Image’/; it errors. Any thoughts? (hlsheet meta is just a number for use with Download Manager)
- The topic ‘img src not working with call to meta in link’ is closed to new replies.