该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

PhotoFade

描述

This plugin takes the images attached to a post or page and creates a looping slideshow, just like the one above. It’s very simple right now, but I’ve got some other neat ideas for it in the future.

Usage is simple:
[photofade] – Displays slideshow of images attached to your post/page by Menu Order. Defaults to 4 seconds.
[photofade time=’5000′] – Displays the same slideshow with 5 second intervals, configured via milliseconds.
[photofade order=’random′] – Displays the slideshow in random order. Options are ‘sequence'(default), ‘random’ or ‘random_start’
[photofade height=’350′] – Displays the slideshow at 350px tall. Control the height in pixels with this. Can also be set to ‘variable’ to allow for different image heights. Defaults to smallest image height.
[photofade styles=’off’] – Turns off default styles and use your own (you can use ‘photofade_custom’ class). Defaults to ‘on’.

If you enjoy this plugin, if it makes your life easier, if it saves you time, if you think it’s gorgeous in it’s simplicity, consider donating. I’d love to improve it more.

Note: Plugin works best if uploaded images are of similar size/dimensions.

安装

This section describes how to install the plugin and get it working.

e.g.

  1. Upload photo-fade directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Upload photos to your post/page (you don’t have to insert them, just attach them to post).
  4. Use [photofade] shortcode in your post/page.
  5. Use [photofade time=’2000′] to control the time per slide.
  6. Use [photofade order=’random’] to randomly sort the slides.

常见问题

Where can I donate or learn more?

http://davidangel.net/photofade/

评价

此插件暂无评价。

贡献者及开发者

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

贡献者

将“PhotoFade”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

0.2.1

Moved some styles inline so they wouldn’t be overriden by other stylesheets.

0.1.9

Added styles=’on/off’ and defaults to on. Use styles=’off’ if you’d like to style the photofade_custom class.

0.1.8

Quick bugfix.

0.1.7

Added ‘variable’ to height option in the shortcode. This will allow images to be different heights.

0.1.6

Fixed jQuery bug that affected some users

0.1.5

Website link updated (shortened)

0.1.4

Better margin control

0.1.3

Control the container height if you wish

0.1.1

Better documentation

0.0.5

Bug fixes

0.0.3

First Release