[oik] plugins.com

WordPress plugins and themes

  • Home
  • About
    • lazy shortcodes
    • smart shortcodes
    • oik base plugin
      • oik – donate
      • oik PayPal buttons
      • oik installation
      • oik Button Shortcode button
      • oik changelog
      • oik FAQ
      • oik plugins on SVN
      • oik plugins on GitHub
  • Plugins
    • oik base plugin
    • FREE oik plugins
    • WordPress plugins
    • Premium oik plugins
    • Bespoke oik plugins
  • Shortcodes
    • Shortcode examples
  • Blocks
    • Block examples
  • APIs
    • ALL action and filter hooks
  • Blog

Using [bw_jq] to display images with flexslider jQuery

The oik base plugin doesn’t provide a shortcode to display the Flex slider. If you want to use the Flexslider jQuery then you need to use four shortcodes.
  • bw_jq to indicate you want to use the flexslider jQuery
  • [div] to create an HTML div with a class of flexslider
  • [bw_list] shortcode to list the images to display, specifying the thumbnail parameter
  • [ediv] to end the HTML div.
[bw_jq ".flexslider" flexslider script=flexslider ]
[div class="flexslider w50pc"]
[bw_list post_type="attachment" post_parent=8258 numberposts=3 thumbnail=medium class=slides]
[ediv]
  • RoseRose
  • Water LilyWater Lily
  • Wild OrchidWild Orchid

You may also need to apply some CSS styling to override some default theme behaviour for list items. Notice the class=slides parameter on the bw_list shortcode.

ul.slides li { padding-left: 0px; list-style-type: none; }
ul.slides li:before, ul.flex-direction-nav li:before { display: none; }
ul.flex-direction-nav li { list-style-type: none; }
.flexslider .slides img.bw_thumbnail { border: none;  margin: 0px;}
 

Published: February 8, 2014 | Last updated: May 29, 2017

Information

Shortcode: bw_jq – Perform a jQuery method
Letters: U

Syntax

Syntax

[bw_jq
selector="| selector - jQuery selector"
method="| method - jQuery method to perform"
script="| script-name - Handle for the jQuery script"
debug="false| true - Use true when you want to debug the jQuery"
windowload="false| true - Use true when the jQuery is to run when the window has loaded"
parms="| parm=value1,parm2=value2 - Variable list of parameters"
src="| ID| URL - ID or full URL of JavaScript"
inline="| T| Y - Set to T=True or Y=Yes when the script tag must be inline"]

Other examples

  • [bw_jq] and [bw_list] to implement the Flex slider to display attached images
  • bw_jq and bw_pages for a cycling display
  • bw_jq with pullquote

Plugins

  • All Plugins
  • oik base plugin
  • FREE oik plugins
  • WordPress plugins
  • Premium oik plugins

Themes

  • FREE themes
  • Bespoke themes
  • Premium themes

Blocks

  • All Blocks
  • Block examples
  • About Blocks

Shortcodes

  • All Shortcodes
  • Shortcode examples
  • About Shortcodes

Reference

  • About APIs
  • All APIs
  • All Classes
  • All Files
  • All Hooks

Support

  • Contact
  • Cookies policy
  • Get API key
  • Privacy
  • Request support
  • Sitemap
  • Stay informed
  • Terms and Conditions
oik-plugins
Email: oikplug@oik-plugins.com

Weight shipping plugins

Find out which cart weight shipping plugin you need for your WooCommerce site.
Which cart weight based plugin do I need?

Site:  www.oik-plugins.com
© Copyright oik-plugins 2011-2025. All rights reserved.


Website designed and developed by Herb Miller of Bobbing Wide
Proudly powered by WordPress and oik-plugins

WordPress version: 6.8.3

Gutenberg version: 21.7.0

PHP version: 8.2.29