EIS WordPress Plugin Updated Posted in On 10th January 2013 | 52 Comments

eis-blog

Eventually, I hook myself to create a plugin for slideshow , firstly I want to create the plugin in my own code but at last after surfing in the web I found cool tutorial on the tympanus.net ” Elastic Image Slideshows”, I use this tutorial and the jQuery plugin for creating EIS Plugin…

wp-eis-header-2

Download sourceView demo

First of all  I appreciate   Mary Lou (Manoela Ilic)  for the  best and unique tutorials on the web.  This tutorial encouraged me to create  a plugin .  and also I thank Hadi Karimi and Andi Mayr for the photos ( Best Artists ).

Well, let me to introduce this plugin, firstly this plugin is based on ajax that means you need to enable the javascript in your web browser. This plugin is compatible to 3.5.1 and the minimum version for working properly is 3.4 or higher.

wp-eis-screenshot-1

I illustrate how the plugin works, first you need to download the plugin from wordpress plugins repository then you should extract the plugin in plugins directory. And then activate the plugin just as rule ….
Now in the WordPress panel you have a menu ( WP EIS ) under the settings menu

wp-eis-screenshot-2

If you want to create a slideshow you must first go to Add Slideshow under WP EIS menu. You have Two options Advanced Mode and Basic Mode. In the pictures I show both of them.

Basic Mode :

wp-eis-screenshot-3

Advanced Mode :

wp-eis-screenshot-4

Tip: YOU SHOULD USE A UNIQUE NAME WITHOUT ANY ASCII CHARACTER EXCEPT ( _ ) OR EVEN SPACE AND ALSO USE LOWERCASE WORDS, LIKE my_slider OR ANYTHINGS LIKE THIS PATTERN.

Then you need put your images into slideshow that has been created. You need go to the Add Images under WP EIS menu.

wp-eis-screenshot-5

When you adding your images you show the fields for titles and order, In the new version titles sections are optional but order section is required.

wp-eis-screenshot-6

This is it your slideshow with images already has been created :) . at the end for managing ( to edit or delete ) your slideshows you just go to All Slides under the WP EIS menu.

wp-eis-screenshot-7

Now How use this slideshow in your theme or in your post? Well this is so simple in the All slides page you have two options for each slidehsows, if you want show the slideshow in the post just use Shortcode Function
for instance in my All slides page I had one slideshow with name of theme_slider if I want to use this slideshow in my posts I use one of the Shortcode Functions

[wp_eis id="1"]
[wp_eis id="1"] My slideshow [/wp_eis]

Or if I want to use this slideshow in my theme I use Theme Function

<?php echo do_shortcode('[wp_eis id="1"]'); ?>

Tip: For showing the slideshow you should put this

<?php wp_enqueue_script("jquery"); ?>

Right before the

<?php wp_head(); ?>
</head>

And also your theme should be used these codes

<?php wp_head(); ?>
<?php wp_footer(); ?>

For managing all images go to All Images.

wp-eis-screenshot-8

IF YOU WANT TO ADJUST THE HEIGHT OF IMAGES YOU HAVE THERE OPTIONS

1 – Set all height of images before putting them into slideshow ( this the best opiton )
2 – Use this style for setting the height but you should consider that you might be lost part of your images.

.eis-wrapper { height: 100px; }
.ei-slider {
    height: 100%;
    max-height: 100px;
}

3 – If you are a developer you can change images resize processing in jquery-eislideshow.js document with changing the process of these two methods

_setImagesSize
_getImageDim

If you are not a developer I suggest you do not use this part for editing .

Have Good Time … ;) .

If you have any questions about the plugin you can ask here. If you liked the plugin you can be one of my facebook fans.