This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.



[nivo] shortcode for the jQuery Nivo slider; “The Most Awesome jQuery Image Slider”; reputed to be the world’s most popular jQuery image slider.

New features in nivo v1.14.1

  • Now supports theme=custom

New feature in nivo v1.14.0

  • Add support for link=full, to open the original full sized image rather than the selected thumbnail= size

New feature in nivo v1.12

  • Choose the contents of the caption area using the format= parameter

Note: The format parameter was first made available for the [bw_pages] shortcode and is also supported in [bw_cycle]; both part of the oik base plugin.

Features of jQuery Nivo 3.2

  • Flexible slider
  • 16 transition effects
  • 4 responsive slider themes
  • Built in directional and control navigation
  • Thumbnail image navigation

See also Nivo Slider for more information about the jQuery Nivo code.

Features of the oik nivo slider WordPress plugin

  • [nivo] lazy smart shortcode
  • Displays attached images
  • Displays images attached to related content
  • Profile for nivo slider settings
  • Display slideshows with/without links
  • Display slideshows with/without captions
  • Displays slideshows with HTML captions, using the format= parameter
  • Transition effect can be defined in the shortcode
  • Supports custom links to your content
  • Supports jQuery Nivo 3.2 for responsive sliders
  • nivo slider can be put into any part of your website: content, header, footer and sidebar text widgets
  • 1 additional responsive slider theme
  • Supports jQuery Nivo 2.7.1 for backward compatibility
  • 4 additional themes for jQuery Nivo 2.7.1
  • Works with existing content, does not add its own custom post type
  • Uses the oik plugin’s shortcode API for lazy smart shortcodes
  • The [nivo] shortcode is interchangeable with other oik shortcodes such as [bw_images], [bw_thumbs] or [bw_pages]
  • Supports display of images from a NextGEN gallery, using a “special post type” of nggallery.
  • Supports display of a plugin’s screenshots
  • Supports display of images with fancybox

Note: oik-nivo-slider is dependent upon the oik plugin.
You can activate it but it will not function correctly unless the pre-requisite version of oik is also activated.
Download oik from
oik download

Find out more

Further reading

If you want to read more about the oik plugins then please visit the
oik plugin
“the oik plugin – for often included key-information”


  • Nivo slider - default theme [nivo]
  • Nivo slider - bar theme [nivo theme=bar]
  • Nivo slider - dark theme [nivo theme=dark]
  • Nivo slider - light theme [nivo theme=light]
  • Nivo slider - oik theme - not hovered over [nivo theme=oik ]
  • Nivo slider - oik theme - image hovered over
  • Nivo slider - oik theme - caption hovered over
  • Nivo slider - default271 theme [nivo theme=default271]
  • Nivo slider - orman theme [nivo theme=orman]


  1. Upload the contents of the oik-nivo-slider plugin to the `/wp-content/plugins/oik-nivo-slider’ directory
  2. Activate the oik-nivo-slider plugin through the ‘Plugins’ menu in WordPress
  3. Whenever you want to produce a Nivo slider use the [nivo] shortcode.

Note: oik-nivo-slider is dependent upon the oik plugin. You can activate it but it will not work unless oik is also activated.
Download oik from
oik download



  1. Upload the contents of the oik-nivo-slider plugin to the `/wp-content/plugins/oik-nivo-slider’ directory
  2. Activate the oik-nivo-slider plugin through the ‘Plugins’ menu in WordPress
  3. Whenever you want to produce a Nivo slider use the [nivo] shortcode.

Note: oik-nivo-slider is dependent upon the oik plugin.
You can activate it but it will not work unless oik is also activated.
Download oik from oik download

What is the simplest syntax for the [nivo] shortcode?

If you simply want to show all the attached images to a page, post or custom post type then use

I typed [nivo] and got [nivo] back

You need to activate both the oik-nivo-slider plugin and the oik base plugin. The [nivo] shortcode only becomes functional when [oik] is loaded.

My images do not appear in the slider

The most common fixes to this problem are:

  • Don’t insert the images that you want in the slideshow into the page; just upload media and save changes.
  • The slider requires jQuery. Check that your theme files contain calls to wp_head() and wp_footer().

What are the parameters to the [nivo] shortcode?

The basic parameters that control the display of the Nivo slider are:

  theme="default|bar|dark|light|oik|orman|pascal|default271|oik271 - Theme for the slideshow"
  link="y|n|file|full - Link the images to the target post/page or media file"
  caption="y|n - Display the image title as the caption"
  ribbon="y|n - Display the ribbon, if the theme supports it (version 271 only)"
  thumbnail="full|thumbnail|medium|large|nnn|wxh - image size"
  class="|classes - CSS classes"
  thumbs="|n|y - thumbnail navigation"

