WordPress.org

Ready to get started?Download WordPress

Forums

Featured Video Plus
[closed] Tutorial for adding functions? (4 posts)

  1. tderosier
    Member
    Posted 6 months ago #

    Could you provide some examples on how to use the following in functions.php?

    the_post_video( $size )
    has_post_video( $post_id )
    get_the_post_video( $post_id, $size )
    get_the_post_video_url( $post_id )
    get_the_post_video_image_url( $post_id )
    get_the_post_video_image( $post_id )

    http://wordpress.org/plugins/featured-video-plus/

  2. Alexander Hoereth
    Member
    Plugin Author

    Posted 6 months ago #

    What exactly do you want to achieve? You basically use them the same way you would use the original post thumbnail / featured image functions: Take a look at the official docs.

  3. Native Imaging
    Member
    Posted 1 month ago #

    Hmm, i'm a little stumped on this one too. @tderosler, did you have any luck with this one? I'm also trying to grab the Video URL, but having no luck, although i'm a total noob with PHP. Any help would be awesome!

  4. esmi
    Forum Moderator
    Posted 1 month ago #

    If you require assistance then, as per the Forum Welcome, please post your own topic instead of tagging onto someone else's topic.

    I am now closing this 4 month old topic as it references an older version of WordPress.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.