📜 ⬆️ ⬇️

(a) Slideshow Wordpress Plugin

Wordpress (a)Slideshow plugin

After updating the jQuery plugin (a) Slideshow to version 0.5.1, I decided to remember the past and write a plugin for Wordpress - and even with widget.


Downloading



Installation


  1. Copy the folder "a-slideshow" in the plugins directory "/ wp-content / plugins /"
  2. Activate the plugin in the WordPress admin panel

Using


This plugin uses the text of your page (post) to organize slides, for example:
<! - [slideshow] ->
< p > < label > Title of the first slide < / label > Text of the first slide ... < / p >
< p > < label > Title for second slide < / label > Text for second slide ... < / p >
< p > The text of the third slide ... no title < / p >
< img src = "/wp-content/uploads/yyyy/mm/image01.jpg" alt = "Slide number four is the picture" / >
<a href = "/ wp-content/uploads/yyyy/mm/image02.jpg" title = "Slide number five" /> This is a link to the picture, and it will be loaded automatically < / a >
<! - [/ slideshow] ->

')
You can also customize the plugin at your discretion using the corresponding item in the admin panel (Settings -> (a) Slideshow), or specify any personal settings for each slideshow:

<! - [slideshow] [% options%] ->
< img src = "/wp-content/uploads/yyyy/mm/image01.jpg" alt = "Caption 1" / >
< img src = "/wp-content/uploads/yyyy/mm/image02.jpg" alt = "Caption 2" / >
< img src = "/wp-content/uploads/yyyy/mm/image03.jpg" alt = "Caption 3" / >
<! - [/ slideshow] ->


Instead of % options%, you can write any jQuery plugin settings listed at http://slideshow.hohli.com :

effect:"random",
play:1,
playframe:0


In the same way, you can configure the settings for the widget

Source: https://habr.com/ru/post/48516/


All Articles