This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!

WP 3.6 Video Post Format Template Tags

By: Anderton on Apr 8th, 2013  |  syntax: PHP  |  size: 0.40 KB  |  views: 103  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <!-- IMPORTANT: This was removed with 3.6 release and is for the moment not supported or working -->
  2. <!-- WordPress 3.6 Video Post Format Template Tag with compat handling for WP versions pre-3.6 -->
  3.  
  4. <?php if ( function_exists('the_post_format_video') ) { echo get_the_post_format_media( 'video' ); }  ?>
  5.  
  6. <!-- WordPress 3.6 Video Post Format Template Tag standard -->
  7.  
  8. <?php the_post_format_video(); ?>
clone this paste RAW Paste Data