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

  1. tderosier
    Posted 2 years 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 )


  2. Alex
    Plugin Author

    Posted 2 years 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
    Posted 2 years 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 2 years 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

  • Featured Video Plus
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.