How do I make the images link to my content?

There are three methods.

  1. Use the oik custom link URL field
  2. Build the slideshow from images attached to related content
  3. Use the format= parameter

Use the oik custom link URL field

If your slide show is created from attached images then use the oik custom image link URL field in the Add Media dialog to set the target for the link.

Images attached to related content

Alternatively build the slideshow dynamically from images attached to related content.

Use the post_type parameter to specify the content type and

  • either the post_parent parameter for hierarchical content types
  • or category for posts
  • or other selection criteria for other content types

    post_type=”post_type – Post type to display”
    post_parent=”|ID – Parent ID to use if not current post”

Use the format= parameter

[nivo format=”L”

[nivo format="T/C"

What is the FULL syntax for the [nivo] shortcode

post_type=”attachment|post_type|special:value – Post type to display”
theme=”default|custom|bar|dark|light|oik|orman|pascal|default271|oik271 – Theme for the slideshow”
class=”|classes – CSS classes”
link=”y|n|file|full – Link the images to the target post/page or media file”
caption=”y|n – Display the image title as the caption”
ribbon=”y|n – Display the ribbon, if the theme supports it”
thumbnail=”full|thumbnail|medium|large|nnn|wxh – image size”
thumbs=”|n| y – Thumbnail navigation”
nav=”|n| y – Control navigation”
pause=”|pause – Pause time in milli seconds”
manual=”|n| y – Manual advance”
effect=”random|sliceDownRight|sliceDownLeft|sliceUpRight|sliceUpLeft|sliceUpDown|sliceUpDownLeft|fold|fade|boxRandom|boxRain|boxRainReverse|boxRainGrow|boxRainGrowReverse|slideInLeft|slideInRight – transition effect”
numberposts=”5|numeric – number to return”
offset=”0|numeric – offset from which to start”
category=”|category-id – category IDs (comma separated)”
category_name=”|category-slug – category slugs (comma separated)”
customcategoryname=”|category-slug – custom category slug”
orderby=”date|ID|title|parent|rand|menu_order – Sort sequence”
order=”DESC|ASC – Sort order.”
include=”|id1,id2 – IDs to include”
exclude=”|id1,id2 – IDs to exclude”
meta_key=”|meta key – post metadata key”
meta_value=”|meta value – post metadata value”
post_mime_type=”|image|application|text|video|mime type – Attached media MIME type”
post_parent=”|ID – Parent ID to use if not current post”
post_status=”publish|pending|draft|auto-draft|future|private|trash|any – Post status”
id=”|IDs – IDs of posts to display”

Do I have to remember all those parameters?

NO. You can enable the oik TinyMCE shortcode or quicktag buttons. See oik options > Buttons.
When editing a post/page with TinyMCE or the HTML editor click on the shortcode button to see a list of ALL enabled shortcodes and get syntax help, where available.

What’s OIK and why do I need it?

The oik Nivo slider is developed using the OIK (Often Included Key Information) API (Application Programming Interface).
If you don’t have the OIK plugin installed and activated then the Nivo slider shortcode won’t work.

Specifically, the code is dependent upon bw_get_posts() to obtain the list of attachments, posts, pages or custom post types
which populate the slider and bw_thumbnail() to select the image to display when it’s not an attached image.

I can’t see some of the images in my slideshow

The default image size is thumbnail=full.
At present the bw_thumbnail() function will only return an image for a particular post id
when there is an attached image; it won’t find the featured image. As a workaround either specify the thumbnail parameter as small,medium,large or your preferred size (e.g. 150×100)
OR ensure that the image you want to display is attached to the post
OR exclude the post from the list ( exclude=id1,id2 )

Do I need to make my images the same size?

NO, not any more.
If you use any one of the five themes associated with jQuery Nivo version 3.1 then the images can be different sizes.
Warning: you might not like the results though.

Can I control the slideshow transitions?

YES. Use the Nivo slider settings page.

Can I provide my own themeing?

This is planned for a future version.

Can I put the [nivo] shortcode in my sidebar?

YES. You can use the [nivo] shortcode in sidebars, headers and footers by using a text widget.
It’s just like entering the shortcode into a post, page or custom post type.
Remember you may need to set the post_parent parameter to control which posts are loaded.

Can I code the shortcode into header.php?

Not directly. In order to get the shortcode to expand you need to wrap it in some php.
One way of achieving this is to code

Which version of the jQuery Nivo slider code is needed?

The plugin includes multiple versions of the FREE jQuery Nivo slider from Dev7 Studios
* Version 3.2 is the latest version producing responsive slideshows.
* oik-nivo-slider continues to support the themes for version 2.7.1: default271, orman, pascal and oik271

Does it support version 3.2 of the jQuery Nivo slider?

YES… from oik-nivo-slider version 1.9

Does it support thumbnail navigation?

YES… from oik-nivo-slider version 1.7 with oik 1.17 or higher
Thumbnail navigation is supported from version 3.1 of the nivo jQuery code.

Can I choose the effect per slider?

YES… Use the effect= parameter e.g. [nivo effect=boxRain]

What’s the difference between this plugin and Nivo’s WordPress plugin

I have not tried Nivo’s plugin.

Does it support NextGEN galleries?

YES. Basic support for images in NextGEN galleries has been added in version 1.18
You need to use a special post_type parameter
[nivo post_type=nggallery:1]

  • The special post_type is nggallery
  • Then you need a colon (:)
  • Then the ID of the gallery

What other special post types are there?

oik-nivo-slider has built in support for:

  • nggallery:id – display the images from a NextGEN gallery
  • screenshot:plugin_name – display the screenshots for an installed plugin

Can you tell me more?

YES. See oik-nivo-slider


September 3, 2016
The oik-nivo-slider plugin provides an advanced [nivo] shortcode. In its simplest form it will display the images attached to a post or page. But there are many advanced scenarios which allow you to make a slideshow out of just about any content, so long as there are attached images. Much of the advanced capability is provided by the oik base plugin. The previous low ratings were applicable when the oik base plugin consisted of many plugins. This is no longer the case. Those plugins were extracted and made into standalone plugins a long time ago. I've only rated the slider as a 4 since it's not the best on small screen smart phones and tablets and some of the transitions don't appear to work. That's a limitation of the jQuery.
Read all 6 reviews

Contributors & Developers

“oik-nivo-slider” is open source software. The following people have contributed to this plugin.


Translate “oik-nivo-slider” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Changed: Updated jQuery files to run without jQuery Migrate, [github bobbingwide oik-nivo-slider issues 11]
  • Changed: Updated jQuery files to support jQuery 3.5.1, [github bobbingwide oik-nivo-slider issues 11]
  • Tested: With WordPress 5.5.1 and WordPress Multi Site
  • Tested: With PHP 7.4
  • Tested: With PHPUnit 8


  • Changed: Updated PHPUnit tests for PHPUnit 8,[github bobbingwide oik-nivo-slider issues 10]
  • Tested: With WordPress 5.3.2 and WordPress Multi Site
  • Tested: With PHP 7.3 and 7.4
  • Tested: With PHPUnit 8


  • Changed: Now depends on oik v3.2.8
  • Tested: With WordPress 5.0-RC3
  • Tested: With Gutenberg 4.6.1
  • Tested: With PHP 7.1 and 7.2


  • Fixed: Loads nivo.php rather than to expand the nivo shortcode


  • Changed: 100% internationalized and localized in UK English [github bobbingwide oik-nivo-slider issues 6]
  • Changed: Depends on oik v3.2.1
  • Tested: With WordPress 4.8.3, WordPress 4.9 and WordPress Multisite [github bobbingwide oik-nivo-slider issues 7]
  • Tested: With PHP 7.0 and 7.1


  • Tested: With WordPress 4.7.3 and WordPress Multisite
  • Tested: With PHP 7.1 [github bobbingwide oik-nivo-slider issues 5]
  • Tested: With https protocol
  • Changed: Docblocks
  • Changed: Updated readme


  • Fixed: Dependency checking issues when oik v2.4 is active [github bobbingwide oik-nivo-slider issue 4]


  • Fixed: nivo slider formatting issues when attachment titles contain HTML tags [github bobbingwide oik-nivo-slider issue 3]
  • Changed: Now reports dependency on oik v3.0.0 or higher
  • Tested: With WordPress 4.5 and WordPress MultiSite


  • Added: New theme called ‘custom’ which allows you more control over styling. Issue #2
  • Changed: Logic now sets style=display:none on all but the first image to be displayed, for attachments and screenshots
  • Fixed: Reverted deferred registration of the [nivo] shortcode. Issue #1


  • Added: link=full parameter option to open the full sized image.
  • Changed: Supports symlinked installations.
  • Changed: Now depends on oik v2.4
  • Changed: Does not register the [nivo] shortcode until notified by ‘oik_add_shortcodes’
  • Fixed: Includes minor CSS changes to improve the initial display of sliders displayed using Nivo jQuery 2.7.1 themes@ default271, oik271, orman and pascal
  • Tested: With WordPress 4.3


  • Fixed: Added call to bw_clear_processed_posts()


  • Added: Support for the format= parameter – allowing HTML content to be displayed in the caption area


  • Fixed: Changed nivo-slider-32.css to correctly display transitions in text widgets… where oik.css was setting max-width to 100%, but nivo needs max-width: none;


  • Fixed: Logic now allows thumbs=n parameter to override setting of Control nav thumbs.
  • Added: support to override: Control nav ( nav=n|y ), Pause time ( pause=nnnn ) and Manual advance ( manual=n|y )


  • Added: Added link=file parameter option to enable opening of images with “fancybox” without having to set the oik custom image link field
  • Added: rel=”slider-n” to allow fancybox to open media files (link=file) in a fancybox gallery
  • Added: class “iframe” to allow fancybox to open attachment links (link=y) in an iframe.
  • Changed: Now uses jQuery nivo slider version 3.2
  • Changed: Updated oik nivo caption click jQuery; replacing live() with on()
  • Tested: With WordPress 3.6.1


  • Added: Support for displaying images from NextGEN galleries using post_type=nggallery:n where n= gallery ID
  • Changed: Updated to use the latest dependency checking logic
  • Tested: with WordPress 3.5.1
  • Changed: Improved some documentation comments
  • Changed: Added a blank space in the syntax for the effect parameter – to improve the formatting in oik shortcode help


  • Added: effect parameter to override the profile setting


  • Changed: Improved CSS to allow for themes that set margins on tags
  • Noted: bug causing small images to appear


  • Added: Slider transitions: “slideInLeft” and “slideInRight”.
  • Fixed: Bug preventing boxRain transition from completing when boxCols or boxRows values set in Nivo settings. Depends on oik v1.17.1128


  • Added: controlNavThumbs option in Nivo settings. For Nivo 3.1
  • Added: Also supports thumbs=y|n parameter to override controlNavThumbs


  • Added: Now supports nivo version 3.1 AND nivo 2.7.1. You can mix and match slider themes on a page
  • Changed: Default theme is still called default. If you want the default theme from nivo 2.7.1 use default271


  • Fixed: Now supports images with only one size – as in


  • Fixed: Added support for the thumbnail parameter. Required when the full size image is much larger than the slider size.


  • Fixed: Unrecoverable fatal error in admin pages if the oik base plugin is deactivated. Missing bw_trace2()


  • Added: Improved dependency checking. oik-nivo-slider will produce a link to install, upgrade or activate oik
  • Fixed: slider only working for post_type=”attachment” since the post_mime_type=image parameter was being set incorrectly
  • Note: There is a workaround for the above problem; include post_mime_type=" " thumbnail="large" in the shortcode


  • Added: Link to any content from attached images
  • Fixed: calls bw_jquery() setting $windowload parameter to true… the default in oik v1.13 is false
  • Fixed: can’t click on captions – undefined variable oik_nc_script


  • Added: Default slideshow options can be configured
  • Added: post_mime_type parameter defaults to “image”
  • Added: option to display “screenshot” files from installed plugins [nivo post_type=”screenshot:oik-nivo-slider”]
  • Changed: The example logic will display the oik-nivo-slider screenshots
  • Changed: oik-nivo-slider will now produce warning messages when the pre-requisite version of the oik plugin is not satisfied
  • Changed: BUT it WILL crash if you try to run it against oik version 1.11
  • Fixed: Corrected the name of the oik base plugin when using Plugin Dependencies
  • Fixed: minimum version of WordPress required is 3.3
  • Fixed: Added a workaround to allow oik version 1.12 on single site, but needing oik v1.12.1 for MultiSite


  • Fixed: Correction for Fatal error due to _sc_thumbnail() not being defined… it’s in the next version of OIK.


  • Added: link=n parameter for when you just want a slideshow
  • Added: caption=n parameter for when you want plain pictures
  • Added: ribbon=n parameter to disable the ribbon image shown in some themes
  • Added: oik theme – demonstrating CSS for hovering over the caption
  • Changed: corrections and updates to this readme.txt file
  • Changed: Uses the the minified jQuery Nivo slider library by default.
  • Fixed: Uses the metadata to find the filename for the attached image


  • initial version. Works with oik version 1.11