WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Youtube Profile Field] Specific video in profile/author page

[Plugin: Youtube Profile Field] Specific video in profile/author page

Viewing 1 replies (of 1 total)
  • Plugin Author Jesper Johansen (jayjdk)
    Member

    @jayjdk

    Hello,

    I’ve tried to customize the script to fit your needs:

    Your theme author.php (this might work – it based on your theme – I can take a look at your theme if it doesn’t)

    if ( function_exists('ypf_show_video') )
        echo do_shortcode( '[youtube-user id="' . get_user_meta( get_the_author_meta( 'ID' ), 'ypf_video', true ). '"]' );

    It will add a text field to the user profile: http://i.imgur.com/prvhq.png

    Here’s the code you should add to the plugin index.php (you have to add it again if you update the plugin)

    http://pastie.org/2349988

    Hope that helps you and sorry for the long reply

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Youtube Profile Field] Specific video in profile/author page’ is closed to new replies.