On the WordPress.org support forum someone asked to be able to specifically choose the images to display in the nivo slider and control the sequence in which they are displayed, without having to upload the images multiple times.
e.g. on one page use [nivo id=1,2,3,4], on another use [nivo id=2,1,4,3] and on a third use [nivo id=4,2,1,3]
With oik v2.1 it is now possible to use the id=
parameter to select the specific attachment images to display. By default the sort sequence will be in the order you specify the ids.
[nivo id=8260,8261,8262 theme=dark]
[nivo post__in=”8262 8261 8260″ theme=light]
Note: id=
and post__in=
are interchangeable.
See also
[nivo] oik-nivo-slider WordPress support topic: oik-nivo-slider: Order based in include parameter Nivo slider with defined slide order Examples
Technically
The new logic for oik v2.1. is implemented in
You appear to be a bot. Output may be restricted
Sourcefile not defined for 9021bw_api cannot determine the funcname. The solution to this problem was to use the “post__in” parameter to get_posts(), also using the orderby=post__in sort sequence by default when selecting multiple ids.
hover to slideToggle source