Home Plugins video destacado
Vídeo Destacado logo

Vídeo Destacado

by Airton Vancin Junior on WordPress.org

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

(6)
Featured Video meta box in the post editor

Featured Video meta box in the post editor

Vídeo Destacado lets you feature a YouTube video on your posts, pages, or any public custom post type.
Simply enter the YouTube video ID in the dedicated meta box, preview the thumbnail, and set custom width and height.

Features:
* Enable on selected post types via Settings
* Thumbnail preview and real-time feedback in the editor
* Customizable player dimensions
* Secure nonce validation and input sanitization
* Properly enqueues admin scripts and styles

Usage

To display the featured video in your theme templates, call the function inside The Loop or anywhere you need it:
php

Or, for example, inside a custom query loop:
php
// The Query
query_posts( $args );
// The Loop
while ( have_posts() ) : the_post();
video_destacado();
endwhile;
// Reset Query
wp_reset_query();
?>

You can also use the shortcode in your post content:
[video-destacado]
To customize the dimensions, use the width and height attributes:
[video-destacado width=300 height=150]

License

Vídeo Destacado is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published
by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Vídeo Destacado is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Vídeo Destacado. If not, see http://www.gnu.org/licenses/.

Support

Active installations30+
Weekly downloads
14-6.67%
Version1.7.5
Last updated12/16/2025
WordPress version3.0
Tested up to6.9
Tags
destacadodestaquepagepostvideo