BACK TO DIRECTORY

Snvk Gallery Metabox

by sushilsankwal

0.0
(0 ratings)

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

Snvk media: Click on menu for choose post type

Snvk media: Click on menu for choose post type

Setting: Click setting for image gallery code

Setting: Click setting for image gallery code

Upload Media: Click on button upload for image upload

Upload Media: Click on button upload for image upload

Plugin Details

Active Installs
0
Total Downloads
995
Version
1.0.0
Requires WP
5.4
Requires PHP
5.8
Tested Up To
5.8.15
Added
2021-08-24
Last Updated
2021-08-24 12:56pm GMT

Ratings

5
0
4
0
3
0
2
0
1
0