{"id":50277,"date":"2016-08-15T19:47:40","date_gmt":"2016-08-15T19:47:40","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/versatile-jquery-slider\/"},"modified":"2017-02-10T06:01:24","modified_gmt":"2017-02-10T06:01:24","slug":"versatile-jquery-slider","status":"publish","type":"plugin","link":"https:\/\/test.wordpress.org\/plugins\/versatile-jquery-slider\/","author":15080663,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.3","stable_tag":"1.1.3","tested":"4.5.33","requires":"3.0.1","requires_php":"","requires_plugins":"","header_name":"Versatile jQuery Slider","header_author":"Lee Porter","header_description":"","assets_banners_color":"","last_updated":"2017-02-10 06:01:24","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.elevaunt.com\/plugins\/versatile-jquery-slider","header_author_uri":"http:\/\/www.elevaunt.com","rating":5,"author_block_rating":0,"active_installs":10,"downloads":1570,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.1.1","1.1.2","1.1.3"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[5930,631,1483,611,208],"plugin_category":[50],"plugin_contributors":[96720],"plugin_business_model":[],"class_list":["post-50277","plugin","type-plugin","status-publish","hentry","plugin_tags-jquery-slider","plugin_tags-jquery-slideshow","plugin_tags-responsive-slider","plugin_tags-slider","plugin_tags-slideshow","plugin_category-media","plugin_contributors-elevaunt","plugin_committers-elevaunt"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/versatile-jquery-slider.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>The Versatile jQuery Slider helps you set up an easy, versatile, responsive slider with images or any HTML content.  Powered by <a href=\"http:\/\/jquery.malsup.com\/cycle2\">jQuery Cycle2<\/a>.<\/p>\n\n<p>I\u2019ve often looked for a good plugin that would allow me to quickly and easily add the jQuery Cycle2 plugin to a site, but I couldn\u2019t find any good ones\u2026 so I built this.  Basically, the Versatile jQuery Slider (VJS Slider) is a wrapper that pulls in most of the available options into a shortcode for easy use. So you\u2019ll want to check out the <a href=\"http:\/\/jquery.malsup.com\/cycle2\/api\">jQuery Cycle2 options<\/a> to know what is available.<\/p>\n\n<p>The nice part is, the jQuery Cycle2 scripts are only loaded on the pages that they are used on, and only the necessary scripts are loaded.  So if you need the carousel plugin, it will automatically be added in if the <code>fx<\/code> attribute is set <code>carousel<\/code>.  You need to center vertically?  Set the <code>center-vert<\/code> attribute to <code>true<\/code>.<\/p>\n\n<p>Easy as that!<\/p>\n\n<h4>Demos<\/h4>\n\n<p>Check out the <a href=\"http:\/\/elevaunt.com\/plugins\/versatile-jquery-slider\/demos\">demos page<\/a>.<\/p>\n\n<h4>Parameters<\/h4>\n\n<p>VJS Slider has some unique paramaters that jQuery Cycle2 doesn't have.  Also there are a some changes to a few of the jQuery Cycle2 parameters.  <a href=\"http:\/\/elevaunt.com\/plugins\/versatile-jquery-slider\">Check them out<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install the plugin through the WordPress plugins screen directly by searching for Versatile jQuery Slider, or upload the plugin files to the <code>\/wp-content\/plugins\/versatile-jquery-slider<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<\/ol>\n\n<h4>Usage<\/h4>\n\n<p>To use the VJS Slider, you'll use the shortcode <code>[vjs_slider] your slide code here [\/vjs_slider]<\/code>, then you're all set for the basic, default usage.<\/p>\n\n<p>If you want to get fancy, follow along with the <a href=\"http:\/\/jquery.malsup.com\/cycle2\/demo\">jQuery Cycle2 demos<\/a>, and wherever <code>data-cycle-attribute<\/code> is used, drop <code>data-cycle-<\/code> and all the rest is the same (in most cases).<\/p>\n\n<p>I'm not going to list out all the options here because they are all very well documented on the <a href=\"http:\/\/jquery.malsup.com\/cycle2\">jQuery Cycle2 site<\/a>. \u00a0Check it all out over there, then make some cool stuff with the VJS Slider!<\/p>\n\n<h4>Important Differences<\/h4>\n\n<p>There are a couple important changes that had to be made because they wouldn't work with the shortcode.  The following attributes are affected:<\/p>\n\n<ul>\n<li><p><strong>slides<\/strong>\nIf you use the <code>slide<\/code> attribute, don't add <code>&gt;<\/code>, it will automatically be assumed.  If you use ' If you use <code>&gt;<\/code> like the demos on the jQuery Cycle2 site show, then it will mess up the shortcode and your slider won't work.<\/p><\/li>\n<li><p><strong>next<\/strong> and <strong>prev<\/strong>\nIf you want to set your own selectors for next and prev, you'll need to add your own CSS.\n<strong><em>Note:<\/em><\/strong> if the navigation elements are inside the slider container they will be hidden by default. (see <code>navs<\/code>attribute below).<\/p><\/li>\n<li><p><strong>slide-css<\/strong>\nThis attribute is not used because it doesn't work reliably inside the shortcode. If you want slide specific CSS, just add your own class to your slide and add your own CSS.<\/p><\/li>\n<li><p><strong>swipe<\/strong>\nSwipe is turned on and the necessary js added automatically because let's face it, who doesn't want that?<\/p><\/li>\n<\/ul>\n\n<h4>VJS Slider Specific Attributes<\/h4>\n\n<p>VJS Slider has a few attribute unique to the plugin that are designed to help you out.<\/p>\n\n<ul>\n<li><p><strong>id<\/strong>\nBy default, the VJS Slider will have <code>id=\"vjs-slider\"<\/code>. If you want to change it, use the <code>id<\/code> attribute. \n<strong><em>Note:<\/em><\/strong> if you have more than one slider on the same page, make sure they all have a different id.<\/p><\/li>\n<li><p><strong>class<\/strong>\nGive your slider a class and style to your heart's content. \u00a0By default all sliders will have the class <code>vjs-slider<\/code>. If you set one here, it will be in addition to that class.<\/p><\/li>\n<li><p><strong>css<\/strong>\nVJS Slider comes with some very basic CSS.  If you don't want to use it, set the <code>css<\/code> attribute to <code>false<\/code>. Then you can use your own without having to override anything.<\/p><\/li>\n<li><p><strong>ie-fade<\/strong>\nSet to <code>true<\/code> to include the fade\/fadeout plugin for old versions of IE. This plugin corrects issues that arise when cleartype is used with opacity. See the <a href=\"http:\/\/jquery.malsup.com\/cycle2\/download\/\">jQuery Cycle2 docs<\/a>.<\/p><\/li>\n<li><p><strong>navs<\/strong>\nThis will enable next and prev navigation links. Set to <code>inside<\/code> for the links to live inside the slider container. Set to <code>outside<\/code> for the links to live outside the slider container. \n<strong><em>Note:<\/em><\/strong> If set to <code>outside<\/code>, you'll need to add your own CSS to make things look right.<\/p><\/li>\n<li><p><strong>nav-next<\/strong>\nWhen <strong>navs<\/strong> are enabled, the default will create a right arrow link. Use this attribute to change it to something else. It will accept plain text, <code>img<\/code> tag, or any html. If you don't want an element inside (like you want to control it all with CSS), then just add <code>nav-next=\"\"<\/code>.<\/p><\/li>\n<li><p><strong>nav-prev<\/strong>\nWhen <strong>navs<\/strong> are enabled, the default will create a left arrow link. Use this attribute to change it to something else. It will accept plain text, <code>img<\/code> tag, or any html. If you don't want an element inside (like you want to control it all with CSS), then just add <code>nav-prev=\"\"<\/code>.<\/p><\/li>\n<li><p><strong>nav-selector<\/strong>\nGive the navigation wrapper a class or id so that you can style as you wish.<\/p><\/li>\n<li><p><strong>theme-fix<\/strong>\nSometimes a theme includes a version of jQuery Cycle (usually it's an older version). When this happens, it will create a conflict with VJS Slider. Set this attribute to <code>true<\/code> to fix the conflict.<\/p><\/li>\n<li><p><strong>width<\/strong>\nBy default, the slider container will expand the full width of it's parent container. You can set your own width with this attribute .<\/p><\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt>Where can I find detailed instructions<\/dt>\n<dd><p>You can view the docs at the <a href=\"http:\/\/elevaunt.com\/plugins\/versatile-jquery-slider\">Versatile jQuery Slider plugin homepage<\/a>.  There you'll find an overview of how to use the shortcode.  For details regarding all the available parameters, please see the <a href=\"http:\/\/jquery.malsup.com\/cycle2\/api\">jQuery Cycle2 plugin options page<\/a>.<\/p><\/dd>\n<dt>My HTML slides aren't working<\/dt>\n<dd><p>Make sure you've included the <code>slides<\/code> parameter and correctly set it's value to the element of each slide (e.g. <code>div<\/code> or <code>span<\/code>).  Also make sure you did not include <code>&gt;<\/code>, the VJS Slider will take care of that part for you.<\/p><\/dd>\n<dt>The slider looks like it works, but then it just breaks<\/dt>\n<dd><p>First double checked that you don't have any typos (missing quotes, etc).<\/p>\n\n<p>Next, make sure that you've structured everything inside the shortcode correctly (see the <a href=\"http:\/\/elevaunt.com\/plugins\/versatile-jquery-slider\">VJS Slider demos<\/a> and the <a href=\"http:\/\/jquery.malsup.com\/cycle2\/demo\">jQuery Cycle2 demos<\/a>).<\/p>\n\n<p>If you're still having problems, there's a chance that your theme includes a version of jQuery Cycle2.  Try adding <code>theme-fix=\"true\"<\/code> as a parameter and that should do the trick.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.3 (2017-02-09):<\/h4>\n\n<ul>\n<li>Bug fix:\n\n<ul>\n<li>Fixed bug when timeout='0' - for reals this time.  The last \"fix\" made timeout='0' regardless of what was entered.<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<h4>1.1.2 (2017-02-04):<\/h4>\n\n<ul>\n<li>Bug fixes:\n\n<ul>\n<li>Moved CSS to , only when shortcode is used for better override capabilities<\/li>\n<li>Fixed bug when timeout='0'<\/li>\n<li>Fixed custom class name issue<\/li>\n<li>Fixed display issue when slides are divs<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<h4>1.0 (2016-08-11):<\/h4>\n\n<ul>\n<li>Initial Release<\/li>\n<\/ul>","raw_excerpt":"Set up an easy, versatile, responsive slider with images or any HTML content.  Powered by jQuery Cycle2.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/50277","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=50277"}],"author":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/elevaunt"}],"wp:attachment":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=50277"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=50277"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=50277"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=50277"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=50277"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=50277"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}