Follow vsgloik on Twitter
oik-plugins
lazy smart shortcodes

workaround for oik-nivo-slider v1.2/v1.3 not working for child pages category_name queries

In version 1.2 of oik-nivo-slider I inadvertently introduced a bug which prevents the slideshow from working as expected for anything other than when displaying the image attachments to a post/page. This bug  is also found in version 1.3.

The problem could be seen on the Nivo theme=pascal page.

This page is supposed to show 4 different ways of displaying links to posts of a particular category:

  1. nivo slider using [nivo]
  2. simple list using [bw_posts]
  3. image and excerpt using [bw_pages]
  4. images only using [bw_thumbs]

Workaround

There is a workaround to this problem… I have already applied it to the Nivo theme=pascal page.

It requires you to add two additional parameters

post_mime_type=" "  - override the incorrect default setting of “image” – which is used for post_type=”attachments”. Note: the space between the quotes is important

thumbnail="large" – to set the size of the image.

Fix for version 1.4

There will be a fix for this problem in version 1.4. In the mean time, please use the workaround above.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

vsgloik oik-plugins
Work