Bobbing Wide Web Design Blog

WordPress blog

  • plugins
    • Calendars and Events
      • Calendar plugin
      • The Events Calendar
        • Experiences with the-events-calendar
        • Events calendars on Windows servers
    • Contact forms
      • 6 Contact form WordPress plugins compared
        • Jetpack contact form –

        • Contact Form 7 – [contact-form-7]
        • oik contact form – [bw_contact_form]
    • custom header images
    • Extended Page Lists
    • Featured post widget
    • Galleries and slideshows
      • Fancybox slideshows
      • NextGEN gallery
      • Slideshow gallery pro
      • oik-nivo-slider – [nivo] shortcode for jQuery Nivo slider
        • oik banner image
        • oik-nivo-slider plugin banner
        • oik-nivo-slider banner page 2
      • Slideshow satellite
    • Membership plugins
    • Membership
    • mp3 media player plugins
      • wpaudio-mp3-player – mp3 player
      • audio – HTML 5 mp3 player
    • Page list plugins
    • Rating and voting plugins
    • Redirect plugins
    • Spam checking plugins
    • underConstruction
    • Twitter plugins
      • Twitter feed plugins
    • WordPress Multisite domain mapping
    • WP-table-reloaded
    • How to examples
      • Video
        • Artist on film – Xandrien Thiel
        • Susan Cowe interviewed on Portsmouth Live TV
      • Slideshow Gallery Pro – page 2
      • Slideshow Gallery Pro [ custom=1]
      • [EPL] simplest implementation
      • EPL shortcode and STC Tweet button
  • About
    • About Herb
    • About Bobbing Wide by Caravan
  • Contact us
    • Find us on Google Maps
  • Sitemap
  • All Plugins
  • All Themes
  • Blog
You are here: Home / WordPress plugins / oik – a Bobbing Wide plugin / oik-sidebar plugin

oik-sidebar plugin

The oik-sidebar plugin is special code for people using Artisteer themes who also want to use the Widget Wrangler plugin. In How to control which widget appears on a particular page (on the Bobbing Wide web development blog) I documented the work I did to get the Widget Wrangler plugin to work within an Artisteer (2.6) theme. I have now done the same for Artisteer 3.0.

Extract from oik-sidebar plugin comments

Note: for this plugin to do anything you need to do the following:
  • change your Artisteer theme to call bw_dynamic_sidebar instead of art_dynamic_sidebar
  • install the Widget Wrangler plugin
  • define Widget Wrangler sidebars for each dynamic sidebar you want to control
  • The sidebar names you may use are:
    • Artisteer 2.6
      • default_before
      • default_after
      • secondary_before
      • secondary_after
    • Artisteer 3
      • as for Artisteer 2.6 plus you can have _before and/or _after versions for the other sidebars: top, top2, bottom, bottom2, footer, footer2, footer3 and footer4

To change all new Artisteer themes

It’s possible to change the Artisteer source files so that you only have to make the change once. Any newly generated themes will automatically include the required code (if activated). To do this change the Library\data\templates\WordPress\Export\files\library\sidebars.php file to invoke the  bw_dynamic_sidebar function if the  oik-sidebar plugin is installed and activated. <code> function art_get_dynamic_sidebar_data($name) { global $art_widget_args, $art_sidebars; if (!function_exists(‘dynamic_sidebar’)) return false; ob_start(); if (function_exists( ‘bw_dynamic_sidebar’ )) { $success = bw_dynamic_sidebar( $name ); } else { $success = dynamic_sidebar($art_sidebars[$name][‘id’]); } </code>

Do you have examples of this in action?

All in good time… I’ve just realised I don’t actually know how to do this for category displays!

Published: February 11, 2011 | Last updated: February 4, 2015

About

  • Home
  • About
  • Contact us
  • Sitemap
  • Privacy notice

Contents

  • All Plugins
  • All Themes

Follow Me

Email: herb@bobbingwide.com


Bobbing Wide

Site:  bobbingwidewebdesign.com
© Copyright Bobbing Wide 2010-2021. All rights reserved.


Website designed and developed by Herb Miller of Bobbing Wide
Proudly powered by WordPress and oik-plugins
WordPress 5.7. PHP: 7.2.34. Memory limit: 768M
Bobbing Wide