Title: Tutorial for adding functions?
Last modified: August 21, 2016

---

# Tutorial for adding functions?

 *  [tderosier](https://wordpress.org/support/users/tderosier/)
 * (@tderosier)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/tutorial-for-adding-functions/)
 * 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/](http://wordpress.org/plugins/featured-video-plus/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Alex](https://wordpress.org/support/users/ahoereth/)
 * (@ahoereth)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/tutorial-for-adding-functions/#post-4530205)
 * 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](http://codex.wordpress.org/Post_Thumbnails#Function_Reference).
 *  [Native Imaging](https://wordpress.org/support/users/native-imaging/)
 * (@native-imaging)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/tutorial-for-adding-functions/#post-4530303)
 * 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!
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/tutorial-for-adding-functions/#post-4530304)
 * If you require assistance then, as per the [Forum Welcome](http://codex.wordpress.org/Forum_Welcome#Where_To_Post),
   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.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Tutorial for adding functions?’ is closed to new replies.

 * ![](https://ps.w.org/featured-video-plus/assets/icon.svg?rev=1170997)
 * [Featured Video Plus](https://wordpress.org/plugins/featured-video-plus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/featured-video-plus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/featured-video-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/featured-video-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/featured-video-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/featured-video-plus/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/tutorial-for-adding-functions/#post-4530304)
 * Status: not resolved