Modules

Modules are a special jblank features

You can find the list of available modules in WP Admin : Plugins> Modules

They areĀ not plugins :

  • they are never active or deactivated;
  • they will do nothing unless called explicitely.
  • they store nothing in DB
  • they load nothing unless called (stylesheet, scripts …)

They are more like shortcodes, but with structured code.

They always have to be :

  • Created, using load_module(‘modulename’) (–> returns Module object)
  • Setup, using ->setup() function, with optional arguments
  • ouptut, using ->output().

You can ouput a module several times.

example :
load_module(‘breadcrumbs’)->setup()->output()

Used modules by default on jblank:

  • Breadcrumbs

Ready to use

  • Accordion (‘accordion’). Demo
  • Isotope (‘isotope’). Demo ->
  • JSocial (‘jsocial). Demo ->
  • Modal (‘modal’). Demo
  • Slick Slider (‘slick’). Demo
  • Splide Slider (‘splide’). Demo
  • SVG Icons (‘svg-icons’). Demo