• Resolved elsnare

    (@elsnare)


    This is probably a stupid and simple question and I hate myself for not figuring this one out ??
    I have the following template code for a movie player:

    <?php
    print insert_proplayer(
    array(
    "width" => "530",
    "height" => "213",
    "playlist" => "none"),
    "MOVIE-URL-HERE"
    );
        ?>

    I need to output the URL at the end, that is stored in a custom field. Tried echoing it, but does not seem to work. I’m getting some formatting errors, the custom field is pulled from the DB ok. Simply put, I don’t know how to type it in the player code ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • Without knowing what code of thethe function insert_proplayer looks like, it’s impossible for anyone to know where the problem is. From what you’re saying the problem is most likely somewhere in that function, so you need to include everything that’s relevant ot your question. ??

    Thread Starter elsnare

    (@elsnare)

    In the end I replaced the custom field plugin function with a standard, old fashion, custom functions.php code ??

    Worked like a charm!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Probably simple php echo question’ is closed to new replies.