Linux 软件免费装
Banner图

LiteBox

开发者
更新时间 2014年10月4日 18:15
PHP版本: 3.5 及以上
WordPress版本: 3.9.1
版权: MIT X11-License
版权网址: 版权信息

标签

audio video image gallery lightbox modal popup vimeo youtube iframe popup window video popup image popup onclick popup

下载

1.0 1.1 1.2 1.3

详情介绍:

This plugin will enable you to easily add Video,Audio,Image,Iframe,and Inline content to your Wordpress site.Using it is as simple as adding the shortcodes to your post and page or if preferred adding the shortcodes to the required theme template files. A demo can be found here here Plugin Features Supported Video Sites Supported Audio Sites Video Example Add the shortcodes to your post or pages. The href attribute should be the url of your video or Audio content [litebox href="http://www.youtube.com/watch?v=EmSOTxW3lNI"] Audio Example [litebox href="http://soundcloud.com/forss/flickermood"] = Iframe Example =\ The anch should be the anchor text. [litebox href="http://cnn.com" anch="Iframe" ] Inline Example [litebox href="#inline" anch="Inline" ] Single Image Example [litebox href="../wp-content/uploads/2014/07/HD-1.jpg" ] [litebox href="../wp-content/uploads/2014/07/HD-2.jpg" ] [litebox href="../wp-content/uploads/2014/07/HD-3.jpg" ] [litebox href="../wp-content/uploads/2014/07/HD-4.jpg" ] Group Image Example For group images use the group attribute , the value can be any string, but must the same for the entire images. [litebox href="../wp-content/uploads/2014/07/HD-1.jpg" group="ghd"] [litebox href="../wp-content/uploads/2014/07/HD-2.jpg" group="ghd"] [litebox href="../wp-content/uploads/2014/07/HD-3.jpg" group="ghd"] [litebox href="../wp-content/uploads/2014/07/HD-4.jpg" group="ghd"] Shortcode Theme file Example Add the function with the shortcodes to your theme template files <?php echo do_shortcode('[litebox href="http://vimeo.com/45427826" ]'); ?>

安装:

System requirements Installation
  1. Download the .zip file of the plugin and extract the content.
  2. Upload the complete litebox folder to the /wp-content/plugins/ directory.
  3. Activate the plugin through the 'Plugins' menu in WordPress.
  4. Go to to litebox settings page and select the default options which should be used.
  5. That's it! You're done. Now you can place your shortcodes to your post/pages or your theme files.

屏幕截图:

  • Youtube popup example
  • Vimeo popup example
  • Options Page

更新日志:

1.3 1.2 1.1 1.0