WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Vídeo Destacado

Insert a video posted to Youtube for posts, pages and custom post types

  1. Unzip the file to the plugins folder of the '/wp-content/plugins/' directory inside of WordPress
  2. Keep the directory structure of the file, all extracted files should exist in '/wp-content/plugins/video-destacado/'

Enter the following code inside the loop

<?php video_destacado(); ?>

or

<?php echo get_video_destacado(); ?>

Ex:

<?php

// The Query
query_posts( $args );

// The Loop
while ( have_posts() ) : the_post();

    video_destacado();

endwhile;

// Reset Query
wp_reset_query();

or

// The Query
query_posts( $args );

// The Loop
while ( have_posts() ) : the_post();

    echo get_video_destacado();

endwhile;

// Reset Query
wp_reset_query();

?>

Requires: 3.0 or higher
Compatible up to: 3.9.2
Last Updated: 2014-8-28
Downloads: 1,649

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1