Quantcast
Channel: Topic Tag: error 500 | WordPress.org
Viewing all articles
Browse latest Browse all 1704

andybenson129 on "[Plugin: Shortcode Exec PHP] Error 500 Create Short Code with URL Variable"

$
0
0

Hi,

I am having an issue creating a short code with this code. It works fine otherwise, I am just having an issue creating the short code. I believe the issue might be with the use of a URL with a variable.

` $webyelp = get_field('yelp', 'option');
if (!empty($webyelp)) {

echo '<a href="' the_field('yelp', 'option'); "><img src="../reviewbadge/yelp.png" alt="yelp" /></a>

} else { echo "";}
`
Any idea what I'm doing wrong? Thanks a lot for your time!

http://wordpress.org/plugins/shortcode-exec-php/


Viewing all articles
Browse latest Browse all 1704

Trending Articles