WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Adding meta data to pre-existing php code (1 post)

  1. narkiej
    Member
    Posted 3 years ago #

    I would like to insert a custom field into a pro player php snipet.

    <?php $video_url = get_post_meta($post->ID, 'video_url', $single = true); ?>						
    
       <?php
            print insert_proplayer(
                 array(
                    "width" => "630",
                    "height" => "379",
                    "playlist" => "none"
                 ),
                 ".$post_title."
            );
        ?>

    Tried this but it isn't working. Please help.

Topic Closed

This topic has been closed to new replies.

About this Topic