Snvk media gallery metabox is a wordpress plugin that allow you to add gallery video…
Author: | Sushil Sankwal (profile at wordpress.org) |
WordPress version required: | 5.4 |
WordPress version tested: | 5.8 |
Plugin version: | 1.0.0 |
Added to WordPress repository: | 24-08-2021 |
Last updated: | 24-08-2021
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | https://snayvik.com/snvk-plugins/ |
Total downloads: | 412 |
Click to start download |
Snvk gallery Image Video metabox plugin allows user to add multiple images to particular post, page or any custom post type.
There the options provided with this plugin i.e.
1) Dashboard > Snvk Media Gallery > Setting > Setting gallery metabox check post or custom post type for add gallary metabox.
Website
https://sushilsankwal.wordpress.com/
PHP CODE
<?php
$snv_mediagallery = get_post_meta(get_the_ID(),'snv_mediagallery', TRUE);
$snv_mediatitle = get_post_meta(get_the_ID(),'snv_mediatitle', TRUE);
$snv_mediaurl = get_post_meta(get_the_ID(),'snv_mediaurl', TRUE);
$snv_arraycombine = array_map(null,$snv_mediagallery,$snv_mediatitle,$snv_mediaurl);
if(is_array($snv_arraycombine))
{
foreach($snv_arraycombine as $snv_content)
{
//file url
echo esc_html($snv_content[0]);
//file title
echo esc_html($snv_content[1]);
//media url for video
echo esc_html($snv_content[2]);
}
}
?>
Screenshots
FAQ
ChangeLog