E Archives - [oik] plugins.com https://www.oik-plugins.com/letters/e/ WordPress plugins and themes Fri, 04 Dec 2020 17:40:18 +0000 en-US hourly 1 https://wordpress.org/?v=6.8.3 Evolution 1: monolithic https://www.oik-plugins.com/wordpress-plugins-from-oik-plugins/free-oik-plugins/oik-lib-shared-library-management/evolution-of-shared-libraries/evolution-1-monolithic/ Thu, 30 Jul 2015 17:47:32 +0000 http://qw/oikcom/?page_id=18316 ]]> Evolution of shared libraries https://www.oik-plugins.com/wordpress-plugins-from-oik-plugins/free-oik-plugins/oik-lib-shared-library-management/evolution-of-shared-libraries/ Sat, 25 Jul 2015 06:14:56 +0000 http://qw/oikcom/?page_id=18149 escaped shortcodes being unexpectedly expanded during ‘get_the_excerpt’ https://www.oik-plugins.com/2013/12/escaped-shortcodes-unexpectedly-expanded-get_the_excerpt/ https://www.oik-plugins.com/2013/12/escaped-shortcodes-unexpectedly-expanded-get_the_excerpt/#comments Sat, 14 Dec 2013 17:39:45 +0000 http://www.oik-plugins.com/?p=10484 https://www.oik-plugins.com/2013/12/escaped-shortcodes-unexpectedly-expanded-get_the_excerpt/feed/ 1 email field type https://www.oik-plugins.com/wordpress-plugins-from-oik-plugins/free-oik-plugins/oik-fields-custom-fields-plugin/oik-fields-field-types/email-field-type/ Tue, 03 Dec 2013 09:42:04 +0000 http://www.oik-plugins.com/?page_id=10235 email field type to store an email address]]> Example: demonstrating the [bw_api] shortcode https://www.oik-plugins.com/2013/07/example-demonstrating-bw_api-shortcode/ https://www.oik-plugins.com/2013/07/example-demonstrating-bw_api-shortcode/#comments Wed, 10 Jul 2013 20:10:09 +0000 http://www.oik-plugins.com/?p=9076 https://www.oik-plugins.com/2013/07/example-demonstrating-bw_api-shortcode/feed/ 1 Example: [nivo] displaying full size featured images https://www.oik-plugins.com/examples/example-nivo-displaying-full-size-featured-images/ https://www.oik-plugins.com/examples/example-nivo-displaying-full-size-featured-images/#respond Tue, 02 Jul 2013 19:38:19 +0000 http://www.oik-plugins.com/?page_id=9031 In oik v2.1 there is a change to the logic that finds the image to display when a full sized image is requested. Previously the routine would randomly select one image from those attached to post. It would not choose the featured image, even if there were no images attached to the post. The new logic, when thumbnail=full is being used, is to find the featured image first. Then if there is no featured image select an attached image at random. It is now possible to create a nivo slider for pictorial news - posts in a particular category with featured images being used to display full sized images. Note: You are still required to ensure that there are images somehow attached to each post being displayed in the slider; the code does not ignore posts without images. ]]> https://www.oik-plugins.com/examples/example-nivo-displaying-full-size-featured-images/feed/ 0 Example: [nivo] using the id= parameter to select multiple posts in a defined sequence https://www.oik-plugins.com/examples/example-nivo-using-the-id-parameter-to-select-multiple-posts/ https://www.oik-plugins.com/examples/example-nivo-using-the-id-parameter-to-select-multiple-posts/#respond Tue, 02 Jul 2013 15:50:11 +0000 http://www.oik-plugins.com/?page_id=9021 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.
Here we see 3 images of Ditto in sequence: 8260, 8261, 8262 [nivo id=8260,8261,8262 theme=dark]
Ditto on the tableIs it tea time yetIt’s a hard life
Here we see the same 3 images in reverse order: 8262, 8261, 8260 [nivo post__in="8262 8261 8260" theme=light]
It’s a hard lifeIs it tea time yetDitto on the table
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 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

]]>
https://www.oik-plugins.com/examples/example-nivo-using-the-id-parameter-to-select-multiple-posts/feed/ 0
Example: format=”I/d a” block=n https://www.oik-plugins.com/examples/example-using-bw_jq-and-bw_pages/example-formatid-a-blockn/ https://www.oik-plugins.com/examples/example-using-bw_jq-and-bw_pages/example-formatid-a-blockn/#respond Fri, 21 Jun 2013 15:06:47 +0000 http://www.oik-plugins.com/?page_id=8910 https://www.oik-plugins.com/examples/example-using-bw_jq-and-bw_pages/example-formatid-a-blockn/feed/ 0 Example: block=y https://www.oik-plugins.com/examples/example-using-bw_jq-and-bw_pages/example-blocky/ https://www.oik-plugins.com/examples/example-using-bw_jq-and-bw_pages/example-blocky/#respond Fri, 21 Jun 2013 14:18:43 +0000 http://www.oik-plugins.com/?page_id=8887 block=y (default) and NO format parameter ]]> https://www.oik-plugins.com/examples/example-using-bw_jq-and-bw_pages/example-blocky/feed/ 0 Example: jQuery cycle format=”IL/E M” block=n https://www.oik-plugins.com/examples/example-using-bw_jq-and-bw_pages/example-jquery-cycle-formatile-m-blockn/ https://www.oik-plugins.com/examples/example-using-bw_jq-and-bw_pages/example-jquery-cycle-formatile-m-blockn/#respond Fri, 21 Jun 2013 14:08:47 +0000 http://www.oik-plugins.com/?page_id=8880 format="IL/E M" block=n: "Image, Link, div, Excerpt, space, More" ]]> https://www.oik-plugins.com/examples/example-using-bw_jq-and-bw_pages/example-jquery-cycle-formatile-m-blockn/feed/ 0