Snvk Gallery Metabox

描述

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]);

            }

        }
?>

屏幕截图

  • Snvk media: Click on menu for choose post type
  • Setting: Click setting for image gallery code
  • Upload Media: Click on button upload for image upload

安装

  1. Upload snvk-media-gallery to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

OR

  1. Goto dashboard > plugin > Add New > select snvk-media-gallery.zip file.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

常见问题

How to installation Snvk Media Gallery plugin

  1. Upload snvk-media-gallery to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

评价

此插件暂无评价。

贡献者及开发者

“Snvk Gallery Metabox” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Snvk Gallery Metabox”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.0