Ask Experts Questions for FREE Help !
Ask
    whatsthebigidea's Avatar
    whatsthebigidea Posts: 1, Reputation: 1
    New Member
     
    #1

    Aug 22, 2010, 05:03 PM
    Rewrite 7 line syntax for WordPress template
    I'm trying to embed a WordPress plug-in shortcut function within another:

    Code:
    <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);
    ?>" />
    Any direction is appreciate.
    Thanks
    yesbeckjs's Avatar
    yesbeckjs Posts: 20, Reputation: 3
    New Member
     
    #2

    Jan 10, 2011, 12:39 PM
    Are you able to nest the <?php tags like that? I have not used Wordpress but in standard php, that will fail.

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

Wordpress wp_ prefix & phpMyAdmin - Now What! [ 3 Answers ]

I downloaded WordPress and now I was told by my web hosting company that I have to “execute MySQL queries” and “add data into MySQL tables” Sounds all good, but how in the HELL do I do that? If anyone could help a beginner, I would really appreciate it. Thanks in advance, Scotty13

Wordpress Anyone? [ 1 Answers ]

I'm not sure if this is the right place to ask this. :S I recently started using wordpress, and at the moment I'm sort of playing around with it and such. I'm a new user. :D My problem and question is this: In wordpress I'm able to add pages, right. These pages are automatically added in...


View more questions Search