SHARE
TWEET

WP 3.6 Video Post Format Template Tags

Anderton Apr 8th, 2013 105 Never
  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(); ?>
RAW Paste Data
Top