WordPress function syntax errors

15 pts.
Tags:
PHP Coding
Syntax errors
WordPress
I'm trying to embed a WordPress plugin function/shortcut within another which because of its poorly written syntax produces errors:
';
$width = 300;
echo bm_mshot ($url, $width);
?>" />
Any help rewriting [for a wannabe programmer] is appreciated! Thanks.

Software/Hardware used:
wordpress

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Whatsthebigidea
    
    <img src="<?php
    $url = '<?php if(function_exists('get_custom_field_data')) {
    	get_custom_field_data('web', true);
    } ?>';
    $width = 300;
    echo bm_mshot ($url, $width);
    ?>" />
    
    
    15 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: