[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

bw_jq and bw_pages for a cycling display

If you want to show a cycling display of content you can use bw_pages to display the content and bw_jq to cause jQuery cycle to cycle through the content. Here we use bw_pages to display the title, date and attached image of the 5 most recently published plugins ( post_type=oik-plugins ).

[div class=w60p5]<h3>Latest plugins</h3>
[bw_jq .cycle method=cycle fx=fade script=cycle.all fit=1 width="100%" ]
[div class=cycle][bw_pages post_type=oik-plugins post_parent=0 orderby=date order=DESC numberposts=5 thumbnail=full format="L dI"][ediv][ediv]
 
oik-events – Create and display Events Date: January 23, 2025
Field block for ACF PRO Date: July 9, 2023
gbcptedit – Gutenberg Custom Post Type edit Date: January 19, 2022
oik-unloader – deactivate plugins on demand Date: October 26, 2021
SB Post Edit block Date: May 6, 2021
Styling of the display is performed using the following CSS.
div.cycle { width: 95% !important; padding-left: 2.5%; padding-right: 2.5%;  min-height: 350px !important; position:relative; background: #ffffff;}
div.cycle img { max-width: 95% !important; border:1px solid gray; margin:3px 2.5% 3px 2.5%; padding: 0; }
span.bw_date { display: block; float:right; padding-right: 2.5%; font-size: 90%; }
span.bw_date span.label, span.bw_date span.sep { display: none; }
div.cycle a.bw_post { font-weight: bold; font-size: 110%; padding-left: 2.5%; }
 

See also

  • The [bw_cycle] shortcode, available since oik v2.1, is a much easier shortcode to use.
  • Use [bw_css] to style the display to suit your needs

Published: November 18, 2014 | Last updated: November 18, 2014

Information

Shortcode: bw_jq – Perform a jQuery method
Letters:

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 with pullquote
  • Using [bw_jq] to display images with flexslider jQuery

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