Files
SIGE-WEB-snapshot/ambiente-de-test/wp-content/plugins/all-in-one-video-gallery/admin/partials/video-submitbox.php

33 lines
1.0 KiB
PHP

<?php
/**
* Videos: Add new fields in the "Publish" metabox.
*
* @link https://plugins360.com
* @since 1.0.0
*
* @package All_In_One_Video_Gallery
*/
?>
<?php if ( current_user_can( 'manage_aiovg_options' ) ) : ?>
<div class="aiovg misc-pub-section misc-pub-featured">
<label>
<input type="checkbox" name="featured" value="1" <?php checked( $featured, 1 ); ?> />
<?php esc_html_e( 'Mark as', 'all-in-one-video-gallery' ); ?>
<strong><?php esc_html_e( 'Featured', 'all-in-one-video-gallery' ); ?></strong>
</label>
</div>
<?php wp_nonce_field( 'aiovg_save_video_submitbox', 'aiovg_video_submitbox_nonce' ); // Nonce ?>
<hr />
<?php endif; ?>
<div class="aiovg misc-pub-section misc-pub-shortcode">
<label class="aiovg-flex aiovg-flex-col aiovg-gap-1 aiovg-margin-bottom">
<strong><?php esc_html_e( 'Video Shortcode', 'all-in-one-video-gallery' ); ?></strong>
<input type="text" class="widefat" readonly="readonly" value="[aiovg_video id=<?php echo (int) $post_id; ?>]" />
</label>
</div>